elastic / elastic/apm-agent-java
Adding kubernates.podIp to the transaction
Open
discuss
- Dominant language
- Java
- Stars
- 594
- Forks
- 338
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 25
Description
`
String podUid = System.getenv("KUBERNETES_POD_UID");
String podName = System.getenv("KUBERNETES_POD_NAME");
String nodeName = System.getenv("KUBERNETES_NODE_NAME");
String namespace = System.getenv("KUBERNETES_NAMESPACE");
`
the agent can collect some information about the pod or the node in K8S, but the pod name or the pod uid are not obvious enough to find where the transaction from.
If the agent collect the pod ip, we can acheive these easily, as the pod ip is more obvious than the pod name or the pod uid, right?
Contributor guide
Assessment
This issue has not been assessed yet.