04 May 2025
02:46 AM
- last edited on
05 May 2025
08:53 AM
by
MaciejNeumann
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.
Solved! Go to Solution.
04 May 2025 03:54 AM
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
Img Step 4
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.