Hi All,
I’m using grafana infinity data-source to query an API endpoint.
The thing is the endpoint returns data for last 1hr by default but we would like to retrieve the data for last 24hr, there isn’t any query parameter option available to fetch the data for last 24hr.
Instead we can give startimeUTC and endtimeUTC in the query params to retrieve but to do this we need to have dynamically update the startTimeUTC and endTimeUTC using python script.
Is it possible to incorporate python script in Infinity data-source or is their any better way to achieve this thing ?
Thanks in advance !!!