Powerful results from combining GraphQL and UQL #268
rogerjbos
started this conversation in
Show and tell
Replies: 1 comment
-
Thank you @rogerjbos for the kind words and your time to write this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Not sure I know the best way to write this up, but I have been struggling with producing a Grafana dashboard and the Infinity plugin really came to the rescue. Using the GraphQL feature I was able to pull in the data I needed without resorting to loading it into a database, but I could not figure out how to do summarize or group by actions on it. I saw that UQL had those functions, but I could not get it to work with my with my query. @yesoreyeram answered my question and even created an example to show me how to do it, which allowed me to create this dashboard:
Some of the nice features of UQL are that you can specify the data path once so you don't have to do it for every item:
I was able to create an hour variable to aggregate by data over:
Then I was able to format it to make it shorter and look better:
Finally, I was able to summarize using a group by:
This is really an amazing plugin. For more details, please see the original question and answer with example.
Beta Was this translation helpful? Give feedback.
All reactions