Closed schewara closed 3 years ago
Setting up Monitoring for a standalone postgres container fails, as the cruncy-postgres-exporter requires a shell script which is only available as part of the postgres-ha container image.
cruncy-postgres-exporter
postgres-ha
/opt/crunchy/bin/postgres-ha/pgbackrest/pgbackrest_info.sh
The log from postgres_exporter.go:1356: shows the following error
postgres_exporter.go:1356
"Error running query on database \"mydb:5432\": ccp_backrest_oldest_full_backup pq: program \"/opt/crunchy/bin/postgres-ha/pgbackrest/pgbackrest_info.sh 6991185832398311480\" failed"
To Reproduce Steps to reproduce the behavior:
ccp_backrest_xxx
Expected behavior Enabling pgbackrest and monitoring in the container should have all dependencies included and not throw errors
Container Versions
Setting up Monitoring for a standalone postgres container fails, as the
cruncy-postgres-exporter
requires a shell script which is only available as part of thepostgres-ha
container image./opt/crunchy/bin/postgres-ha/pgbackrest/pgbackrest_info.sh
The log from
postgres_exporter.go:1356
: shows the following errorTo Reproduce Steps to reproduce the behavior:
ccp_backrest_xxx
metrics are missing and the errors above shown in the exporter logsExpected behavior Enabling pgbackrest and monitoring in the container should have all dependencies included and not throw errors
Container Versions