configure metric scraping from knot on auth-dns
Some checks failed
/ Ansible Lint (push) Failing after 6m12s
Some checks failed
/ Ansible Lint (push) Failing after 6m12s
This commit is contained in:
parent
291ebce943
commit
50beedbc62
7 changed files with 56 additions and 0 deletions
6
resources/chaosknoten/auth-dns/alloy/knot-exporter.alloy
Normal file
6
resources/chaosknoten/auth-dns/alloy/knot-exporter.alloy
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
prometheus.scrape "knot_exporter" {
|
||||
targets = [
|
||||
{"__address__" = "localhost:9433", "instance" = "{{ ansible_facts['hostname'] }}"},
|
||||
]
|
||||
forward_to = [ prometheus.relabel.chaosknoten_common.receiver ]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue