24 Dec 2024 05:04 PM - last edited on 30 Dec 2024 08:26 AM by MaciejNeumann
Hi,
How to exclude Database services In Dashboard Gen3, (Entity Type : Services) we are facing the issues regarding the untagged names for Database services, so we want to exclude those database services.
Solved! Go to Solution.
24 Dec 2024 10:54 PM
Timeseries:
timeseries avg(dt.service.request.response_time), by: { dt.entity.service }
| fieldsAdd serviceType = entityAttr(dt.entity.service, "serviceType")
| filter not serviceType == "DATABASE_SERVICE"
| fieldsAdd dt.entity.service.name = entityName(dt.entity.service)
| fieldsAdd value.A = arrayAvg(`avg(dt.service.request.response_time)`)
Fetch:
fetch dt.entity.service
| fields entity.name, serviceType
| filter not serviceType == "DATABASE_SERVICE"
25 Dec 2024 07:08 AM
Appreciated suggestion @sia_h
27 Dec 2024 03:04 PM
Thank you @sia_h will try and get back to you on this
30 Dec 2024 05:16 PM
@Peter_Youssef
we are not using the DQL to Filter the service type.