Commit Graph

677 Commits

Author SHA1 Message Date
Joe Adams
99446791e4
Merge pull request #567 from xelatirdan/patch-1
Add error prone SQL in README.md
2022-02-09 22:21:17 -05:00
Joe Adams
53b24d7a33 Update rc file to reflect newer args
Signed-off-by: Joe Adams <github@joeadams.io>
2022-02-09 22:16:39 -05:00
Joe Adams
1981623d9d
Add missing server label
Signed-off-by: Joe Adams <github@joeadams.io>
2022-02-09 21:56:48 -05:00
Joe Adams
21a19ed252
Add pg_database collector
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 <github@joeadams.io>
2022-02-09 21:28:40 -05:00
Joe Adams
3880df4f64
Merge pull request #587 from credativ/azure-ff-fix
Avoid parsing error from bogus Azure Flexible Server custom GUC
2022-02-09 15:30:32 -05:00
Joe Adams
6253ddb79a
Merge pull request #599 from pitan/fix/pg_stat_archiver-version
change version for pg_stat_archiver
2022-02-04 13:05:46 -05:00
Ben Kochie
cbc41f5b97
Merge pull request #561 from sysadmind/pg-stat-comment
Add a warning for pg_stat_statements
2022-01-27 17:59:02 +01:00
Joe Adams
c0ca2fd0c9
Merge pull request #590 from juris-greitans/master
#258 Document running as non-superuser on PostgreSQL versions 10 or newer.
2022-01-26 10:07:23 -05:00
Joe Adams
968de5f511
Merge pull request #604 from alexrudd2/patch-1
Clarify default values for CLI flags
2022-01-19 09:45:45 -05:00
Alex
b10a7b7d3b
Clarify default values for CLI flags
Reference here: https://grafana.com/docs/agent/latest/configuration/integrations/postgres-exporter-config/
Also, matches the environment variables section.

Signed-off-by: Alex Ruddick <a.ruddick@numat-tech.com>
2022-01-18 12:18:09 -06:00
pitan
adaa0b5e32
Merge branch 'prometheus-community:master' into fix/pg_stat_archiver-version 2022-01-17 17:04:00 +09:00
Ben Kochie
922d2aae39
Merge pull request #602 from dswarbrick/fix-postgres-spelling
Fix misspelling of PostgreSQL
2022-01-16 21:14:26 +01:00
Daniel Swarbrick
99f0b4c63c
Fix misspelling of PostgreSQL
Signed-off-by: Daniel Swarbrick <daniel.swarbrick@gmail.com>
2022-01-16 19:55:11 +01:00
Ben Kochie
6cff384d74
Merge pull request #600 from prometheus-community/superq/0.10.1
Release 0.10.1
2022-01-14 18:19:04 +01:00
Ben Kochie
7a102ae381
Merge pull request #601 from sysadmind/sysadmind-maintainer
Add @sysadmind as a maintainer
2022-01-14 18:17:04 +01:00
Joe Adams
7f357bc89e
Add @sysadmind as a maintainer
Signed-off-by: Joe Adams <github@joeadams.io>
2022-01-14 11:30:09 -05:00
SuperQ
fcb2535aff
Release 0.10.1
* [BUGFIX] Fix broken log-level for values other than debug. #560

