Missing option in Davis APP

Hello,

In the classic anomaly detection for metrics, I have below config options:

henk_stobbe_0-1741784408343.png

So I am able to add a Management zone, and this works perfect. It seems I am missing this option in the Davis APP?

KR Henk

@henk_stobbe Can you please try filtering in the query and see if this helps ?

example -

timeseries avg(dt.host.cpu.usage), by:{dt.entity.host}
| lookup [ 
      fetch dt.entity.host
      | expand managementZones
    ], sourceField:dt.entity.host, lookupField:id, prefix:"mzone."
| filter mzone.managementZones == "pdev-app-mgmtzn-1"

Hello Phani,

Thanks for your reply, but look at below:

It ends up in “Environment” not in the MZ,

KR Henk

Hi @henk_stobbe

I assume you are trying to create a AD that gets applied to hosts in a particular MZ? If yes , the above query would work.

To make sure correct details shows up in the problem ..please update the event template

example -

this would show more meaningful information in the problem created

Hope this helps

Hello Phani,

Still working on this one, difference for me, I am using a custom metric and that complicates things…

KR Henk

So @henk_stobbe, did you find a solution for this one? :slightly_smiling_face:

Good Morning Gosia,

(simple) It seems a custom (log) metric can not be part of a dynatrace entity, so a problem wil always be booked on the environment. As documented

KR Henk