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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about Time on Grafana #292

Closed
ninijule opened this issue Jul 20, 2022 · 2 comments
Closed

Question about Time on Grafana #292

ninijule opened this issue Jul 20, 2022 · 2 comments

Comments

@ninijule
Copy link

Hello,

I'am using your plugin which is amazing first 馃憤 .
But I'm am facing a problem because i have to display huge amount of data.

Problem : I want to pass in the body / params the time i want to see.

Exemple : I want to see the data from the last 6 hours, so i need to pass in my request from Grafana to my API the time i want.

But i don't know how to specify in the request the time value.
Grafana_Time

However, i figured out it's maybe possible to do this because it's possible by using the plugin InfluxDB which pass the time in request using "v.timeRangeStart, stop: v.timeRangeStop"
image

I use Grafana 9.0.0 in a Windows environement.
Thank you for the time you pass on this plugin !

@cton
Copy link

cton commented Aug 22, 2022

You can do that by using the macros as described in Documentation Macros

@gabor
Copy link
Contributor

gabor commented May 24, 2024

hi @ninijule , it's as @cton described, use the variables described in https://marcus.se.net/grafana-json-datasource/macros

@gabor gabor closed this as completed May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Complete
Development

No branches or pull requests

3 participants