Closed
Description
Describe the bug
Some metrics don't follow Otel semantic conventions
Steps to reproduce
Nothing to reproduce. The problem lies in the specification of the receiver itself.
What did you expect to see?
Metrics that count objects should use units with brackets {}
and not 1
Example:
k8s.container.restarts
==>Unit: "{restarts}"
k8s.cronjob.active_jobs
==>Unit: "{jobs}"
k8s.job.active_pods
==>Unit: "{pods}"
- etc.
What did you see instead?
Many metrics specify unit 1
to report a count of objects:
k8s.container.restarts
k8s.cronjob.active_jobs
k8s.job.active_pods
- etc.
Unit 1
must be used only for fractions and ratios.
What version did you use?
Main branch
What config did you use?
N/A
Environment
N/A
Additional context
N/A