03 Aug 2023 10:01 PM - last edited on 10 Aug 2023 08:42 AM by MaciejNeumann
Hello,
I have not been able to find any docs or examples on using DQL to create dashboard components for span services. Does anyone have something they can point me to? The bigger goal here is to create custom dashboards for our Ruby on Rails services which have to use OTLP to get data into Dynatrace.
Example: I can create this in the Data Explorer and pin it to the old Dashboarding system: `builtin:span_responsetime:filter(eq("dt.entity.span:service",CUSTOM_DEVICE-621F4CA3C734A820)):filter(and(or(eq("span.kind",server),eq("span.kind",consumer)))):splitBy("dt.entity.span:service"):avg`
How do I do the equivalent in the new DQL dashboarding system?
04 Aug 2023 12:04 AM
Hey a1flecke,
There are docs detailing what metrics are currently available on Grail at the moment. From my testing and from those docs the span service metrics aren't available just yet it seems. Metrics on Grail is still in an early adopter state at the moment so there are many improvements still to come.
In the meantime, if you want to play around with other timeseries using DQL the following docs will help you prepare for when span metrics become available.
Docs for the timeseries command DQL commands | Dynatrace Docs
Docs for the metrics on Grail Built-in metrics on Grail | Dynatrace Docs
04 Aug 2023 12:16 PM
Thanks Fin. I had seen the Built-in docs and focused entirely on "Replacing the builtin: prefix with dt. to clearly denote Dynatrace-provided metrics and entities."
I learn best by examples. Are you aware of any examples that go one or two level deeper than what is provided in the DQL documentation?
Thanks again,
Aaron
09 Aug 2023 01:40 AM
I don't have at the moment sorry, but if I come across any in the next couple of weeks I'll try and update here.