bstyx09 / USQLQueryTool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a tool for pulling USQL data from the Dynatrace API

It uses a simple GUI for users to insert their queries and report on the results of those queries. The data is output to a table and in a json format

Typically when an API call is made in Dynatrace it will be returned with extrapolated data because the amount of data being queried is too large. This tool will check the extrapolation level and split the main query into smaller time periods to get more accurate data.

This currentlly should work in situations where users are querying for

  • Maximum values
  • Minimum values
  • Sums
  • counts

All other values returned will be extrapolated as normal though. At this point I believe the extrapolated data would likely be more accurate for Average, and median aggregations

I may start to account for other aggregations in the future, but just getting this tool to its current state was enough to satisfy me for now.

Image of GUI

Image of GUI Table

Image of GUI Json

Data from the table can easily copied and pasted into Excel for further manipulation. This solves a pretty significant hurdle a lot of users may have with using data returned from the API.

Currently has been tested with Dynatrace version 1.236 but should still work with most other versions that allow for USQL api calls This tool is currently querying the endpoint: "api/v1/userSessionQueryLanguage/table"

About

License:MIT License