opentelemetry-rust icon indicating copy to clipboard operation
opentelemetry-rust copied to clipboard

[Bug]: otlp example does not work without configuration update

Open krlohnes opened this issue 6 months ago • 2 comments

What happened?

I tried to run basic-otlp example and it simply didn't work.

I update the first section of otel-collector-config.yml to the following

receivers:
  otlp:
    protocols:
      grpc:
        endpoint: 0.0.0.0:4317

and it started working.

API Version

0.24.0

SDK Version

0.24.1

What Exporter(s) are you seeing the problem on?

OTLP

Relevant log output

OpenTelemetry log error occurred. Exporter otlp encountered the following errors: the grpc server returns error (The operation was cancelled): , detailed error message: operation was canceled

krlohnes avatar Aug 07 '24 20:08 krlohnes