Hello everyone,
I have come across an issue where the metric unit for the default query panel graph is being displayed incorrectly for some of the panels in the dashboard which are using the same configuration.
The correct units the panels should display the data are MB/s and PB. Instead the unit for some of the panels I am having issues with, including newly created ones, is being displayed in TiB, and I can’t seem to be able to change it no matter what.
The version of Grafana I am using is v6.0.1 (0c44a04). Below is the JSON code which shows two panels, one which is displaying the metric unit in the correct format, “test_dev Total Rate of Change”, and another one which is displaying it incorrectly, “test_dev Total Usage”.
I appreciate your help.
"stack": false,
"steppedLine": false,
"targets": [
{
"application": {
"filter": "Filesystem"
},
"functions": [],
"group": {
"filter": "test1 nodes - backend"
},
"host": {
"filter": "remote-test1-Cluster-Monitor"
},
"item": {
"filter": "/.*test_dev - used_total/"
},
"mode": 0,
"options": {
"showDisabledItems": false,
"skipEmptyValues": false
},
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
},
{
"application": {
"filter": "Filesystem"
},
"functions": [],
"group": {
"filter": "test1 nodes - backend"
},
"hide": false,
"host": {
"filter": "remote-test1-Cluster-Monitor"
},
"item": {
"filter": "/.*test_dev - available_total/"
},
"mode": 0,
"options": {
"showDisabledItems": false,
"skipEmptyValues": false
},
"refId": "B",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "test_dev Total Usage",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "bytes",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "decbits",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 12,
"x": 12,
"y": 184
},
"id": 80,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"paceLength": 10,
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"stack": false,
"steppedLine": false,
"targets": [
{
"application": {
"filter": "Filesystem"
},
"functions": [
{
"def": {
"category": "Transform",
"defaultParams": [
100
],
"name": "scale",
"params": [
{
"name": "factor",
"options": [
100,
0.01,
10,
-1
],
"type": "float"
}
]
},
"params": [
"0.003333"
],
"text": "scale(0.003333)"
},
{
"def": {
"category": "Transform",
"defaultParams": [],
"name": "delta",
"params": []
},
"params": [],
"text": "delta()"
}
],
"group": {
"filter": "test1 nodes - backend"
},
"host": {
"filter": "remote-test1-Cluster-Monitor"
},
"item": {
"filter": "/.*test_dev - used_total/"
},
"mode": 0,
"options": {
"showDisabledItems": false,
"skipEmptyValues": false
},
"refId": "B",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "test_dev Total Rate of Change",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "Bps",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "decbits",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 12,
"x": 0,
"y": 190
},
"id": 83,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": false,
"min": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"paceLength": 10,
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/.*available_total/",
"color": "#C4162A",
"fill": 0
}
],