19 Nov 2025
02:01 PM
- last edited on
21 Nov 2025
11:51 AM
by
IzabelaRokita
Hi!
I would like to create a segment, preferrably for all entities and metrics with a specific tag.
I have tried multiple variants now but I am unable to find anything.
Any suggestions?
I am trying to duplicate the functionality of Management Zones for dashboards.
19 Nov 2025 02:34 PM
Hi,
Here’s a pattern that works for any metric:
timeseries p95 = percentile(dt.service.request.response_time, 95),
by:{dt.entity.service},
filter:{ in(
dt.entity.service,
classicEntitySelector("type(SERVICE),tag(\"criticality:Gold\")")
)}
| fieldsAdd service_name = entityName(dt.entity.service)
This is currently the closest equivalent to Management Zone–style filtering in Grail dashboards.
If you want dashboard-wide filtering, you can put the selector into a dashboard variable and reuse it across tiles.
20 Nov 2025 01:01 PM
So I would like to have both entities and metrics filtered by this. How would I go about it?
Do I have to create one entity segment and one metric segment?