integrated agent role
This commit is contained in:
parent
688b134522
commit
c677a02fde
4 changed files with 62 additions and 0 deletions
17
defaults/main.yml
Normal file
17
defaults/main.yml
Normal 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']
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue