Replies: 2 comments
-
additional info:
|
Beta Was this translation helpful? Give feedback.
-
FWIW I think you can satisfy your use case by using jsonata to perform the math operation for you using the
|
Beta Was this translation helpful? Give feedback.
-
Hi ,
I configured grafana-infinity-datasource as github api datastore for grafana.
I query github workflows run and expect to get the results and timestamp of a workflow run.
I used backend parser and jsonata to query github api and I can get for example the last success or failure of a workflow run with its timestamp (in ISO format).
The goal is to find if there is a diff of more than 1hr from failure to success. if there is , I want to get an alert.
As I understand in order to do this calculation I need to convert the time from ISO or any time format to EPOC time.
I was trying to do so by adding sample column to the query which present the time in epoc but I'm not sure it convert its value as I cannot do any math.
Here are some screen shots.
it would be helpful if you have an example of how to do the math or even similar case where you have a tabular data from a json.
thanks
Beta Was this translation helpful? Give feedback.
All reactions