diff --git a/brian_dashboard_manager/templating/helpers.py b/brian_dashboard_manager/templating/helpers.py index a5cb297b0bb9ed587420ecb9164cbbe2993271c4..4834f30cdc004618d2b75f36e2672caf962335a3 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'] diff --git a/brian_dashboard_manager/templating/templates/shared/yaxes.json.j2 b/brian_dashboard_manager/templating/templates/shared/yaxes.json.j2 index aa25fccdcd908e6d885277d952e228eab8f8019d..94e4555f92e15d1cb3bd91f7c988b73255a74ffe 100644 --- a/brian_dashboard_manager/templating/templates/shared/yaxes.json.j2 +++ b/brian_dashboard_manager/templating/templates/shared/yaxes.json.j2 @@ -1,7 +1,7 @@ {% if type == 'errors' %} { "format": "none", - "label": "err/s", + "label": "errors and discards per second", "logBase": 1, "max": null, "min": 0, @@ -9,7 +9,7 @@ }, { "format": "none", - "label": "err/s", + "label": "errors and discards per second", "logBase": 1, "max": null, "min": 0, @@ -32,4 +32,4 @@ "min": "", "show": true } -{% endif %} \ No newline at end of file +{% endif %} diff --git a/changelog.md b/changelog.md index bef8515bc35a2e0e63769b27e8adb338e04af14d..8d1f69b99bbc9012612de89dcad50822f61809ad 100644 --- a/changelog.md +++ b/changelog.md @@ -2,6 +2,9 @@ All notable changes to this project will be documented in this file. +## [0.29] - 2021-11-23 +- POL1-480: Discards added to error graphs + ## [0.28] - 2021-11-02 - changed group by '5m' window diff --git a/setup.py b/setup.py index 8730d55a7f37a70cf5b3f69064638d8553bd2e5b..2b894bff3fe61cc98fb3b46b5b51ea7f0415fecc 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages setup( name='brian-dashboard-manager', - version="0.28", + version="0.29", author='GEANT', author_email='swd@geant.org', description='',