-
Notifications
You must be signed in to change notification settings - Fork 9
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
grafana #9
Comments
Hi, I ran into the same problem and I think I identified the problem. I'm running devicehive with the provided docker environment. I configured the datasource as documented and got confirmation that the datasource is active. The dashboard is however not showing the data points. I think it is due to wrong formatting option. The websocket query used by Grafana is:
The start and end property seem to be formatted as Unix Timestamps, whereas the documentation states that those should be datetime objects: https://docs.devicehive.com/docs/query-1 I used a websocket debugging tool and changed the timestamps to datetime objects in the request like follows:
In this case, the Websocket Proxy returns the datapoints. Unfortunately I haven't found a way yet to configure the format of the start and end property of the JSON to timestamps in Grafana. |
Hi, I managed to get this working. In the Grafana Configuration tab, go to Preferences and change the Timezone to UTC and Save. I am now getting the datapoints into the Dashboard. |
Hello!
I have a problem with grafana. I configure the data source according to your tutorial, but when I build a new dashboard, I don't show any data points.
The text was updated successfully, but these errors were encountered: