updated integration of agent
This commit is contained in:
parent
c677a02fde
commit
588fe344f1
6 changed files with 121 additions and 13 deletions
6
templates/scrape_self.conf.j2
Normal file
6
templates/scrape_self.conf.j2
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
- job_name: 'prometheus'
|
||||
static_configs:
|
||||
- targets: ['localhost:9090']
|
||||
relabel_configs:
|
||||
- replacement: '{{ inventory_hostname }}'
|
||||
target_label: instance
|
||||
Loading…
Add table
Add a link
Reference in a new issue