From 1e043fb7ad5034b75f2d264eeb79a681bbbf0225 Mon Sep 17 00:00:00 2001 From: "Mohamed S. Mahmoud" Date: Tue, 16 Apr 2024 06:56:41 -0400 Subject: [PATCH] NETOBSERV-1605: add flow filter to ebpf agent dashboard (#617) Signed-off-by: Mohamed Mahmoud --- pkg/dashboards/health.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/dashboards/health.go b/pkg/dashboards/health.go index ec127b376..ad5e16c4c 100644 --- a/pkg/dashboards/health.go +++ b/pkg/dashboards/health.go @@ -76,6 +76,9 @@ func CreateHealthDashboard(netobsNs string) (string, error) { NewGraphPanel("Errors per minute", PanelUnitShort, 4, true, []Target{ NewTarget(`sum(increase(netobserv_agent_errors_total[1m])) by (component, error)`, "{{component}} {{error}}"), }), + NewGraphPanel("Filtered flows rate", PanelUnitShort, 4, false, []Target{ + NewTarget("sum(rate(netobserv_agent_filtered_flows_total[1m])) by (source, reason)", "{{source}} {{reason}}"), + }), })) // Operator stats