DQL
Questions about Dynatrace Query Language
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Filter timeseries using Request Attribute

Vincent_L
Newcomer

Hello!

I've been stuck for a few weeks because of this problem...

I need to get KPIs for requests in a service (number, average, p90, p95). But, I need to use a request attribute in my filters to split the requests.

Unfortunately, we can't use the request attribute in the filters for a timeseries + the documentation and the Community posts suggest using Calculated Service Metrics, but they don't support percentiles. (it works for RequestCount or Average)

Is there a simple way to obtain this data by filtering on a request attribute?

Or do you plan to add one of these features (possibility to filter on a request attribute in a timeseries or embed the percentile for the CSM) in your roadmap? This would surely be useful to the community... 🙂

Thanks and regards!

 

1 REPLY 1

Julius_Loman
DynaMight Legend
DynaMight Legend

If you are on SaaS (I assume yes, since you tagged this with DQL), then you can create a Grail metric in OpenPipeline for spans with the condition you need and then use percentiles. This will eventually replace the calculated service metrics.
Another solution with Dynatrace SaaS is to query spans directly and use maketimeseries DQL command, but I'd not recommend this approach unless there is no other solution.

Dynatrace Ambassador | Alanata a.s., Slovakia, Dynatrace Master Partner

Featured Posts