mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-10-23 21:19:05 +02:00
collector: name instance labels after the entity they identify (#2744)
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
@@ -164,7 +164,7 @@ Some Objects like `Memory` do not have instances to select from at all. In this
|
||||
|
||||
#### instance_label
|
||||
|
||||
The name of the label that holds the instance name. Optional and defaults to `instance`.
|
||||
The name of the label that holds the instance name. Optional and defaults to `object_instance`. Do not use `instance`: it collides with the target label that Prometheus adds.
|
||||
|
||||
The label is only added if `instances` is set.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user