grafana-gauge-panel
grafana-gauge-panel copied to clipboard
Needle stays always at zero
Hi@all i'm using latest grafana und installed yesterday d3 gauge plugin datasource is influxdb ( select last(value) from hum )
the unit is not shown and the correct value of 37.0 isn't formatted at 1 decimal
can you show the metric query inspector output?
Hi Brian,
hope, thats what you wanted to see: xhrStatus:"complete" request:Object method:"GET" url:"api/datasources/proxy/1/query" params:Object db:"thp" q:"SELECT last(value) FROM hum" epoch:"ms" data:null precision:"ms" response:Object results:Array[1] 0:Object statement_id:0 series:Array[1] 0:Object name:"hum" columns:Array[2] 0:"time" 1:"last" values:Array[1] 0:Array[1549712333926,33]
Von: Brian Gannmailto:[email protected] Gesendet: Freitag, 8. Februar 2019 08:09 An: briangann/grafana-gauge-panelmailto:[email protected] Cc: na-ammailto:[email protected]; Authormailto:[email protected] Betreff: Re: [briangann/grafana-gauge-panel] Needle stays always at zero (#46)
can you show the metric query inspector output?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/briangann/grafana-gauge-panel/issues/46#issuecomment-461711440, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AtNrwxcYcYUKKV3qXDj-DzEDDBa3lxl2ks5vLSKTgaJpZM4amt5y.
The response looks fine, can you try creating a new panel with no changes (all default) and the same query?
I made a similar query with influx and it shows the data (with decimals and units)
Surprise, surprise, Brian, the needle is moving when I Change the select statement to COUNT!!!
Von: Brian Gann [email protected] Gesendet: Saturday, February 9, 2019 10:20:47 PM An: briangann/grafana-gauge-panel Cc: na-am; Author Betreff: Re: [briangann/grafana-gauge-panel] Needle stays always at zero (#46)
The response looks fine, can you try creating a new panel with no changes (all default) and the same query?
I made a similar query with influx and it shows the data (with decimals and units)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/briangann/grafana-gauge-panel/issues/46#issuecomment-462080435, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AtNrw7sCsw355r1b0feFxvsR4zlBNoqSks5vLzuvgaJpZM4amt5y.
I am getting similar error whenever the value is less than zero, needle stays at bottom. Any idea
Hi @briangann I have the same issue the gauge always stays at the maximum value.
Grafana version: Grafana v6.2.5 (6082d19)
D3 gauge version: 0.0.6
Limits i have given Min 0 and Max 100. I have tried giving MAX 700 too but still stays at max value
Hello, I had same issue and same behaviour, needle moves only when I used count of measurements. Than I found, that the values that I tried to visualize are not integer or float... it was number but saved as string. So check your input if it is real number.
Surprise, surprise, Brian, the needle is moving when I Change the select statement to COUNT!!! … ________________________________ Von: Brian Gann [email protected] Gesendet: Saturday, February 9, 2019 10:20:47 PM An: briangann/grafana-gauge-panel Cc: na-am; Author Betreff: Re: [briangann/grafana-gauge-panel] Needle stays always at zero (#46) The response looks fine, can you try creating a new panel with no changes (all default) and the same query? I made a similar query with influx and it shows the data (with decimals and units) — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub<#46 (comment)>, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AtNrw7sCsw355r1b0feFxvsR4zlBNoqSks5vLzuvgaJpZM4amt5y.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions!
(Grafana 9.2.5) I get some strange behaviour dependent on decimals. Here the value is 0.499, and the units set to "Kilowatt (kW)"
When decimals set to "auto":
When decimals set to "0":
However, with decimals set to "1" the needle position is correct: