-
Notifications
You must be signed in to change notification settings - Fork 626
Description
What's the general idea for the enhancement?
As OpenTelemetry (OTEL) collectors now have k8scluster
, kubelet
and hostmetrics
receivers that fetches k8s system/api metrics that are more or less equivalent to the old-school (prometheus based) kube-state-metrics
, kublet/cadvisor
and node-exporter
metrics, it would be nice to have new mixins that uses the OTEL based metrics. As of now I have not found any issues/discussions anywhere about this topic of providing community backed dashboards and recording/alert rules reflecting the new metrics.
This would give a more seamless experience and help with the adoption of OTEL as well as reducing configuration complexity.
There is not a one-2-one mapping of metric names between the otel based system/api metrics and the old-school metrics. For instance:
k8s.job.active_pods
otel metric (or k8s_job_active_pods
when rewritten to prometheus format) from the k8scluster
receiver is basically the same as kube_job_status_active
metric from the kube-state-metrics
project.
There are also some metrics that do not map at all, and probably metrics that are completely new. Hence, I belive there is a need of new mixins.
Please provide any helpful snippets.
What parts of the codebase does the enhancement target?
Alerts, Rules, Dashboards
Anything else relevant to the enhancement that would help with the triage process?
No response
I agree to the following terms:
- I agree to follow this project's Code of Conduct.
- I have filled out all the required information above to the best of my ability.
- I have searched the issues of this repository and believe that this is not a duplicate.
- I have confirmed this proposal applies to the default branch of the repository, as of the latest commit at the time of submission.