Skip to content

Commit 925f138

Browse files
committed
metadata doc
1 parent fd8629c commit 925f138

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/HealthRules.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ The label `netobserv: "true"` is required.
146146
The annotation `netobserv_io_network_health` is optional, and gives you some control on how the alert renders in the Health page. It is a JSON string that consists in:
147147
- `namespaceLabels`: one or more labels that hold namespaces. When provided, the alert will show up under the "Namespaces" tab.
148148
- `nodeLabels`: one or more labels that hold node names. When provided, the alert will show up under the "Nodes" tab.
149-
- `ownerLabels`: one or more labels that hold owner/workload names. When provided, the alert will show up under the "Owners" tab.
149+
- `workloadLabels`: one or more labels that hold owner/workload names. When provided alongside with `kindLabels`, the alert will show up under the "Owners" tab.
150+
- `kindLabels`: one or more labels that hold owner/workload kinds. When provided alongside with `workloadLabels`, the alert will show up under the "Owners" tab.
150151
- `threshold`: the alert threshold as a string, expected to match the one defined in PromQL.
151152
- `unit`: the data unit, used only for display purpose.
152153
- `upperBound`: an upper bound value used to compute score on a closed scale. It doesn't necessarily have to be a maximum of the metric values, but metric values will be clamped if they are above the upper bound.

0 commit comments

Comments
 (0)