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

"No data points" #35

Open
ansumanm opened this issue Jul 18, 2020 · 3 comments
Open

"No data points" #35

ansumanm opened this issue Jul 18, 2020 · 3 comments

Comments

@ansumanm
Copy link

My query:

"q=SELECT first("ltp") AS "open", last("ltp") AS "close", min("ltp") AS "low", max("ltp") AS "high", difference(last("vtt")) AS "volume" FROM "ZFeedFull" WHERE ("symbol" =~ /^BANKNIFTY20JULFUT$/) AND time >= 1594957500000ms and time <= 1594979999000ms GROUP BY time(5m) fill(linear)"

Screenshot 2020-07-19 at 2 11 39 AM

If I change panel to graph, I get data:
Screenshot 2020-07-19 at 2 12 47 AM

My grafana version is 6.4

@asnakep
Copy link

asnakep commented Jan 17, 2021

Hello,

I have same "no data points" issue using prometheus.

Thank you,
best regards,
Emanuele

@wscardua
Copy link

wscardua commented Feb 2, 2021

Hi...

Me too .. to get data inside influx

Screen Shot 2021-02-02 at 19 57 10

SELECT first("open_price") FROM "trade_candle" WHERE ("coin" = 'BTCUSDT') AND time >= now() - 6h GROUP BY time(5m) fill(linear);SELECT last("close_price") FROM "trade_candle" WHERE ("coin" = 'BTCUSDT') AND time >= now() - 6h GROUP BY time(5m) fill(linear);SELECT max("high_price") FROM "trade_candle" WHERE ("coin" = 'BTCUSDT') AND time >= now() - 6h GROUP BY time(5m) fill(linear);SELECT min("value") FROM "trade_candle" WHERE ("coin" = 'BTCUSDT') AND time >= now() - 6h GROUP BY time(5m) fill(linear);SELECT max("volue") FROM "trade_candle" WHERE ("coin" = 'BTCUSDT') AND time >= now() - 6h GROUP BY time(5m) fill(linear)

Grafana Version: v7.3.7 (1e261642f4)

@Erraen
Copy link

Erraen commented Jul 23, 2021

This should be 4 separate requests, one for each value ('open', 'close', 'high', 'low'), rather than getting 4 values in one request.
And aliases of column should be exactly 'open', 'close', 'high', 'low' - that is hardcoded in source.
Its works for me for timescale source.

Grafana Version: 8.0.5

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

4 participants