Scrape healthchecks.io with prometheus and use it for outbound monitoring of prometheus scrapes

This commit is contained in:
Jake Howard
2022-12-05 14:40:52 +00:00
parent 8e3b381b8d
commit ed7faf4678
5 changed files with 66 additions and 31 deletions

View File

@ -8,7 +8,7 @@
chdir: /opt/prometheus
cmd: "{{ docker_update_command }}"
- name: restart telegraf
- name: reload prometheus
shell:
chdir: /opt/telegraf
cmd: "{{ docker_update_command }}"
chdir: /opt/prometheus
cmd: docker-compose exec prometheus kill -HUP 1