Create dedicated metric for owner_node

Signed-off-by: Alexandre JARDON <28548335+webalexeu@users.noreply.github.com>
This commit is contained in:
Alexandre JARDON
2024-02-16 08:42:25 +01:00
parent eab87292c1
commit 9b5568354c
5 changed files with 115 additions and 62 deletions

View File

@@ -36,7 +36,7 @@ Name | Description | Type | Labels
### Example metric
Query the state of all cluster resource owned by node1
```
windows_mscluster_resource_state{owner_node="node1"}
windows_mscluster_resource_owner_node{node_name="node1"}
```
## Useful queries

View File

@@ -34,7 +34,7 @@ Name | Description | Type | Labels
### Example metric
Query the state of all cluster group owned by node1
```
windows_mscluster_resourcegroup_state{owner_node="node1"}
windows_mscluster_resourcegroup_owner_node{node_name="node1"}
```
## Useful queries