prometheus-pve-exporter fix
This commit is contained in:
parent
6d3260e717
commit
32ea826a58
1 changed files with 4 additions and 8 deletions
|
@ -46,16 +46,12 @@
|
|||
forward_to = [prometheus.remote_write.default.receiver]
|
||||
|
||||
rule {
|
||||
source_labels = [ __address__ ]
|
||||
target_label = __param_target
|
||||
}
|
||||
rule {
|
||||
source_labels = [ __param_target ]
|
||||
target_label = instance
|
||||
source_labels = [ "__param_target" ]
|
||||
target_label = "instance"
|
||||
}
|
||||
rule {
|
||||
target_label = __address__
|
||||
replacement = "pve-exporter:9221"
|
||||
target_label = "__address__"
|
||||
replacement = "pve-exporter"
|
||||
}
|
||||
}
|
||||
'';
|
||||
|
|
Loading…
Add table
Reference in a new issue