Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app/plugins/State Timeline - "No value" overdrive does not show in Panel when query returns with noValue #88004

Open
falconhome opened this issue May 16, 2024 · 0 comments

Comments

@falconhome
Copy link

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?

  1. Make a simple dasboard with State Timeline panel
  2. Add some text to "No value" config section & hit enter ("No value" content does not shown in panel area)
  3. Or, make a simple any query, and make it disabled - result is same

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

@falconhome falconhome changed the title app/plugins/State Timeline - "No value" overdrive does not show in Panel when query returns with no value app/plugins/State Timeline - "No value" overdrive does not show in Panel when query returns with noValue May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant