You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I have a JSON data source time time stamp information, everything works great, I am looking for a way to add a query filter to the API related to time stamp information. When I select the time range on grafana I want that to be passed to the API query. I will update the API but I don’t know what grafana will send through. I see there is mention of iso time and unix time I can do both on my api just not sure how to query with a macro. Does grafana send this in the body or does it send this information in the query string and as what format. The problem currently is that the API is queried for all of the assets data based on an identity and then grafana just shows the current Time range, I would like grafana to also only query the selected time range reducing the load on the db.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I have a JSON data source time time stamp information, everything works great, I am looking for a way to add a query filter to the API related to time stamp information. When I select the time range on grafana I want that to be passed to the API query. I will update the API but I don’t know what grafana will send through. I see there is mention of iso time and unix time I can do both on my api just not sure how to query with a macro. Does grafana send this in the body or does it send this information in the query string and as what format. The problem currently is that the API is queried for all of the assets data based on an identity and then grafana just shows the current Time range, I would like grafana to also only query the selected time range reducing the load on the db.
Beta Was this translation helpful? Give feedback.
All reactions