Skip to content

postgres_exporter shows wrong version #442

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
bon3o opened this issue Oct 6, 2020 · 4 comments
Open

postgres_exporter shows wrong version #442

bon3o opened this issue Oct 6, 2020 · 4 comments

Comments

@bon3o
Copy link

bon3o commented Oct 6, 2020

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.

@mrkeuz
Copy link

mrkeuz commented Jan 31, 2021

Note: postgres_exporter --version prints correct version. But metric postgres_exporter_build_info show wrong value.

@mcwanek
Copy link

mcwanek commented Mar 16, 2021

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.

@SuperQ
Copy link
Contributor

SuperQ commented Mar 16, 2021

This is fixed by #494, but we haven't cut a new release.

@mbanck
Copy link
Contributor

mbanck commented Nov 26, 2021

@SuperQ There's been a release (0.10.0) since, so this should be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants