21 Feb 2024 01:49 PM
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?
Solved! Go to Solution.
21 Feb 2024 08:12 PM
Does it works if you use the namespace to filter it instead container group?
fetch events
| filter matchesPhrase(k8s.namespace.name, "dynatrace")
21 Feb 2024 10:20 PM
@kasdev But keep in mind if you run "fetch events" then every time it will consume some additional license.
21 Feb 2024 10:44 PM - edited 21 Feb 2024 10:46 PM
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.
23 Feb 2024 11:28 AM
hello. thanks for your help.
but i need those events you can see in visual:
23 Feb 2024 11:38 AM
You will need to use DQL for that.
fetch events
Is the base query you need and then filter by PG, what @dannemca said.
21 Feb 2024 10:44 PM
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ő