Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Export Prometheus Metric for backups #356

Open
amandahla opened this issue Feb 15, 2024 · 2 comments
Open

Request: Export Prometheus Metric for backups #356

amandahla opened this issue Feb 15, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@amandahla
Copy link

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.

@amandahla amandahla added the bug Something isn't working label Feb 15, 2024
Copy link
Contributor

@taurus-forever
Copy link
Contributor

Hi @amandahla , thank you for reaching us!

Our current design is to print clear and verbose log messages on default INFO level informing users about Successful and Failed backups (e.g. here on MySQL). Further all logs sent by COS to Loki and Alert rules can be triggered for the failed case clearly. Is this approach OK with you?

BTW @dragomirp , @marceloneppel I do not see the same commits for PostgreSQL (K8s), did we miss them OR they were part of initial implementation? This is something we need to check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants