forked from prometheus-community/postgres_exporter
-
Notifications
You must be signed in to change notification settings - Fork 1
Master fetch #39
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
Master fetch #39
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Harkishen Singh <[email protected]>
This metric can be very expensive to store in prometheus and has the potential to create an unreasonably large cardinality set of metrics so warn the user. Signed-off-by: Joe Adams <[email protected]>
Signed-off-by: Joe Adams <[email protected]>
Signed-off-by: Alex Vandiver <[email protected]>
Getting the error when adding non-root postgres user for exporter: ``` postgres=# CREATE OR REPLACE FUNCTION get_pg_stat_statements() RETURNS SETOF pg_stat_statements AS postgres-# $$ SELECT * FROM public.pg_stat_statements; $$ postgres-# LANGUAGE sql postgres-# VOLATILE postgres-# SECURITY DEFINER; ERROR: type "pg_stat_statements" does not exist ``` Add following sql command for enable pg_stat_statements: ``` CREATE EXTENSION IF NOT EXISTS pg_stat_statements; ``` Signed-off-by: Xela Tirdan <[email protected]>
…SQL versions 10 or newer. Signed-off-by: juris.greitans <[email protected]>
Signed-off-by: Michael Banck <[email protected]>
…about pre-defined roles. Signed-off-by: juris.greitans <[email protected]>
Signed-off-by: t-inoue <[email protected]>
…log-level Fix broken log-level for values other than debug.
* [BUGFIX] Fix broken log-level for values other than debug. prometheus-community#560 Signed-off-by: SuperQ <[email protected]>
Signed-off-by: Joe Adams <[email protected]>
…maintainer Add @sysadmind as a maintainer
…/superq/0.10.1 Release 0.10.1
Signed-off-by: Daniel Swarbrick <[email protected]>
…res-spelling Fix misspelling of PostgreSQL
Reference here: https://grafana.com/docs/agent/latest/configuration/integrations/postgres-exporter-config/ Also, matches the environment variables section. Signed-off-by: Alex Ruddick <[email protected]>
Clarify default values for CLI flags
prometheus-community#258 Document running as non-superuser on PostgreSQL versions 10 or newer.
…mment Add a warning for pg_stat_statements
…chiver-version change version for pg_stat_archiver
Avoid parsing error from bogus Azure Flexible Server custom GUC
Converts the pg_database metrics from queries.yaml to a built in collector. This is enabled by default because it is not likely to be a performance problem and likely very useful data. Signed-off-by: Joe Adams <[email protected]>
Signed-off-by: Joe Adams <[email protected]>
Signed-off-by: Joe Adams <[email protected]>
Add error prone SQL in README.md
Remove misplaced and duplicated phrase in README
Uses node_exporter style collector registration Signed-off-by: Joe Adams <[email protected]>
Signed-off-by: Joe Adams <[email protected]>
Add pg_database collector
Update rc file to reflect newer args
This moves the metrics that are queried from pg_stat_bgwriter into a dedicated collector instead of dynamically generating queries and metrics from a map. It renames some metrics including adding the `_total` suffix on all of the counters to match prometheus standards. This implementation uses QueryRowContext to allow for later addition of context for cancellation. From the Postgres documentation, it states that there is one line per WAL sender process, but it is unclear how to differentiate between them in any meaningful way. When querying the table, there is no column to identify the row, only metrics about bgwriter. Signed-off-by: Joe Adams <[email protected]>
Signed-off-by: Joe Adams <[email protected]>
…writer_refactor refactor pg_stat_bgwriter metrics into standalone collector
Signed-off-by: Angus Dippenaar <[email protected]>
Signed-off-by: Antoine Barbare <[email protected]>
Sanitize setting values because of Aurora irregularity
Signed-off-by: Paweł Krupa (paulfantom) <[email protected]>
Changing severity to align with mixin recommendations from https://github.com/monitoring-mixins/docs#guidelines-for-alert-names-labels-and-annotations Signed-off-by: Paweł Krupa (paulfantom) <[email protected]>
Signed-off-by: Paweł Krupa (paulfantom) <[email protected]>
postgres_mixin: jsonnetify mixin
Signed-off-by: Paweł Krupa (paulfantom) <[email protected]>
postgres_mixin/alerts: fix incorrect promql aggregation
* Update to Go 1.18. * Update minimum Go version to 1.17. * Update Go modules for 1.17 format. * Bump Go modules * Enable dependabot. * Update Prometheus common files. * Fixup yamllint. Signed-off-by: SuperQ <[email protected]>
…/superq/update_build Update build
Signed-off-by: prombot <[email protected]>
…/repo_sync Synchronize common files from prometheus/prometheus
Signed-off-by: prombot <[email protected]>
It looks like postgres 14.1 was added to CI here: prometheus-community@fcb2535 See also: prometheus-community#651 (comment) Signed-off-by: Austin Godber <[email protected]>
Update readme to include Postgres 14 support
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.