Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kj800x/ec00a430d178c7468c689ebffae43ac3 to your computer and use it in GitHub Desktop.
Save kj800x/ec00a430d178c7468c689ebffae43ac3 to your computer and use it in GitHub Desktop.
Grafana Millibars bug
{
"panels": [
{
"datasource": {
"type": "grafana",
"uid": "grafana"
},
"description": "",
"fieldConfig": {
"defaults": {
"custom": {
"drawStyle": "line",
"lineInterpolation": "smooth",
"barAlignment": 0,
"lineWidth": 2,
"fillOpacity": 40,
"gradientMode": "opacity",
"spanNulls": true,
"showPoints": "never",
"pointSize": 5,
"stacking": {
"mode": "none",
"group": "A"
},
"axisPlacement": "auto",
"axisLabel": "",
"axisColorMode": "text",
"scaleDistribution": {
"type": "linear"
},
"axisCenteredZero": false,
"hideFrom": {
"tooltip": false,
"viz": false,
"legend": false,
"graph": false
},
"thresholdsStyle": {
"mode": "off"
}
},
"color": {
"mode": "palette-classic"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "pressurembar"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "backend_01"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "purple",
"mode": "palette-classic"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "backend_02"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "green",
"mode": "palette-classic"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "backend_02"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "blue",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "web_server_01"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#EF843C",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "web_server_02"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#EAB839",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "web_server_03"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#508642",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "web_server_04"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#E24D42",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 13,
"w": 15,
"x": 0,
"y": 0
},
"id": 2,
"maxDataPoints": 400,
"options": {
"tooltip": {
"mode": "multi",
"sort": "none"
},
"legend": {
"showLegend": true,
"displayMode": "list",
"placement": "right",
"calcs": []
}
},
"pluginVersion": "8.0.0-beta1",
"targets": [
{
"refId": "A",
"datasource": {
"type": "grafana",
"uid": "grafana"
},
"queryType": "snapshot",
"snapshot": [
{
"schema": {
"name": "backend_01",
"fields": [
{
"name": "Time",
"type": "time",
"config": {}
},
{
"name": "Value",
"type": "number",
"config": {
"displayNameFromDS": "backend_01"
}
}
]
},
"data": {
"values": [
[
1684602550000,
1684602560000,
1684602570000,
1684602580000,
1684602590000,
1684602600000,
1684602610000,
1684602620000,
1684602630000,
1684602640000,
1684602650000,
1684602660000,
1684602670000,
1684602680000,
1684602690000,
1684602700000,
1684602710000,
1684602720000,
1684602730000,
1684602740000,
1684602750000,
1684602760000,
1684602770000,
1684602780000,
1684602790000,
1684602800000,
1684602810000,
1684602820000,
1684602830000,
1684602840000,
1684602850000,
1684602860000,
1684602870000,
1684602880000,
1684602890000,
1684602900000,
1684602910000,
1684602920000,
1684602930000,
1684602940000,
1684602950000,
1684602960000,
1684602970000,
1684602980000,
1684602990000,
1684603000000,
1684603010000,
1684603020000,
1684603030000,
1684603040000,
1684603050000,
1684603060000,
1684603070000,
1684603080000,
1684603090000,
1684603100000,
1684603110000,
1684603120000,
1684603130000,
1684603140000,
1684603150000,
1684603160000,
1684603170000,
1684603180000,
1684603190000,
1684603200000,
1684603210000,
1684603220000,
1684603230000,
1684603240000,
1684603250000,
1684603260000,
1684603270000,
1684603280000,
1684603290000,
1684603300000,
1684603310000,
1684603320000,
1684603330000,
1684603340000,
1684603350000,
1684603360000,
1684603370000,
1684603380000,
1684603390000,
1684603400000,
1684603410000,
1684603420000,
1684603430000,
1684603440000,
1684603450000,
1684603460000,
1684603470000,
1684603480000,
1684603490000,
1684603500000,
1684603510000,
1684603520000,
1684603530000,
1684603540000,
1684603550000,
1684603560000,
1684603570000,
1684603580000,
1684603590000,
1684603600000,
1684603610000,
1684603620000,
1684603630000,
1684603640000,
1684603650000,
1684603660000,
1684603670000,
1684603680000,
1684603690000,
1684603700000,
1684603710000,
1684603720000,
1684603730000,
1684603740000,
1684603750000,
1684603760000,
1684603770000,
1684603780000,
1684603790000,
1684603800000,
1684603810000,
1684603820000,
1684603830000,
1684603840000,
1684603850000,
1684603860000,
1684603870000,
1684603880000,
1684603890000,
1684603900000,
1684603910000,
1684603920000,
1684603930000,
1684603940000,
1684603950000,
1684603960000,
1684603970000,
1684603980000,
1684603990000,
1684604000000,
1684604010000,
1684604020000,
1684604030000,
1684604040000,
1684604050000,
1684604060000,
1684604070000,
1684604080000,
1684604090000,
1684604100000,
1684604110000,
1684604120000,
1684604130000,
1684604140000,
1684604150000,
1684604160000,
1684604170000,
1684604180000,
1684604190000,
1684604200000,
1684604210000,
1684604220000,
1684604230000,
1684604240000,
1684604250000,
1684604260000,
1684604270000,
1684604280000,
1684604290000,
1684604300000,
1684604310000,
1684604320000,
1684604330000,
1684604340000,
1684604350000,
1684604360000,
1684604370000,
1684604380000,
1684604390000,
1684604400000,
1684604410000,
1684604420000,
1684604430000,
1684604440000,
1684604450000,
1684604460000,
1684604470000,
1684604480000,
1684604490000,
1684604500000,
1684604510000,
1684604520000,
1684604530000,
1684604540000,
1684604550000,
1684604560000,
1684604570000,
1684604580000,
1684604590000,
1684604600000,
1684604610000,
1684604620000,
1684604630000,
1684604640000,
1684604650000,
1684604660000,
1684604670000,
1684604680000,
1684604690000,
1684604700000,
1684604710000,
1684604720000,
1684604730000,
1684604740000,
1684604750000,
1684604760000,
1684604770000,
1684604780000,
1684604790000,
1684604800000,
1684604810000,
1684604820000,
1684604830000,
1684604840000,
1684604850000,
1684604860000,
1684604870000,
1684604880000,
1684604890000,
1684604900000,
1684604910000,
1684604920000,
1684604930000,
1684604940000,
1684604950000,
1684604960000,
1684604970000,
1684604980000,
1684604990000,
1684605000000,
1684605010000,
1684605020000,
1684605030000,
1684605040000,
1684605050000,
1684605060000,
1684605070000,
1684605080000,
1684605090000,
1684605100000,
1684605110000,
1684605120000,
1684605130000,
1684605140000,
1684605150000,
1684605160000,
1684605170000,
1684605180000,
1684605190000,
1684605200000,
1684605210000,
1684605220000,
1684605230000,
1684605240000,
1684605250000,
1684605260000,
1684605270000,
1684605280000,
1684605290000,
1684605300000,
1684605310000,
1684605320000,
1684605330000,
1684605340000,
1684605350000,
1684605360000,
1684605370000,
1684605380000,
1684605390000,
1684605400000,
1684605410000,
1684605420000,
1684605430000,
1684605440000,
1684605450000,
1684605460000,
1684605470000,
1684605480000,
1684605490000,
1684605500000,
1684605510000,
1684605520000,
1684605530000,
1684605540000,
1684605550000,
1684605560000,
1684605570000,
1684605580000,
1684605590000,
1684605600000,
1684605610000,
1684605620000,
1684605630000,
1684605640000,
1684605650000,
1684605660000,
1684605670000,
1684605680000,
1684605690000,
1684605700000,
1684605710000,
1684605720000,
1684605730000,
1684605740000,
1684605750000,
1684605760000,
1684605770000,
1684605780000,
1684605790000,
1684605800000,
1684605810000,
1684605820000,
1684605830000,
1684605840000,
1684605850000,
1684605860000,
1684605870000,
1684605880000,
1684605890000,
1684605900000,
1684605910000,
1684605920000,
1684605930000,
1684605940000,
1684605950000,
1684605960000,
1684605970000,
1684605980000,
1684605990000,
1684606000000,
1684606010000,
1684606020000,
1684606030000,
1684606040000,
1684606050000,
1684606060000,
1684606070000,
1684606080000,
1684606090000,
1684606100000,
1684606110000,
1684606120000,
1684606130000,
1684606140000
],
[
25.5,
24.900000000000002,
28.6,
22.6,
26.3,
24.700000000000003,
29.6,
21.3,
29.3,
23,
30.200000000000003,
30.400000000000002,
30.5,
24.700000000000003,
30.6,
21.8,
28.8,
19.700000000000003,
30.700000000000003,
18.5,
24.5,
24.1,
31.6,
29.3,
32.5,
22.5,
29.400000000000002,
23.6,
28.5,
21.5,
28.5,
26.3,
30,
24.6,
29.200000000000003,
24.3,
29.6,
22.900000000000002,
27.6,
24.400000000000002,
28.5,
23.900000000000002,
28.3,
22.5,
26.1,
24.700000000000003,
29.3,
24.700000000000003,
29.8,
20,
27.200000000000003,
23.400000000000002,
27.400000000000002,
24.5,
28.1,
17.8,
26.5,
19.5,
22.1,
17.7,
24.400000000000002,
24.200000000000003,
30.400000000000002,
22.8,
28.3,
31.700000000000003,
30.5,
27.700000000000003,
29.8,
27.1,
28.700000000000003,
26.3,
32.5,
25.900000000000002,
28.3,
24.8,
32.800000000000004,
24.8,
28.1,
22.700000000000003,
29.3,
25.200000000000003,
25.200000000000003,
23.200000000000003,
25.5,
22.3,
27,
21.1,
26.3,
21,
26.900000000000002,
22.200000000000003,
26.700000000000003,
26.400000000000002,
26.700000000000003,
25.400000000000002,
31.8,
22.200000000000003,
21.200000000000003,
23.400000000000002,
25.1,
22.1,
28.8,
28.6,
24.8,
22.700000000000003,
25.400000000000002,
25.8,
28.900000000000002,
22.6,
28.3,
22,
25.400000000000002,
18.3,
8.4,
null,
null,
null,
null,
null,
null,
0.1,
null,
null,
0.30000000000000004,
0.1,
0.2,
1.7000000000000002,
null,
null,
0.2,
2.2,
3.5,
2.2,
6,
23.8,
15.5,
18.900000000000002,
25.700000000000003,
61,
38.1,
34.2,
39.2,
35.2,
41.6,
34.800000000000004,
42.400000000000006,
40.5,
40.7,
37.5,
44.7,
37.7,
39.2,
39.6,
38.400000000000006,
38.400000000000006,
40.1,
25.8,
13.700000000000001,
17.6,
26.1,
17.900000000000002,
20.400000000000002,
22.400000000000002,
26.1,
22.6,
30.1,
38.7,
38.6,
34.2,
29.1,
35,
38.400000000000006,
39.5,
38.1,
35.5,
34.5,
39.800000000000004,
43.2,
36.9,
44.5,
35,
42,
37.7,
24.400000000000002,
15.9,
16.7,
26,
28.5,
19.5,
23,
24.400000000000002,
24.200000000000003,
26.5,
26.5,
23.700000000000003,
27.400000000000002,
22.700000000000003,
26.6,
21.700000000000003,
27.700000000000003,
22.1,
25.200000000000003,
17.8,
23.400000000000002,
21.200000000000003,
24.6,
26.900000000000002,
25.8,
24,
28.3,
22.6,
25.1,
22.3,
24,
24.400000000000002,
26.400000000000002,
22.200000000000003,
29.700000000000003,
23.8,
24.5,
24.200000000000003,
25.400000000000002,
21.400000000000002,
22.5,
19.3,
19.6,
26.8,
21.700000000000003,
25.200000000000003,
23.200000000000003,
28.8,
22.900000000000002,
27.8,
25.6,
27.400000000000002,
21.3,
24.5,
20.1,
26.8,
23.6,
27.5,
21.700000000000003,
26.8,
27.400000000000002,
23.900000000000002,
27.200000000000003,
28.1,
20.900000000000002,
27.900000000000002,
20.5,
27.8,
22.900000000000002,
26.8,
23.200000000000003,
23.6,
20.900000000000002,
26.700000000000003,
24.3,
25.200000000000003,
24.900000000000002,
28,
22,
29.1,
25.6,
30.6,
27.700000000000003,
28.200000000000003,
26.900000000000002,
27.5,
28.700000000000003,
31.200000000000003,
25.1,
30.6,
25.200000000000003,
29.200000000000003,
26.700000000000003,
27.400000000000002,
26.5,
26.700000000000003,
24.200000000000003,
21.6,
21.1,
25,
23.700000000000003,
28,
24.1,
26.200000000000003,
25.6,
28,
24,
27.6,
26.8,
23.1,
24.900000000000002,
22.200000000000003,
19.200000000000003,
23.1,
23.8,
24,
22.900000000000002,
22.5,
21.3,
23.200000000000003,
18.5,
21.400000000000002,
24.700000000000003,
26.200000000000003,
24.3,
24.200000000000003,
25.3,
24.200000000000003,
21.700000000000003,
25.1,
20.6,
25.200000000000003,
26.700000000000003,
23.700000000000003,
21.5,
21.1,
22.900000000000002,
25.400000000000002,
20,
21.700000000000003,
21.200000000000003,
23.1,
25,
24.1,
24.200000000000003,
23.8,
21.700000000000003,
23.200000000000003,
23.3,
30.1,
22.400000000000002,
23.200000000000003,
27.1,
25.900000000000002,
23.700000000000003,
26,
24.8,
24.3,
20.400000000000002,
22.200000000000003,
26,
24.8,
25.6,
19.200000000000003,
24.3,
23.1,
21.700000000000003,
22.5,
21.5,
20.900000000000002,
21.900000000000002,
21.6,
21.1,
19.900000000000002,
20,
18.900000000000002
]
]
}
},
{
"schema": {
"name": "backend_02",
"fields": [
{
"name": "Time",
"type": "time",
"config": {}
},
{
"name": "Value",
"type": "number",
"config": {
"displayNameFromDS": "backend_02"
}
}
]
},
"data": {
"values": [
[
1684602550000,
1684602560000,
1684602570000,
1684602580000,
1684602590000,
1684602600000,
1684602610000,
1684602620000,
1684602630000,
1684602640000,
1684602650000,
1684602660000,
1684602670000,
1684602680000,
1684602690000,
1684602700000,
1684602710000,
1684602720000,
1684602730000,
1684602740000,
1684602750000,
1684602760000,
1684602770000,
1684602780000,
1684602790000,
1684602800000,
1684602810000,
1684602820000,
1684602830000,
1684602840000,
1684602850000,
1684602860000,
1684602870000,
1684602880000,
1684602890000,
1684602900000,
1684602910000,
1684602920000,
1684602930000,
1684602940000,
1684602950000,
1684602960000,
1684602970000,
1684602980000,
1684602990000,
1684603000000,
1684603010000,
1684603020000,
1684603030000,
1684603040000,
1684603050000,
1684603060000,
1684603070000,
1684603080000,
1684603090000,
1684603100000,
1684603110000,
1684603120000,
1684603130000,
1684603140000,
1684603150000,
1684603160000,
1684603170000,
1684603180000,
1684603190000,
1684603200000,
1684603210000,
1684603220000,
1684603230000,
1684603240000,
1684603250000,
1684603260000,
1684603270000,
1684603280000,
1684603290000,
1684603300000,
1684603310000,
1684603320000,
1684603330000,
1684603340000,
1684603350000,
1684603360000,
1684603370000,
1684603380000,
1684603390000,
1684603400000,
1684603410000,
1684603420000,
1684603430000,
1684603440000,
1684603450000,
1684603460000,
1684603470000,
1684603480000,
1684603490000,
1684603500000,
1684603510000,
1684603520000,
1684603530000,
1684603540000,
1684603550000,
1684603560000,
1684603570000,
1684603580000,
1684603590000,
1684603600000,
1684603610000,
1684603620000,
1684603630000,
1684603640000,
1684603650000,
1684603660000,
1684603670000,
1684603680000,
1684603690000,
1684603700000,
1684603710000,
1684603720000,
1684603730000,
1684603740000,
1684603750000,
1684603760000,
1684603770000,
1684603780000,
1684603790000,
1684603800000,
1684603810000,
1684603820000,
1684603830000,
1684603840000,
1684603850000,
1684603860000,
1684603870000,
1684603880000,
1684603890000,
1684603900000,
1684603910000,
1684603920000,
1684603930000,
1684603940000,
1684603950000,
1684603960000,
1684603970000,
1684603980000,
1684603990000,
1684604000000,
1684604010000,
1684604020000,
1684604030000,
1684604040000,
1684604050000,
1684604060000,
1684604070000,
1684604080000,
1684604090000,
1684604100000,
1684604110000,
1684604120000,
1684604130000,
1684604140000,
1684604150000,
1684604160000,
1684604170000,
1684604180000,
1684604190000,
1684604200000,
1684604210000,
1684604220000,
1684604230000,
1684604240000,
1684604250000,
1684604260000,
1684604270000,
1684604280000,
1684604290000,
1684604300000,
1684604310000,
1684604320000,
1684604330000,
1684604340000,
1684604350000,
1684604360000,
1684604370000,
1684604380000,
1684604390000,
1684604400000,
1684604410000,
1684604420000,
1684604430000,
1684604440000,
1684604450000,
1684604460000,
1684604470000,
1684604480000,
1684604490000,
1684604500000,
1684604510000,
1684604520000,
1684604530000,
1684604540000,
1684604550000,
1684604560000,
1684604570000,
1684604580000,
1684604590000,
1684604600000,
1684604610000,
1684604620000,
1684604630000,
1684604640000,
1684604650000,
1684604660000,
1684604670000,
1684604680000,
1684604690000,
1684604700000,
1684604710000,
1684604720000,
1684604730000,
1684604740000,
1684604750000,
1684604760000,
1684604770000,
1684604780000,
1684604790000,
1684604800000,
1684604810000,
1684604820000,
1684604830000,
1684604840000,
1684604850000,
1684604860000,
1684604870000,
1684604880000,
1684604890000,
1684604900000,
1684604910000,
1684604920000,
1684604930000,
1684604940000,
1684604950000,
1684604960000,
1684604970000,
1684604980000,
1684604990000,
1684605000000,
1684605010000,
1684605020000,
1684605030000,
1684605040000,
1684605050000,
1684605060000,
1684605070000,
1684605080000,
1684605090000,
1684605100000,
1684605110000,
1684605120000,
1684605130000,
1684605140000,
1684605150000,
1684605160000,
1684605170000,
1684605180000,
1684605190000,
1684605200000,
1684605210000,
1684605220000,
1684605230000,
1684605240000,
1684605250000,
1684605260000,
1684605270000,
1684605280000,
1684605290000,
1684605300000,
1684605310000,
1684605320000,
1684605330000,
1684605340000,
1684605350000,
1684605360000,
1684605370000,
1684605380000,
1684605390000,
1684605400000,
1684605410000,
1684605420000,
1684605430000,
1684605440000,
1684605450000,
1684605460000,
1684605470000,
1684605480000,
1684605490000,
1684605500000,
1684605510000,
1684605520000,
1684605530000,
1684605540000,
1684605550000,
1684605560000,
1684605570000,
1684605580000,
1684605590000,
1684605600000,
1684605610000,
1684605620000,
1684605630000,
1684605640000,
1684605650000,
1684605660000,
1684605670000,
1684605680000,
1684605690000,
1684605700000,
1684605710000,
1684605720000,
1684605730000,
1684605740000,
1684605750000,
1684605760000,
1684605770000,
1684605780000,
1684605790000,
1684605800000,
1684605810000,
1684605820000,
1684605830000,
1684605840000,
1684605850000,
1684605860000,
1684605870000,
1684605880000,
1684605890000,
1684605900000,
1684605910000,
1684605920000,
1684605930000,
1684605940000,
1684605950000,
1684605960000,
1684605970000,
1684605980000,
1684605990000,
1684606000000,
1684606010000,
1684606020000,
1684606030000,
1684606040000,
1684606050000,
1684606060000,
1684606070000,
1684606080000,
1684606090000,
1684606100000,
1684606110000,
1684606120000,
1684606130000,
1684606140000
],
[
55.2,
55.6,
59.800000000000004,
46.800000000000004,
50.2,
46,
62.6,
43,
57.400000000000006,
39,
60.400000000000006,
52.6,
57.2,
43,
57.6,
44.2,
58.800000000000004,
41.2,
58,
41.400000000000006,
53.800000000000004,
52.400000000000006,
68.2,
54.6,
62.400000000000006,
48,
56.2,
49.6,
58.400000000000006,
46.2,
53.400000000000006,
44.400000000000006,
59.800000000000004,
46.2,
53,
44.400000000000006,
61.400000000000006,
46,
58,
53.2,
56.6,
51.400000000000006,
66.4,
47.400000000000006,
52.800000000000004,
44.400000000000006,
55.6,
47.6,
60.800000000000004,
41.800000000000004,
58.400000000000006,
43.400000000000006,
54.800000000000004,
45.2,
60.6,
41,
56,
37.800000000000004,
44,
37,
49.400000000000006,
48.800000000000004,
62.6,
52.800000000000004,
65,
54,
61.2,
60.400000000000006,
68.60000000000001,
49.2,
59.6,
57,
62.2,
54.400000000000006,
57.6,
52.2,
53.800000000000004,
49.800000000000004,
53,
47.800000000000004,
57.400000000000006,
47.800000000000004,
56,
48.2,
51.2,
44.6,
55.6,
48.800000000000004,
56.800000000000004,
48.400000000000006,
58,
46,
52.400000000000006,
50,
58.2,
49.2,
60,
44.400000000000006,
50.6,
49.2,
53.800000000000004,
53.800000000000004,
51.6,
50.6,
53.6,
48.6,
55.6,
50.800000000000004,
50.800000000000004,
55.400000000000006,
58.2,
42,
43,
40,
65,
78.4,
80.60000000000001,
68,
77.2,
79.80000000000001,
88,
65.4,
73.4,
66.2,
79.80000000000001,
76.80000000000001,
89.4,
69.4,
80.4,
74.60000000000001,
88,
55,
24.400000000000002,
0.4,
0.4,
null,
null,
null,
null,
0.4,
null,
null,
null,
null,
null,
0.2,
null,
null,
0.6000000000000001,
0.2,
null,
3.6,
0.2,
null,
0.2,
null,
0.4,
9.8,
4.4,
2.2,
64,
25.6,
50.6,
47,
57.800000000000004,
49.800000000000004,
52.400000000000006,
79.4,
83,
70.4,
52,
78.2,
78.80000000000001,
76.4,
75.4,
74.4,
66.4,
75.2,
82.80000000000001,
83.4,
79.80000000000001,
78.4,
76,
83.60000000000001,
63.6,
31.200000000000003,
31.6,
54,
58.400000000000006,
40.400000000000006,
46.6,
50.800000000000004,
51.6,
52,
52.800000000000004,
43.800000000000004,
51.6,
46.800000000000004,
55.6,
48.800000000000004,
51.2,
56.800000000000004,
49.400000000000006,
48.400000000000006,
52.800000000000004,
47.400000000000006,
50.2,
55.400000000000006,
47.400000000000006,
43.800000000000004,
53.2,
48.400000000000006,
46.400000000000006,
43,
55.2,
50.6,
51.400000000000006,
51.6,
56.800000000000004,
58.2,
53.800000000000004,
47.800000000000004,
43.800000000000004,
51,
40.2,
38.2,
41,
49,
45.6,
51.2,
50.400000000000006,
52.800000000000004,
52,
56.6,
45.400000000000006,
57.2,
45.400000000000006,
50.400000000000006,
43.800000000000004,
51.800000000000004,
44.400000000000006,
54,
45.2,
51.800000000000004,
46.2,
48.400000000000006,
53,
57.2,
46.6,
51,
40.400000000000006,
51.6,
48.6,
49.2,
43.6,
47.2,
46.6,
46,
50.800000000000004,
50.800000000000004,
49,
57.6,
45.400000000000006,
52.2,
43.800000000000004,
59.2,
54.400000000000006,
48.800000000000004,
50.400000000000006,
51.6,
52.2,
52.800000000000004,
50.6,
50.6,
54.400000000000006,
58.2,
49,
53.800000000000004,
57,
53.2,
46.400000000000006,
47.400000000000006,
47.400000000000006,
48.800000000000004,
47,
51.6,
52.2,
61.2,
48.800000000000004,
59,
50.800000000000004,
54.800000000000004,
44.800000000000004,
58.800000000000004,
43.400000000000006,
48.6,
48,
49.6,
40.800000000000004,
47,
48.400000000000006,
47,
47,
48.6,
35.4,
49,
41.6,
55.2,
47,
45.400000000000006,
47.6,
45.400000000000006,
42.2,
48.400000000000006,
45.2,
48.400000000000006,
49.2,
52.2,
43,
44.6,
48.400000000000006,
52.6,
56.6,
54,
45.6,
44,
39.2,
49,
47.6,
51.400000000000006,
43.400000000000006,
48,
44.6,
48.800000000000004,
44.800000000000004,
51,
47.400000000000006,
52.6,
41.6,
49.400000000000006,
44,
50.800000000000004,
37.4,
52.2,
45.6,
44.6,
52,
45.400000000000006,
50,
48,
50.400000000000006,
52,
44.800000000000004,
40.6,
42.6,
45.6,
38.2,
43,
44,
47.400000000000006
]
]
}
}
]
}
],
"timeFrom": null,
"timeShift": null,
"title": "Reproduced with embedded data",
"type": "timeseries",
"transformations": [
{
"id": "calculateField",
"options": {
"mode": "binary",
"reduce": {
"reducer": "sum"
},
"binary": {
"operator": "/",
"reducer": "sum",
"right": "10",
"left": "backend_02"
},
"replaceFields": true
}
},
{
"id": "calculateField",
"options": {
"mode": "binary",
"reduce": {
"reducer": "sum"
},
"binary": {
"left": "backend_02 / 10",
"reducer": "sum",
"operator": "+",
"right": "999"
},
"replaceFields": true
}
}
]
},
{
"gridPos": {
"h": 7,
"w": 9,
"x": 15,
"y": 0
},
"id": 5,
"options": {
"content": "<table width=\"100%\">\n <tr>\n <th width=\"2%\">Panel</th>\n <td >timeseries @ 8.0.0-beta1</td>\n </tr>\n <tr>\n <th>Queries</th>\n <td>A[graphite], B[graphite]</td>\n </tr>\n <tr>\n <th>Transforms (2)</th>\n <td>calculateField, calculateField</td>\n </tr>\n <tr><th>Data</th><td> 2 frames, 4 fields, 720 rows </td></tr>\n \n <tr>\n <th>Grafana</th>\n <td>9.5.3-cloud.2.0cb5a501 (79bb8e554c) // Enterprise</td>\n </tr>\n </table>",
"mode": "html"
},
"title": "Debug info",
"type": "text"
},
{
"id": 6,
"title": "Original Panel JSON",
"type": "text",
"gridPos": {
"h": 13,
"w": 9,
"x": 15,
"y": 7
},
"options": {
"content": "{\n \"datasource\": {\n \"uid\": \"000000001\",\n \"type\": \"graphite\"\n },\n \"description\": \"\",\n \"fieldConfig\": {\n \"defaults\": {\n \"custom\": {\n \"drawStyle\": \"line\",\n \"lineInterpolation\": \"smooth\",\n \"barAlignment\": 0,\n \"lineWidth\": 2,\n \"fillOpacity\": 40,\n \"gradientMode\": \"opacity\",\n \"spanNulls\": true,\n \"showPoints\": \"never\",\n \"pointSize\": 5,\n \"stacking\": {\n \"mode\": \"none\",\n \"group\": \"A\"\n },\n \"axisPlacement\": \"auto\",\n \"axisLabel\": \"\",\n \"axisColorMode\": \"text\",\n \"scaleDistribution\": {\n \"type\": \"linear\"\n },\n \"axisCenteredZero\": false,\n \"hideFrom\": {\n \"tooltip\": false,\n \"viz\": false,\n \"legend\": false,\n \"graph\": false\n },\n \"thresholdsStyle\": {\n \"mode\": \"off\"\n }\n },\n \"color\": {\n \"mode\": \"palette-classic\"\n },\n \"mappings\": [],\n \"thresholds\": {\n \"mode\": \"absolute\",\n \"steps\": [\n {\n \"color\": \"green\",\n \"value\": null\n },\n {\n \"color\": \"red\",\n \"value\": 80\n }\n ]\n },\n \"unit\": \"pressurembar\"\n },\n \"overrides\": [\n {\n \"matcher\": {\n \"id\": \"byName\",\n \"options\": \"backend_01\"\n },\n \"properties\": [\n {\n \"id\": \"color\",\n \"value\": {\n \"fixedColor\": \"purple\",\n \"mode\": \"palette-classic\"\n }\n }\n ]\n },\n {\n \"matcher\": {\n \"id\": \"byName\",\n \"options\": \"backend_02\"\n },\n \"properties\": [\n {\n \"id\": \"color\",\n \"value\": {\n \"fixedColor\": \"green\",\n \"mode\": \"palette-classic\"\n }\n }\n ]\n },\n {\n \"matcher\": {\n \"id\": \"byName\",\n \"options\": \"backend_02\"\n },\n \"properties\": [\n {\n \"id\": \"color\",\n \"value\": {\n \"fixedColor\": \"blue\",\n \"mode\": \"fixed\"\n }\n }\n ]\n },\n {\n \"matcher\": {\n \"id\": \"byName\",\n \"options\": \"web_server_01\"\n },\n \"properties\": [\n {\n \"id\": \"color\",\n \"value\": {\n \"fixedColor\": \"#EF843C\",\n \"mode\": \"fixed\"\n }\n }\n ]\n },\n {\n \"matcher\": {\n \"id\": \"byName\",\n \"options\": \"web_server_02\"\n },\n \"properties\": [\n {\n \"id\": \"color\",\n \"value\": {\n \"fixedColor\": \"#EAB839\",\n \"mode\": \"fixed\"\n }\n }\n ]\n },\n {\n \"matcher\": {\n \"id\": \"byName\",\n \"options\": \"web_server_03\"\n },\n \"properties\": [\n {\n \"id\": \"color\",\n \"value\": {\n \"fixedColor\": \"#508642\",\n \"mode\": \"fixed\"\n }\n }\n ]\n },\n {\n \"matcher\": {\n \"id\": \"byName\",\n \"options\": \"web_server_04\"\n },\n \"properties\": [\n {\n \"id\": \"color\",\n \"value\": {\n \"fixedColor\": \"#E24D42\",\n \"mode\": \"fixed\"\n }\n }\n ]\n }\n ]\n },\n \"gridPos\": {\n \"h\": 7,\n \"w\": 18,\n \"x\": 0,\n \"y\": 0\n },\n \"id\": 1,\n \"maxDataPoints\": 400,\n \"options\": {\n \"tooltip\": {\n \"mode\": \"multi\",\n \"sort\": \"none\"\n },\n \"legend\": {\n \"showLegend\": true,\n \"displayMode\": \"list\",\n \"placement\": \"right\",\n \"calcs\": []\n }\n },\n \"pluginVersion\": \"8.0.0-beta1\",\n \"targets\": [\n {\n \"refCount\": 0,\n \"refId\": \"A\",\n \"target\": \"aliasByNode(scaleToSeconds(apps.backend.backend_01.counters.requests.count, 1), 2)\",\n \"textEditor\": false,\n \"datasource\": {\n \"uid\": \"000000001\",\n \"type\": \"graphite\"\n }\n },\n {\n \"hide\": false,\n \"refCount\": 0,\n \"refId\": \"B\",\n \"target\": \"aliasByNode(scaleToSeconds(apps.backend.backend_02.counters.requests.count, 2), 2)\",\n \"datasource\": {\n \"uid\": \"000000001\",\n \"type\": \"graphite\"\n }\n }\n ],\n \"timeFrom\": null,\n \"timeShift\": null,\n \"title\": \"Simple graph\",\n \"type\": \"timeseries\",\n \"transformations\": [\n {\n \"id\": \"calculateField\",\n \"options\": {\n \"mode\": \"binary\",\n \"reduce\": {\n \"reducer\": \"sum\"\n },\n \"binary\": {\n \"operator\": \"/\",\n \"reducer\": \"sum\",\n \"right\": \"10\",\n \"left\": \"backend_02\"\n },\n \"replaceFields\": true\n }\n },\n {\n \"id\": \"calculateField\",\n \"options\": {\n \"mode\": \"binary\",\n \"reduce\": {\n \"reducer\": \"sum\"\n },\n \"binary\": {\n \"left\": \"backend_02 / 10\",\n \"reducer\": \"sum\",\n \"operator\": \"+\",\n \"right\": \"999\"\n },\n \"replaceFields\": true\n }\n }\n ]\n}",
"mode": "code",
"code": {
"language": "json",
"showLineNumbers": true,
"showMiniMap": true
}
}
},
{
"id": 3,
"title": "Data from panel above (after transformations)",
"type": "table",
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"gridPos": {
"h": 7,
"w": 15,
"x": 0,
"y": 13
},
"options": {
"showTypeIcons": true
},
"targets": [
{
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"panelId": 2,
"withTransforms": true,
"refId": "A"
}
]
},
{
"id": 100,
"title": "Data (before transformations)",
"type": "table",
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 13
},
"options": {
"showTypeIcons": true
},
"targets": [
{
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"panelId": 2,
"withTransforms": false,
"refId": "A"
}
]
}
],
"schemaVersion": 37,
"title": "Debug: Simple graph // 2023-05-20 18:17:41",
"tags": [
"debug",
"debug-timeseries"
],
"time": {
"from": "2023-05-20T17:17:41.400Z",
"to": "2023-05-20T18:17:41.400Z"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment