Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enrich metrics with more metadata #179

Open
gazal-k opened this issue Oct 31, 2024 · 0 comments
Open

Enrich metrics with more metadata #179

gazal-k opened this issue Oct 31, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@gazal-k
Copy link

gazal-k commented Oct 31, 2024

Summary

Metrics collected and exported by the OTeL collectors here have some attributes around the k8s context, but misses important attributes like the deployment / daemonset / statefulset that the Pod is associated with 😞

Here are the attributes for container_cpu_usage_seconds_total metric:
Screenshot 2024-10-31 at 11 06 54

Traces on the other hand have a lot more metadata, such as:

k8s.cluster.name
k8s.container.name
k8s.deployment.name
k8s.namespace.name
k8s.node.name
k8s.pod.ip
k8s.pod.name
k8s.pod.start_time
k8s.pod.uid
k8s.replicaset.name

There also seems to be inconsistency in the attributes names. For example, namespace attribute in metrics vs k8s.namespace.name in traces.

Desired Behavior

Richer metadata association on metrics, similar to traces, and consistent attribute names.

Possible Solution

Additional context

@gazal-k gazal-k added the enhancement New feature or request label Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant