GoshPosh / grafana-meta-queries

Grafana plugin for calculating time period metrics like week over week, month over month and year over year etc.
Apache License 2.0
284 stars 71 forks source link

Timeshift w/influx data source? #17

Open dcohen24 opened 6 years ago

dcohen24 commented 6 years ago

Anyone with any experience? I can't seem to make it show up properly

image

Gauravshah commented 6 years ago

@dcohen24 what grafana & influx version are you trying on ?

dcohen24 commented 6 years ago

v4.6.3 grafana influxdb 1.2.2

nicholasnelson commented 6 years ago

Using Grafana with Influxdb, I found I had to set Add time shift in the Time Range tab to any value >= 0h.

If this field is empty, I get the same thing as you, nothing showing up for the time shift metric. Images in the breaks below.

With 0h in _Add time shift_: ![image](https://user-images.githubusercontent.com/7485405/36828469-f158c6c4-1d69-11e8-8fbe-89e9133eb48f.png)
vs without: ![image](https://user-images.githubusercontent.com/7485405/36828477-fa9b53be-1d69-11e8-98af-88767d14dea4.png)
merturl commented 6 years ago

@nicholasnelson v5.0.2 grafana 1.4.3-1 influxdb

i have same problem i try 'with 0h in _add time shift,' but not working to me image

'with 0h in _add time shift,' image

nicholasnelson commented 6 years ago

@merturl The readme for this project says:

Grafana Meta Queries plugin 0.0.1 and above are supported for Grafana: 4.x.x

I've not done any testing to see if this will work with Grafana 5.x, but I'd guess that's likely your problem.