1
0
mirror of https://github.com/prometheus-community/postgres_exporter.git synced 2025-04-19 23:22:18 +03:00

13 Commits

Author SHA1 Message Date
Daniel Binkhuysen
81f9c78d61
fix pg_database_size_bytes metric in queries.yaml (#357)
Co-authored-by: Will Rouesnel <wrouesnel@wrouesnel.com>
2020-02-25 22:57:22 +11:00
sfalkon
deac1c37db fix master database behavior 2019-11-20 10:18:20 +11:00
Will Rouesnel
bb0870c562 Rename pg_database_size to pg_database_size_bytes 2019-11-01 00:29:32 +11:00
Will Rouesnel
698fdb7873 Add pg_stat_statements to sample queries.yml file. 2019-11-01 00:29:32 +11:00
Will Rouesnel
34fdb69ee2
Add support for optional namespace caching. (#319)
In the user queries.yml file, the created namespaces can now be optionally
cached by setting cache_seconds, which will prevent the query being re-run
within that timeframe if previous results are available.

Supercedes #211, credit to @SamSaffron for the original PR.
2019-11-01 00:17:31 +11:00
Wolfgang Schnerring
b33c2f9349 Provide more helpful default values for tables that have never been vacuumed (#310)
Returning a (long gone) timestamp does the right thing for alerting
PromQL queries ("alert if older than"), while `NaN` is rather intractable.
2019-10-30 14:55:48 +11:00
Rick van Hattem
486345d8fd No need to truncate replication lag to integers 2019-07-01 08:44:04 +10:00
Daniel Bäurer
42f9de480a Added pg_statio_user_tables 2018-09-22 15:48:36 +10:00
Giancarlo Rubio
1afbd62ab1 Sample for database size (#76) 2017-07-26 22:53:16 +10:00
Adam Sunderland
1fa394d488 Remove pg_settings query examples
These fields are now automatically scraped so they will conflict if they are accidentally specified.
2017-04-24 00:01:39 -10:00
Nick Cabatoff
511ef0eacd fix a bug in the query to fetch shared_buffers setting 2016-09-07 16:55:41 -04:00
Nick Cabatoff
64f5d9ac0f Document -extend.query-path in README. Add more examples to queries.yaml. 2016-09-07 15:15:52 -04:00
Reda NOUSHI
1d383291eb Add sample queries file 2016-06-28 23:57:13 +00:00