backup-restore-operator icon indicating copy to clipboard operation
backup-restore-operator copied to clipboard

Add prometheus metrics to backups

Open erdeerdeerde opened this issue 1 year ago • 2 comments

Hello, I would like to monitor the backups with prometheus. As far as i could see there are no metrics available.

Specifically i would be interested in:

  • When was the last backup executed.
  • Was the last backup successful?
  • What is the size of the last backup.

Would it be possible to add those metrics?

Thanks for your great work!

erdeerdeerde avatar May 08 '23 18:05 erdeerdeerde

Hi. Any news about this feature?

gcezaralmeida avatar Jun 29 '23 22:06 gcezaralmeida

@gcezaralmeida - I've added Backup/Restore metrics to https://github.com/David-VTUK/prometheus-rancher-exporter if you're willing to try it and provide feedback that would be great!

Example dashboard:

image

(I'm a Suse employee but work on this as a side project in an unofficial capacity.)

David-VTUK avatar Jul 19 '23 18:07 David-VTUK