Creating dashboard for container events from a container group

hello.

i need to create a dashboard for all container events in a specific container group.

i guess i need to use dql but i dont know how to do it.

lets assume container group name is mycontainergroup. do you have any suggestion?

Does it works if you use the namespace to filter it instead container group?

fetch events
| filter matchesPhrase(k8s.namespace.name, "dynatrace")

@kasdev  But keep in mind  if you run “fetch events” then every time it will consume some additional license.

If this are events for k8 (pulled,killing, backoff… etc) then No need for DQL. There is a metric tha have that info if you have the events enable (i would asssume you do) metric : builtin:kubernetes.events

If you are speaking about events in the AI, for problem detection,  then there is this metric: dsfm:server.events.event_processing but you can’t split or search for an specific entity.

Hi @kasdev,

There is another option too if it is possible to use classic dashbboard with data explorer. If you have API integration to your k8s cluster you can use the builtin:kubernetes.events with many dimensions

You can create fancy dashboard tiles, like this:

I hope it helps.

Best regards,

Mizső

hello. thanks for your help.

but i need those events you can see in visual:

You will need to use DQL for that.

fetch events

Is the base query you need and then filter by PG, what @dannemca said.