open-telemetry / opentelemetry-python

OpenTelemetry Python API and SDK
https://opentelemetry.io
Apache License 2.0
1.81k stars 633 forks source link

Conflicting values for logs OTLP exporter protocol, using 'otlp_proto_http' #3748

Closed npuichigo closed 4 months ago

npuichigo commented 8 months ago

After using auto-instrument, what does this mean?

xrmx commented 8 months ago

Could you please elaborate a bit on the issue? Not much information to help you. There's probably a conflicting configuration from arguments passed from cli vs environment variables. If using otlp_proto_http is fine for you there's nothing misbehaving.

srikanthccv commented 8 months ago

It doesn't mean anything different. It exists for legacy reasons. However, most of the docs are updated to reflect that. Please use otlp for OTEL_{LOGS/TRACES/METRICS}_EXPORTER along with the protocol of your choice with env OTEL_EXPORTER_OTLP_PROTOCOL. Please send a patch if some docs still refer to otlp_proto_http.

ocelotl commented 4 months ago

Closing this issue, please reopen if there is a specific change we should do.