-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[exporter/loadbalancing] couldn't find the exporter for the endpoint bug #35153
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Please provide your complete configuration file and indicate the version of the collector used. |
It looks like I can reproduce this with a fairly simple config, like: apiVersion: opentelemetry.io/v1beta1
kind: OpenTelemetryCollector
metadata:
name: otelcol-loadbalancer
spec:
image: ghcr.io/open-telemetry/opentelemetry-collector-releases/opentelemetry-collector-contrib:0.114.0
config:
receivers:
otlp:
protocols:
grpc: {}
exporters:
loadbalancing:
protocol:
otlp:
timeout: 1s
tls:
insecure: true
sending_queue:
enabled: true
storage: file_storage/all_settings
retry_on_failure:
enabled: true
max_elapsed_time: 500s
resolver:
dns:
hostname: otelcol-backend-collector-headless
service:
extensions: [ ]
pipelines:
traces:
receivers: [ otlp ]
processors: [ ]
exporters: [ loadbalancing ] And with this backend: apiVersion: opentelemetry.io/v1beta1
kind: OpenTelemetryCollector
metadata:
name: otelcol-backend
spec:
image: ghcr.io/open-telemetry/opentelemetry-collector-releases/opentelemetry-collector-contrib:0.114.0
replicas: 10
config:
receivers:
otlp:
protocols:
grpc: {}
exporters:
debug: {}
service:
extensions: [ ]
pipelines:
traces:
receivers: [ otlp ]
processors: [ ]
exporters: [ debug ] This seems to be connected to the persistent sending queue, as removing it confirms that it works.
With the sending queue, all spans end up being refused, like this:
|
Component(s)
exporter/loadbalancing
What happened?
Description
Using this exporter encounters a bug. I have tried
dsn
andk8s
resolver; both cause bugs.use dns resolver, config:
It's error logs:
using
k8s
resolver config:It's error logs:
I have noticed this:
opentelemetry-collector-contrib/exporter/loadbalancingexporter/loadbalancer.go
Line 236 in 21208c0
It also shows that something is wrong with the code.
Collector version
v0.109.0
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")
OpenTelemetry Collector configuration
No response
Log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: