implemented job metrics
This commit is contained in:
parent
503e9b69a1
commit
1c11148374
5 changed files with 115 additions and 25 deletions
|
|
@ -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**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue