elastic / elastic/apm-agent-java

Adding kubernates.podIp to the transaction

Open
#1,336 3 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.