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

pg_stat_database_active_time missing #956

Closed
marekaf opened this issue Nov 15, 2023 · 1 comment
Closed

pg_stat_database_active_time missing #956

marekaf opened this issue Nov 15, 2023 · 1 comment

Comments

@marekaf
Copy link

marekaf commented Nov 15, 2023

Hi!

I have the stat_database collector enabled (by default) but I don't see pg_stat_database_active_time. According to

// You may obtain a copy of the License at
it seems like active_time is not exposed.

What would be the best option for me to add it?

  • Adding it via a custom query is deprecated and queries.yaml example is empty (queries.yaml is empty #955).
  • Submit a PR to expose this metric? I'm happy to do it, I hope it will be useful for more ppl.
    Thanks!
@sitole
Copy link
Contributor

sitole commented Nov 20, 2023

Imeplemented here #961

@marekaf marekaf closed this as completed Jan 26, 2024
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

2 participants