17 Apr 2023
08:24 AM
- last edited on
18 Apr 2023
12:30 AM
by
MaciejNeumann
Is there a way to link a frontend web application configured in RUM to a Kubernetes pod? It appears there are no options in the pod itself as it is on a host entity. Pods/workloads do not have the option.
Solved! Go to Solution.
No, it must be a deep monitored process with OneAgent. If the questions stands for show me the pods in which the traffic from my app ends, then I believe this is doable by querying on entities with the relation filtering.
You should query process group instances (they have the KUBERNETES_FULL_POD_NAME key in the METADATA property) which contain services which are called from the application. Something like this - but keep in mind it must be direct called from the application:
type(PROCESS_GROUP_INSTANCE),toRelationships.runsOnProcessGroupInstance(type(SERVICE),toRelationships.calls(entityId(APPLICATION-DB5DFB404A9A17C1)))