Skip to content

Added metrics for locks, pg_stat_replication and pg_stat_activity #2

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

Merged
merged 1 commit into from
Feb 3, 2016

Conversation

knut-ytterhaug
Copy link

Added metrics for locks, pg_stat_replication and pg_stat_activity.

Added support to be able to collect metrics from more complex queries.

Added guide in README.md if you want to run as non-superuser.

@wrouesnel
Copy link
Contributor

This looks good! Could you run gofmt over the file and squash it into 1 commit.

Added metrics for locks per database per mode, pg_stat_activity, pg_stat_replication.
Updated README.md with possible solution for running as non-superuser.
@knut-ytterhaug
Copy link
Author

Thank you for responding!

gofmt did change quite a few lines. It looks better now.

@0x46616c6b
Copy link

+1

@wrouesnel wrouesnel merged commit 7e8fbdf into prometheus-community:master Feb 3, 2016
@wrouesnel
Copy link
Contributor

Finally an opportunity to sit down and test it - all looks good so merged. This also closes #1 is believe.

gsstark pushed a commit to gsstark/postgres_exporter that referenced this pull request Oct 1, 2020
Sticksman pushed a commit to Sticksman/postgres_exporter that referenced this pull request Apr 24, 2025
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 this pull request may close these issues.

3 participants