cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Creating dashboard for container events from a container group

kasdev
Contributor

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?

6 REPLIES 6

dannemca
DynaMight Guru
DynaMight Guru

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

fetch events
| filter matchesPhrase(k8s.namespace.name, "dynatrace")
Site Reliability Engineer @ Kyndryl

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

Dynatrace Professional Certified

Dant3
Pro

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

Dant3_0-1708555234772.png

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.

 

 

Services Solution Engineer @PowerCloud - Observability/CloudOps Certified / Former SE @Dynatrace.

hello. thanks for your help.

but i need those events you can see in visual:

bu eventler dashboard haline getirilebilir mi2.jpeg

You will need to use DQL for that.

fetch events 

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

Services Solution Engineer @PowerCloud - Observability/CloudOps Certified / Former SE @Dynatrace.

Mizső
DynaMight Leader
DynaMight Leader

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

 

Mizs_1-1708555108189.png

You can create fancy dashboard tiles, like this:

Mizs_2-1708555449319.png

I hope it helps.

Best regards,

Mizső

Dynatrace Community RockStar 2024, Certified Dynatrace Professional

Featured Posts