canonical / postgresql-k8s-operator

A Charmed Operator for running PostgreSQL on Kubernetes
https://charmhub.io/postgresql-k8s
Apache License 2.0
10 stars 20 forks source link

Request: Export Prometheus Metric for backups #393

Open amandahla opened 9 months ago

amandahla commented 9 months ago

Description

We create backups in PostgreSQL via action create-backup as a shell script in crontab.

It would be nice to have a way to monitor via Prometheus if backup failed or not as well as a backup counter.

github-actions[bot] commented 9 months ago

https://warthogs.atlassian.net/browse/DPE-3588

taurus-forever commented 8 months ago

Dear @amandahla, thank you for the request!

Please find my reply in VM charm: https://github.com/canonical/postgresql-operator/issues/356#issuecomment-1961322035 We have the same story here.