Score:0

OpenTelemetry- How to debug connections

gr flag

I'm trying to get OpenTelemetry container to pass spans along to my Jaeger container, but haven't quite figured out, and can't tell what's wrong, either.

I have confirmed that:

  • my app is generating and passing along spans to OTel
  • Otel is receiving the spans

But beyond that, I see nothing that might denote that errors are occur during export to Jaeger, but no spans ever appear there. It is also hard to debug as there is a large amount of text output every ten seconds that makes it hard to scroll through and find the important bits.

Running Otel with:

/usr/bin/docker run \
  --name oqm_otel \
  -p 1888:1888 \
                           -p 8888:8888 \
                           -p 8889:8889 \
                           -p 13133:13133 \
                           -p 4317:4317 \
                           -p 4318:4318 \
                           -p 55679:55679 \
                           -v /etc/oqm/infra/otel/otel-collector-config.yaml:/etc/otel-collector-config.yaml \
                           --add-host host.docker.internal:host-gateway \
                           otel/opentelemetry-collector:0.72.0

Running Jaeger with:

 /usr/bin/docker run --name oqm_jaeger -p 8090:16686 -p 8091:14268 -d jaegertracing/all-in-one:1

/etc/oqm/infra/otel/otel-collector-config.yaml:

# Configuration for OpenTelemetry Collector within the OQM system.
receivers:
  otlp:
    protocols:
      grpc:
        endpoint: otel-collector:4317 # What does this do?

exporters:
  jaeger:
    endpoint: host.docker.internal:8091
    tls:
      insecure: true

processors:
  batch:

extensions:
  health_check:

service:
  extensions: [health_check]
  pipelines:
    traces:
      receivers: [otlp]
      processors: [batch]
      exporters: [jaeger]

Any ideas?

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.