Skip to content
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

Open
Frapschen opened this issue Sep 12, 2024 · 1 comment
Open
Labels
bug Something isn't working exporter/loadbalancing needs triage New item requiring triage

Comments

@Frapschen
Copy link
Contributor

Component(s)

exporter/loadbalancing

What happened?

Description

Using this exporter encounters a bug. I have tried dsn and k8s resolver; both cause bugs.

use dns resolver, config:

  loadbalancing/jaeger:
    routing_key: "traceID"
    protocol:
      otlp:
        # all options from the OTLP exporter are supported, except the endpoint
        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: jaeger-collector-headless.insight-system.svc.cluster.local
        port: "4317"
        interval: 1s
        timeout: 200ms

It's error logs:
img_v3_02el_0ff18611-890a-42bf-b8aa-598edaf5394g

using k8s resolver config:

  loadbalancing/jaeger:
    routing_key: "traceID"
    protocol:
      otlp:
        # all options from the OTLP exporter are supported, except the endpoint
        timeout: 1s
        tls:
          insecure: true
        sending_queue:
          enabled: true
          storage: file_storage/all_settings
        retry_on_failure:
          enabled: true
          max_elapsed_time: 500s
    resolver:
      k8s:
        service: insight-jaeger-collector
        ports:
          - 4317

It's error logs:
image

I have noticed this:

// something is really wrong... how come we couldn't find the exporter??

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

@Frapschen Frapschen added bug Something isn't working needs triage New item requiring triage labels Sep 12, 2024
Copy link
Contributor

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working exporter/loadbalancing needs triage New item requiring triage
Projects
None yet
Development

No branches or pull requests

1 participant