chore(alloy): Add prometheus node_exporter scraper
This commit is contained in:
parent
a62f3db699
commit
d837168234
1 changed files with 6 additions and 2 deletions
|
|
@ -462,8 +462,6 @@ data:
|
|||
}
|
||||
|
||||
prometheus.relabel "node_exporter" {
|
||||
forward_to = [prometheus.remote_write.default.receiver]
|
||||
|
||||
rule {
|
||||
action = "replace"
|
||||
target_label = "node"
|
||||
|
|
@ -471,6 +469,12 @@ data:
|
|||
}
|
||||
}
|
||||
|
||||
prometheus.scrape "node_exporter" {
|
||||
targets = [prometheus.relabel.node_exporter]
|
||||
forward_to = [prometheus.remote_write.default.receiver]
|
||||
job_name = "node_exporter"
|
||||
}
|
||||
|
||||
prometheus.scrape "prometheus" {
|
||||
targets = [{
|
||||
__address__ = "localhost:9090",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue