Skip to content

[EDOT Collector] Depecation warnings #15328

Description

@ltflb-bgdi

Today I updated our operators to v9.4.3 to have deprecation warnings fixed.
Now the logs report two new deprecation warnings, both coming from your values.yaml:

{"level":"warn","ts":"2026-07-03T13:27:18.592Z","caller":"builders/builders.go:40","msg":"\"hostmetrics\" alias is deprecated; use \"host_metrics\" instead","resource":{"k8s.pod.name":"opentelemetry-kube-stack-daemon-collector-9rvr4","service.instance.id":"950b952c-3df6-46ed-aa60-e4c1ea57ce59","service.name":"elastic-otel-collector","service.version":"9.4.3"},"otelcol.component.id":"hostmetrics","otelcol.component.kind":"receiver","otelcol.signal":"metrics"}
{"level":"warn","ts":"2026-07-03T13:27:18.592Z","caller":"builders/builders.go:40","msg":"\"kubeletstats\" alias is deprecated; use \"kubelet_stats\" instead","resource":{"k8s.pod.name":"opentelemetry-kube-stack-daemon-collector-9rvr4","service.instance.id":"950b952c-3df6-46ed-aa60-e4c1ea57ce59","service.name":"elastic-otel-collector","service.version":"9.4.3"},"otelcol.component.id":"kubeletstats","otelcol.component.kind":"receiver","otelcol.signal":"metrics"}

This is now getting annoying. I would appreciate if these deprecation warnings get fixed as well AND the version containing the fix will not show new ones. Ideally there would be some CI/CD checks for things like this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions