Skip to content
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

Column active_time missing in postgres < 14 #1044

Closed
MarcWort opened this issue Jun 11, 2024 · 1 comment · Fixed by #1045
Closed

Column active_time missing in postgres < 14 #1044

MarcWort opened this issue Jun 11, 2024 · 1 comment · Fixed by #1045

Comments

@MarcWort
Copy link
Contributor

As @dbakit already said in #961 (comment) active_time is only available on postgres >=14.

Maybe there is a need for versioning pg versions in the collector package?

@sysadmind
Copy link
Contributor

There is support for versions in the collector package. The instance struct has the postgres version for comparison.

https://github.com/prometheus-community/postgres_exporter/blob/master/collector/instance.go

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

Successfully merging a pull request may close this issue.

2 participants