postgresql: Collect Wal-G metrics with statsd_exporter
_wal-g_ can send StatsD metrics when it completes an upload/backup/etc. task. Using the `statsd_exporter`, we can capture these metrics and make them available to Victoria Metrics.
This commit is contained in:
@@ -59,3 +59,4 @@ wal_g_pg_config:
|
|||||||
WALG_S3_PREFIX: s3://pgbackup/pyrocufflink/main/15
|
WALG_S3_PREFIX: s3://pgbackup/pyrocufflink/main/15
|
||||||
AWS_ENDPOINT: https://s3.backups.pyrocufflink.blue
|
AWS_ENDPOINT: https://s3.backups.pyrocufflink.blue
|
||||||
PGHOST: /run/postgresql
|
PGHOST: /run/postgresql
|
||||||
|
WALG_STATSD_ADDRESS: localhost:9125
|
||||||
|
|||||||
@@ -8,6 +8,9 @@
|
|||||||
- role: wal-g-pg
|
- role: wal-g-pg
|
||||||
tags:
|
tags:
|
||||||
- wal-g
|
- wal-g
|
||||||
|
- role: statsd-exporter
|
||||||
|
tags:
|
||||||
|
- statsd-exporter
|
||||||
- postgresql-server
|
- postgresql-server
|
||||||
- role: postgres-exporter
|
- role: postgres-exporter
|
||||||
tags: postgres-exporter
|
tags: postgres-exporter
|
||||||
|
|||||||
Reference in New Issue
Block a user