Highlights
- Add the static
sonic_exporter_build_infometric with version, revision, branch, Go version, OS, architecture, and build tags. - Add
sonic-exporter --versionfor direct binary and container identification. - Stamp release archives and container images with version, revision, and build date metadata.
- Build release artifacts with Go 1.26.7 while keeping Go 1.25.13 as the minimum supported version.
- Test application compatibility on Go 1.25.13 and Go 1.27.x.
Operational impact
sonic_exporter_build_info is one static metric with value 1. It performs no Redis, file, command, or cache work. This release does not change collector defaults or deployment requirements.
Builds without linker metadata report unknown rather than empty version fields. Official archives and images report version 0.6.0 and the release commit.
Validation
- Go tests passed on the minimum, release, and forward-compatibility toolchains.
golangci-lint,govulncheck, Gitleaks, dashboard validation, and Docker image smoke checks passed.- The exact Go 1.26.7 binary and build-info metric were validated on SONiC before release.
- Release checksums, SBOMs, and build provenance attestations are published with the artifacts.
Upgrade
Use immutable version references for deployment:
- Container:
ghcr.io/premday/sonic-exporter:v0.6.0 - Archive:
sonic-exporter_0.6.0_linux_amd64.tar.gz
Keep v0.5.0 available until v0.6.0 passes endpoint, collector-health, and host-filesystem checks in your environment.
Full changelog: v0.5.0...v0.6.0