Closed paulfantom closed 4 years ago
This can be done by properly implementing https://godoc.org/github.com/prometheus/client_golang/prometheus#NewBuildInfoCollector with conjunction of -X
build variables (those are usually set by promu).
When transitioning to go modules I forgot to correctly address the version
package. This has been fixed with a recent commit and will be included in a release I cut very soon.
Currently (tarball from release 0.6.0) exporter shows metric:
which doesn't populate either
branch
norversion
labels. It would be nice if at leastversion
was exposed.