Skip to content
Snippets Groups Projects
Commit c03a43f8 authored by Bjarke Madsen's avatar Bjarke Madsen
Browse files

Remove *8 multiplier from error/discard fields

parent e2243e01
No related branches found
No related tags found
No related merge requests found
......@@ -247,6 +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
}
error_fields = [('Ingress Errors', 'errorsIn'),
......
......@@ -31,17 +31,19 @@
{
"params": [],
"type": "mean"
},
}
{% else %}
{
"params": [95],
"type": "percentile"
},
}
{% endif %}
{
{% if bits %}
,{
"params": ["*8"],
"type": "math"
}
{% endif %}
]
],
"tags": [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment