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.
frigate-exporter
Dustin 2024-10-13 20:01:19 -05:00
parent 87b9014721
commit a0c5ffc869
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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