-
Notifications
You must be signed in to change notification settings - Fork 24
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
Needle stays always at zero #46
Comments
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 Gann<mailto:notifications@github.com>
Gesendet: Freitag, 8. Februar 2019 08:09
An: briangann/grafana-gauge-panel<mailto:grafana-gauge-panel@noreply.github.com>
Cc: na-am<mailto:na_am@hotmail.com>; Author<mailto:author@noreply.github.com>
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 GitHub<#46 (comment)>, or mute the thread<https://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 <notifications@github.com>
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 thread<https://github.com/notifications/unsubscribe-auth/AtNrw7sCsw355r1b0feFxvsR4zlBNoqSks5vLzuvgaJpZM4amt5y>.
|
Hi @briangann I have the same issue the gauge always stays at the maximum 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.
|
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! |
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
The text was updated successfully, but these errors were encountered: