diff --git a/brian_dashboard_manager/templating/helpers.py b/brian_dashboard_manager/templating/helpers.py index fb2375fb03331dba331e8ef79321067ef0af66fc..fbd95d2f62b85b007639cd7859f3357071a4564e 100644 --- a/brian_dashboard_manager/templating/helpers.py +++ b/brian_dashboard_manager/templating/helpers.py @@ -247,7 +247,7 @@ def get_panel_fields(panel, panel_type, datasource): 'refId': next(letters), 'select_field': field, 'percentile': 'percentile' in alias.lower(), - 'bits': panel_type != 'errors' # used to remove *8 on value + 'errors': panel_type == 'errors' # used to remove *8 on value } error_fields = [('Ingress Errors', 'errorsIn'), diff --git a/brian_dashboard_manager/templating/templates/shared/panel_target.json.j2 b/brian_dashboard_manager/templating/templates/shared/panel_target.json.j2 index 933435eac77702ecb681abca6c2a049a34d13472..c3534c113d8c2da805e9b27b41e5f5a32ec002b7 100644 --- a/brian_dashboard_manager/templating/templates/shared/panel_target.json.j2 +++ b/brian_dashboard_manager/templating/templates/shared/panel_target.json.j2 @@ -38,7 +38,7 @@ "type": "percentile" } {% endif %} - {% if bits %} + {% if not errors %} ,{ "params": ["*8"], "type": "math" diff --git a/changelog.md b/changelog.md index 0a81ee1063fb39b15b75bc5de9389925ecf1229a..320d466e138958dcd45fe59c665506c1c89fe712 100644 --- a/changelog.md +++ b/changelog.md @@ -2,7 +2,10 @@ All notable changes to this project will be documented in this file. -## [0.30] - 2021-11-24 +## [0.32] - 2021-12-14 +- Fix bug with field *8 multiplier introduced for aggregate graphs + +## [0.31] - 2021-11-24 - Update API key handling to support Grafana 8.2 ## [0.30] - 2021-11-24 diff --git a/setup.py b/setup.py index 8b35217a0465b3b612ee68cb5a03ed3df5092129..73e45a1d0c97b42515dd02f5cac93500d12c095a 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages setup( name='brian-dashboard-manager', - version="0.31", + version="0.32", author='GEANT', author_email='swd@geant.org', description='',