Signed-off-by: SuperQ <superq@gmail.com>
2022-01-14 17:27:06 +01:00
Ben Kochie
017e060f2f
Merge pull request #560 from Harkishen-Singh/fix-log-level
Fix broken log-level for values other than debug.
2022-01-14 17:11:21 +01:00
t-inoue
21c9b0d80d change version for pg_stat_archiver
Signed-off-by: t-inoue <t-inoue@sakura.ad.jp>
2022-01-11 13:48:48 +09:00
juris.greitans
7c76896aa8 Fix issues mentioned in review. Add link to PostgreSQL documentation about pre-defined roles.
Signed-off-by: juris.greitans <juris.greitans@visma.com>
2021-11-29 13:13:14 +02:00
Michael Banck
5d6e42935d Avoid parsing error from bogus Azure Flexible Server custom GUC
Signed-off-by: Michael Banck <michael.banck@credativ.de>
2021-11-20 19:37:29 +01:00
juris.greitans
545c3b7eba #258 Document running as non-superuser on PostgreSQL versions 10 or newer.
Signed-off-by: juris.greitans <juris.greitans@visma.com>
2021-11-17 12:44:59 +02:00
Julien Pivotto
0977e96b56
Merge pull request #573 from mhagander/typofixes
Fix typos in README
2021-09-09 12:20:31 +02:00
Xela
20aefc2e15 Add some SQL in README.md
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 <xelatirdan@gmail.com>
2021-09-08 21:35:23 +03:00
Magnus Hagander
d9435b4c80 Fix typos in README
Signed-off-by: Magnus Hagander <magnus@hagander.net>
2021-08-24 13:28:32 +02:00
Alex Vandiver
d9a081d6d9 Remove misplaced and duplicated phrase in README
Signed-off-by: Alex Vandiver <alex@chmrr.net>
2021-08-02 11:43:20 -07:00
Joe Adams
d9eb99555b
Adjust comment to WARNING
Signed-off-by: Joe Adams <github@joeadams.io>
2021-07-15 21:54:39 -04:00
Joe Adams
cd98cf7c33
Add a warning for pg_stat_statements
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 <github@joeadams.io>
2021-07-15 21:51:25 -04:00
Harkishen Singh
c1ab341279 Fix broken log-level for values other than debug.
Signed-off-by: Harkishen Singh <harkishensingh@hotmail.com>
2021-07-14 16:19:00 +05:30
Ben Kochie
57719ba53c
Merge pull request #555 from sysadmind/release-v0.10.0
Release v0.10.0
2021-07-09 13:37:56 +02:00
Joe Adams
820c05b747
Revert go version change
Signed-off-by: Joe Adams <github@joeadams.io>
2021-07-08 09:31:06 -04:00
Joe Adams
7fdb019811
Bump date for release
Signed-off-by: Joe Adams <github@joeadams.io>
2021-07-08 09:16:57 -04:00
Joe Adams
c6632ab1e4
Rollback lib/pq to v1.10.1 for illumos compatability
Signed-off-by: Joe Adams <github@joeadams.io>
2021-07-07 16:54:36 -04:00
Joe Adams
08fd458df0
Update dependencies and fix tests
Signed-off-by: Joe Adams <github@joeadams.io>
2021-07-07 09:52:56 -04:00
Joe Adams
59623d5709
Release v0.10.0
Signed-off-by: Joe Adams <github@joeadams.io>
2021-07-06 21:36:32 -04:00
Ben Kochie
df461c2f9a
Merge pull request #552 from sysadmind/refactor-files
Refactor code into logical files
2021-07-04 18:03:31 +02:00
Joe Adams
bc981e66c3 Refactor code into logical files
Moves code into more manageable, logical files to group behavior together. This should help improve a developer's ability to navigate the code.

Signed-off-by: Joe Adams <github@joeadams.io>
2021-07-01 16:49:08 -04:00
Ben Kochie
134e908885
Merge pull request #537 from halvaborsch/halvaborsch-replication-slot-patch-1
Fix replication_slot query all supported versions
2021-06-10 11:27:16 +02:00
Dmitry F
29f6fa1891 Fix replication_slot query all supported versions
Signed-off-by: Филатов Дмитрий <d.filatov@2gis.ru>
2021-06-01 18:59:35 +07:00
Ben Kochie
e43b9767f9
Merge pull request #525 from desaintmartin/master
fix examples queries: change idle process metric name in order not to override built-in pg_stat_activity.
2021-05-10 09:01:02 +02:00
Cédric de Saint Martin
9804c6069c fix examples queries: change idle process metric name in order not to override built-in pg_stat_activity.
Signed-off-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr>
2021-04-28 13:32:36 +02:00
Ben Kochie
677d38bc5d
Merge pull request #521 from pvanderlinden/fix-auto-discovery
fix parsing include databases
2021-04-19 15:34:53 +02:00
Paul van der Linden
bc97291103 basic integration test
Signed-off-by: Paul van der Linden <mail@paultjuh.org>
2021-04-19 15:20:53 +02:00
Paul van der Linden
ffa6782e41 fix parsing include databases
Signed-off-by: Paul van der Linden <mail@paultjuh.org>
2021-04-17 12:05:28 +02:00
Ben Kochie
cbc6ae3c59
Merge pull request #519 from prometheus-community/superq/issue_template
Add GitHub issue templates
2021-04-15 20:57:17 +02:00
Ben Kochie
6549456a5e
Merge pull request #520 from prometheus-community/repo_sync
Synchronize common files from prometheus/prometheus
2021-04-15 09:12:07 +02:00
prombot
230d762ee6 Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2021-04-15 00:02:11 +00:00
Ben Kochie
ef5851b80f
Add GitHub issue templates
Add templates to point users towards the community support channels.

Signed-off-by: Ben Kochie <superq@gmail.com>
2021-04-12 09:31:34 +02:00
Ben Kochie
1dc210476e
Merge pull request #506 from prometheus-community/repo_sync
Synchronize common files from prometheus/prometheus
2021-03-25 17:19:18 +01:00
Ben Kochie
64f0e9c654
Add NOTICE file with copyright information.
Signed-off-by: Ben Kochie <superq@gmail.com>
2021-03-25 10:49:50 +01:00