postgres_exporter
postgres_exporter copied to clipboard
postgres_exporter shows wrong version
When checking postgres_exporter version in http output it shows value 0.0.1 on the latest buld. As I can see this version is defined in variables in https://github.com/wrouesnel/postgres_exporter/blob/master/cmd/postgres_exporter/postgres_exporter.go on line 41 & 44. Can you please fix this.
Note: postgres_exporter --version
prints correct version. But metric postgres_exporter_build_info
show wrong value.
The latest build from postgres_exporter-0.9.0.linux-amd64.tar.gz
reports postgres_exporter 0.0.1-rev (built with go1.15.8)
when you run postgres_exporter --version
. Have not deployed it yet to check what postgres_exporter_build_info
shows.
Current version I'm running reports postgres_exporter v0.8.0-4-g3ecfd46 (built with go1.11.2)
at the command line, and version="0.0.1"
for the metric.
This is fixed by https://github.com/prometheus-community/postgres_exporter/pull/494, but we haven't cut a new release.
@SuperQ There's been a release (0.10.0) since, so this should be closed.