app/plugins/State Timeline - "No value" overdrive does not show in Panel when query returns with noValue #88004
Labels
area/panel/state-timeline
triage/needs-confirmation
used for OSS triage rotation - reported issue needs to be reproduced
What happened?
When any query returns with no value, the panel does not apply the config section registered "noValue" content.
What did you expect to happen?
Probably missing property set in plugin source, because in the panel json my test "noValue" content looks. (I used "abcabc" for quick find)
Did this work before?
No! I tried State Timeleine panel in 10.2 / 10.3 / 11.0 and all of them got the same problem.
How do we reproduce it?
Is the bug inside a dashboard panel?
{
"datasource": {
"uid": "vRR99tZIk",
"type": "influxdb"
},
"fieldConfig": {
"defaults": {
"custom": {
"lineWidth": 0,
"fillOpacity": 70,
"spanNulls": false,
"insertNulls": false,
"hideFrom": {
"tooltip": false,
"viz": false,
"legend": false
}
},
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"noValue": "abcabc"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 0
},
"id": 1,
"options": {
"mergeValues": true,
"showValue": "auto",
"alignValue": "left",
"rowHeight": 0.9,
"legend": {
"showLegend": true,
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none",
"maxHeight": 600
}
},
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "vRR99tZIk"
},
"alias": "on",
"groupBy": [],
"measurement": "JTTDesiredstate_LIVE",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT "desiredstate" FROM "JTTDesiredstate_LIVE" WHERE ("generatorid_tag"::tag = '571') AND $timeFilter ",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"desiredstate_num"
],
"type": "field"
}
]
],
"tags": [
{
"key": "generatorid_tag::tag",
"operator": "=",
"value": "571"
}
],
"hide": true
}
],
"title": "State Timeline test",
"type": "state-timeline"
}
Environment (with versions)?
Grafana: 10.2 / 11.0
OS: Ubuntu 20.04LTS
Browser: Chrome
Grafana platform?
Docker
Datasource(s)?
InfluxDB 1.8.0
The text was updated successfully, but these errors were encountered: