implemented job metrics

This commit is contained in:
Julian Rother 2021-05-01 16:17:52 +02:00
parent 503e9b69a1
commit 1c11148374
No known key found for this signature in database
GPG key ID: 2F811E2338EE029B
5 changed files with 115 additions and 25 deletions

View file

@ -17,6 +17,15 @@ defaults:
weekday: "{{ range(6)|list }}"
hour: "{{ range(1, 22)|list }}"
minute: "{{ range(5, 50)|list }}"
# Enable metrics for all jobs with node-exporter:
# * cron_job_last_run_seconds
# * cron_job_exit_code
# * cron_job_duration_seconds
# * cron_job_next_run_seconds
# * cron_job_last_success_seconds
# Label "name" is set to the job name (key in jobs dict)
enable_monitoring: True
```
**jobconfig**