Skip to content

Commit 105494a

Browse files
authored
Merge pull request #87823 from skrthomas/OSDOCS-13259
OSDOCS-13258: Update FlowMetrics API 1.8
2 parents 680468d + f912290 commit 105494a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

modules/network-observability-flowmetric-api-specifications.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,11 @@ When set to `Egress`, it is equivalent to adding the regular expression filter o
107107
be used to eliminate duplicates: `Duplicate != "true"` and `FlowDirection = "0"`.
108108
Refer to the documentation for the list of available fields: https://docs.openshift.com/container-platform/latest/observability/network_observability/json-flows-format-reference.html.
109109

110+
| `flatten`
111+
| `array (string)`
112+
| `flatten` is a list of list-type fields that must be flattened, such as Interfaces and NetworkEvents. Flattened fields generate one metric per item in that field.
113+
For instance, when flattening `Interfaces` on a bytes counter, a flow having Interfaces [br-ex, ens5] increases one counter for `br-ex` and another for `ens5`.
114+
110115
| `labels`
111116
| `array (string)`
112117
| `labels` is a list of fields that should be used as Prometheus labels, also known as dimensions.

0 commit comments

Comments
 (0)