Skip to content
Snippets Groups Projects
Unverified Commit fa2528a0 authored by micah's avatar micah :speech_balloon:
Browse files

Add basic prometheus metrics for backup status.

This requires that `prometheus-node-exporter` is installed.

If `reportprom` is set, then during the reporting phase, metrics will be written
to `${prom_textfile_dir}/backupninja.prom`, which will then be available for
scraping by prometheus.

The metrics simply report the hostname and the number of actions run, the number
of warnings, errors, fails, and halts that were produced in the backup run.

These are written to the prometheus-node-exporter directory in an atomic way.
parent 5cc80402
No related branches found
No related tags found
1 merge request!55Add basic prometheus metrics for backup status.
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment