cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Dashboard and services

kopashi
Newcomer_

Please how do I create dashboards that are tied only to specific services or workflows. For e.g. I have multiple services running in the same platform/environment but I need my dashboard to capture metrics for just a particular service or workflow. 

1 REPLY 1

PierreGutierrez
Dynatrace Champion
Dynatrace Champion

Hi, I didn't quite understand what you're needing.
But I hope it's the following:

Of all the services you have in the tenant, create a dashboard that has metrics for only one of those services.

To get the query up and running quickly, I recommend:

1. Search for the service (in the new Services section)
2. Go to the Service details
3. View the Service metrics
4. Select "Pin your Dashboard/New Dashboard"

Img Step 3

 

PierreGutierrez_0-1746326861434.png

 

Img Step 4 

PierreGutierrez_1-1746326947826.png

dt.entity.service Represent the Services ID 

DQL Example ( like the image)

timeseries requestCount_timeseries = sum(dt.service.request.count, rate: 1m), by:{dt.entity.service}, bins: 60, filter: dt.entity.service == "SERVICE-71B4C7B63ED01C56", nonempty: true | fieldsAdd metricName = "Throughput"
| append[timeseries responseTime_p50_timeseries = percentile(dt.service.request.response_time, 50), by:{dt.entity.service}, bins: 60, filter: dt.entity.service == "SERVICE-71B4C7B63ED01C56", nonempty: true  | fieldsAdd metricName = "p50"]
| append[timeseries responseTime_p90_timeseries = percentile(dt.service.request.response_time, 90), by:{dt.entity.service}, bins: 60, filter: dt.entity.service == "SERVICE-71B4C7B63ED01C56", nonempty: true  | fieldsAdd metricName = "p90"]
| append[timeseries responseTime_p99_timeseries = percentile(dt.service.request.response_time, 99), by:{dt.entity.service}, bins: 60, filter: dt.entity.service == "SERVICE-71B4C7B63ED01C56", nonempty: true  | fieldsAdd metricName = "p99"]

 

The Dashboard will have the metric you selected (in my example, you see the same service with different percentiles and different metrics). Just modify or leave the metric you need.

This is one way; I hope it's helpful.

 

 

 

Pierre Gutierrez - LATAM ACE Consultant - Loving Cats! Loving Technology !

Featured Posts