From 7948e99c1e56b50d74c091c93df37a8f5e82c128 Mon Sep 17 00:00:00 2001
From: Robert Latta <robert.latta@geant.org>
Date: Thu, 4 Nov 2021 17:24:32 +0000
Subject: [PATCH] added discards to error panels. POL1-509

---
 brian_dashboard_manager/templating/helpers.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/brian_dashboard_manager/templating/helpers.py b/brian_dashboard_manager/templating/helpers.py
index a5cb297..4834f30 100644
--- a/brian_dashboard_manager/templating/helpers.py
+++ b/brian_dashboard_manager/templating/helpers.py
@@ -250,7 +250,9 @@ def get_panel_fields(panel, panel_type, datasource):
         }
 
     error_fields = [('Ingress Errors', 'errorsIn'),
-                    ('Egress Errors', 'errorsOut')]
+                    ('Egress Errors', 'errorsOut'),
+                    ('Ingress Discards', 'discardsIn'),
+                    ('Egress Discards', 'discardsOut')]
 
     ingress = ['Ingress Traffic', 'Ingress 95th Percentile']
     egress = ['Egress Traffic', 'Egress 95th Percentile']
-- 
GitLab