From 69c9ee840ab66c05a7547ec24a48425135d04702 Mon Sep 17 00:00:00 2001 From: Joel Takvorian Date: Mon, 9 Oct 2023 10:20:10 +0200 Subject: [PATCH] NETOBSERV-1344: include inner traffic in metrics Requires https://github.com/netobserv/flowlogs-pipeline/pull/478 --- .../metrics_definitions/namespace_egress_bytes_total.yaml | 2 +- .../metrics_definitions/namespace_egress_packets_total.yaml | 2 +- .../metrics_definitions/namespace_ingress_bytes_total.yaml | 2 +- .../metrics_definitions/namespace_ingress_packets_total.yaml | 2 +- .../metrics_definitions/node_egress_bytes_total.yaml | 2 +- .../metrics_definitions/node_egress_packets_total.yaml | 2 +- .../metrics_definitions/node_ingress_bytes_total.yaml | 2 +- .../metrics_definitions/node_ingress_packets_total.yaml | 2 +- .../metrics_definitions/workload_egress_bytes_total.yaml | 2 +- .../metrics_definitions/workload_egress_packets_total.yaml | 2 +- .../metrics_definitions/workload_ingress_bytes_total.yaml | 2 +- .../metrics_definitions/workload_ingress_packets_total.yaml | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/controllers/flowlogspipeline/metrics_definitions/namespace_egress_bytes_total.yaml b/controllers/flowlogspipeline/metrics_definitions/namespace_egress_bytes_total.yaml index c86e208dc..b7ff03e85 100644 --- a/controllers/flowlogspipeline/metrics_definitions/namespace_egress_bytes_total.yaml +++ b/controllers/flowlogspipeline/metrics_definitions/namespace_egress_bytes_total.yaml @@ -18,7 +18,7 @@ encode: valuekey: Bytes filters: - key: FlowDirection - value: "1" + value: "1|2" - key: Duplicate value: "false" labels: diff --git a/controllers/flowlogspipeline/metrics_definitions/namespace_egress_packets_total.yaml b/controllers/flowlogspipeline/metrics_definitions/namespace_egress_packets_total.yaml index 292a349fe..6ff8db25c 100644 --- a/controllers/flowlogspipeline/metrics_definitions/namespace_egress_packets_total.yaml +++ b/controllers/flowlogspipeline/metrics_definitions/namespace_egress_packets_total.yaml @@ -18,7 +18,7 @@ encode: valuekey: Packets filters: - key: FlowDirection - value: "1" + value: "1|2" - key: Duplicate value: "false" labels: diff --git a/controllers/flowlogspipeline/metrics_definitions/namespace_ingress_bytes_total.yaml b/controllers/flowlogspipeline/metrics_definitions/namespace_ingress_bytes_total.yaml index 82332300f..b268de698 100644 --- a/controllers/flowlogspipeline/metrics_definitions/namespace_ingress_bytes_total.yaml +++ b/controllers/flowlogspipeline/metrics_definitions/namespace_ingress_bytes_total.yaml @@ -18,7 +18,7 @@ encode: valuekey: Bytes filters: - key: FlowDirection - value: "0" + value: "0|2" - key: Duplicate value: "false" labels: diff --git a/controllers/flowlogspipeline/metrics_definitions/namespace_ingress_packets_total.yaml b/controllers/flowlogspipeline/metrics_definitions/namespace_ingress_packets_total.yaml index 4b9c0bcd3..ae883a70c 100644 --- a/controllers/flowlogspipeline/metrics_definitions/namespace_ingress_packets_total.yaml +++ b/controllers/flowlogspipeline/metrics_definitions/namespace_ingress_packets_total.yaml @@ -18,7 +18,7 @@ encode: valuekey: Packets filters: - key: FlowDirection - value: "0" + value: "0|2" - key: Duplicate value: "false" labels: diff --git a/controllers/flowlogspipeline/metrics_definitions/node_egress_bytes_total.yaml b/controllers/flowlogspipeline/metrics_definitions/node_egress_bytes_total.yaml index 99f3a8164..6bd600b84 100644 --- a/controllers/flowlogspipeline/metrics_definitions/node_egress_bytes_total.yaml +++ b/controllers/flowlogspipeline/metrics_definitions/node_egress_bytes_total.yaml @@ -18,7 +18,7 @@ encode: valuekey: Bytes filters: - key: FlowDirection - value: "1" + value: "1|2" - key: Duplicate value: "false" labels: diff --git a/controllers/flowlogspipeline/metrics_definitions/node_egress_packets_total.yaml b/controllers/flowlogspipeline/metrics_definitions/node_egress_packets_total.yaml index 488b0850d..000fb5f91 100644 --- a/controllers/flowlogspipeline/metrics_definitions/node_egress_packets_total.yaml +++ b/controllers/flowlogspipeline/metrics_definitions/node_egress_packets_total.yaml @@ -18,7 +18,7 @@ encode: valuekey: Packets filters: - key: FlowDirection - value: "1" + value: "1|2" - key: Duplicate value: "false" labels: diff --git a/controllers/flowlogspipeline/metrics_definitions/node_ingress_bytes_total.yaml b/controllers/flowlogspipeline/metrics_definitions/node_ingress_bytes_total.yaml index 14d704030..b295d6289 100644 --- a/controllers/flowlogspipeline/metrics_definitions/node_ingress_bytes_total.yaml +++ b/controllers/flowlogspipeline/metrics_definitions/node_ingress_bytes_total.yaml @@ -18,7 +18,7 @@ encode: valuekey: Bytes filters: - key: FlowDirection - value: "0" + value: "0|2" - key: Duplicate value: "false" labels: diff --git a/controllers/flowlogspipeline/metrics_definitions/node_ingress_packets_total.yaml b/controllers/flowlogspipeline/metrics_definitions/node_ingress_packets_total.yaml index 303b8d7c2..3e5768ca3 100644 --- a/controllers/flowlogspipeline/metrics_definitions/node_ingress_packets_total.yaml +++ b/controllers/flowlogspipeline/metrics_definitions/node_ingress_packets_total.yaml @@ -18,7 +18,7 @@ encode: valuekey: Packets filters: - key: FlowDirection - value: "0" + value: "0|2" - key: Duplicate value: "false" labels: diff --git a/controllers/flowlogspipeline/metrics_definitions/workload_egress_bytes_total.yaml b/controllers/flowlogspipeline/metrics_definitions/workload_egress_bytes_total.yaml index ee57a10c0..b7b72677d 100644 --- a/controllers/flowlogspipeline/metrics_definitions/workload_egress_bytes_total.yaml +++ b/controllers/flowlogspipeline/metrics_definitions/workload_egress_bytes_total.yaml @@ -18,7 +18,7 @@ encode: valuekey: Bytes filters: - key: FlowDirection - value: "1" + value: "1|2" - key: Duplicate value: "false" labels: diff --git a/controllers/flowlogspipeline/metrics_definitions/workload_egress_packets_total.yaml b/controllers/flowlogspipeline/metrics_definitions/workload_egress_packets_total.yaml index 3caa7de0f..5f86fb638 100644 --- a/controllers/flowlogspipeline/metrics_definitions/workload_egress_packets_total.yaml +++ b/controllers/flowlogspipeline/metrics_definitions/workload_egress_packets_total.yaml @@ -18,7 +18,7 @@ encode: valuekey: Packets filters: - key: FlowDirection - value: "1" + value: "1|2" - key: Duplicate value: "false" labels: diff --git a/controllers/flowlogspipeline/metrics_definitions/workload_ingress_bytes_total.yaml b/controllers/flowlogspipeline/metrics_definitions/workload_ingress_bytes_total.yaml index e372f7204..1ae93d1d0 100644 --- a/controllers/flowlogspipeline/metrics_definitions/workload_ingress_bytes_total.yaml +++ b/controllers/flowlogspipeline/metrics_definitions/workload_ingress_bytes_total.yaml @@ -18,7 +18,7 @@ encode: valuekey: Bytes filters: - key: FlowDirection - value: "0" + value: "0|2" - key: Duplicate value: "false" labels: diff --git a/controllers/flowlogspipeline/metrics_definitions/workload_ingress_packets_total.yaml b/controllers/flowlogspipeline/metrics_definitions/workload_ingress_packets_total.yaml index 8e122f2e2..948975a64 100644 --- a/controllers/flowlogspipeline/metrics_definitions/workload_ingress_packets_total.yaml +++ b/controllers/flowlogspipeline/metrics_definitions/workload_ingress_packets_total.yaml @@ -18,7 +18,7 @@ encode: valuekey: Packets filters: - key: FlowDirection - value: "0" + value: "0|2" - key: Duplicate value: "false" labels: