-
Notifications
You must be signed in to change notification settings - Fork 436
postgres_exporter: expose stat_statements.include_query #4372
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
postgres_exporter: expose stat_statements.include_query #4372
Conversation
…Serrano/alloy into ss/postgres_exporter-flags
@dehaansa Hello, I would be very happy to have a review from you 😊 |
docs/sources/reference/components/prometheus/prometheus.exporter.postgres.md
Outdated
Show resolved
Hide resolved
internal/static/integrations/postgres_exporter/postgres_exporter.go
Outdated
Show resolved
Hide resolved
docs/sources/reference/components/prometheus/prometheus.exporter.postgres.md
Outdated
Show resolved
Hide resolved
docs/sources/reference/components/prometheus/prometheus.exporter.postgres.md
Outdated
Show resolved
Hide resolved
docs/sources/reference/components/prometheus/prometheus.exporter.postgres.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Clayton Cornell <[email protected]>
Co-authored-by: Clayton Cornell <[email protected]>
…Serrano/alloy into ss/postgres_exporter-flags
internal/static/integrations/postgres_exporter/postgres_exporter.go
Outdated
Show resolved
Hide resolved
internal/static/integrations/postgres_exporter/postgres_exporter.go
Outdated
Show resolved
Hide resolved
Co-authored-by: Cristian Greco <[email protected]>
@SimonSerrano there are some failing tests in |
Alright, I am fixing the failing test and we should be good 😁 |
…es exporter integration config
Thanks for looking into it. CI is still red unfortunately, there are a few more things that need to be updated I guess. |
internal/converter/internal/staticconvert/testdata-v2/integrations_v2.alloy
Outdated
Show resolved
Hide resolved
…ents by default" This reverts commit 2bc5c1a.
…er components of same types grafana#4004
docs/sources/reference/components/prometheus/prometheus.exporter.postgres.md
Outdated
Show resolved
Hide resolved
…atch other components of same types grafana#4004" This reverts commit 672fadc.
Make `StatStatementFlags` optional
PR Description
Which issue(s) this PR fixes
Fixes #4004
Notes to the Reviewer
To fix this, the code heavily relies on Kingpin and the naming of the argument on the upstream repo https://github.com/prometheus-community/postgres_exporter. This is the best I could come up with without changing the upstream first. If you have another approach given your experience, I will happily change this PR.
PR Checklist