Crash of otel collector when try to use __address__ target in prometheus receiver with the help of pod port annotation. #34230
Labels
bug
Something isn't working
needs triage
New item requiring triage
receiver/prometheus
Prometheus receiver
Component(s)
receiver/prometheus
What happened?
Description
I am trying to deploy otel collector in k8s cluster (version 1.26). I am using helm chart to deploy it. I am scraping prometheus matrics from pods which have following annotations -
I am using collector config as referenced in configuration section. Collector is crashing.
Expected Result
Collector should have been up and running.
Actual Result
Otel collector crash.
Collector version
0.104.0
Environment information
Environment
OS: AWS Linux(ubuntu)
Compiler: N/A
OpenTelemetry Collector configuration
Log output
Additional context
No response
The text was updated successfully, but these errors were encountered: