integrated agent role

This commit is contained in:
nd 2020-05-22 14:47:56 +02:00
parent 688b134522
commit c677a02fde
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
4 changed files with 62 additions and 0 deletions

17
defaults/main.yml Normal file
View file

@ -0,0 +1,17 @@
prometheus:
config:
global:
scrape_interval: 15s
evaluation_interval: 15s
external_labels:
monitor: 'example'
alerting:
alertmanagers:
- static_configs:
- targets: ['localhost:9093']
rule_files:
scrape_configs:
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9090']