Skip to content

Add otlp_grpc alias for otlp exporter #14099

@codeboten

Description

@codeboten

Component(s)

No response

Describe the issue you're reporting

The OTLP gRPC exporter is currently configured via otlp, which is different than the otlphttp exporter. This has led to end user confusion. I'm suggesting supporting the key otlp_grpc to configure this exporter to make the protocol explicit. This would align with the configuration schema:

https://github.com/open-telemetry/opentelemetry-configuration/blob/26f29f8119042c05fd3e08317c025030e79476d9/schema/logger_provider.json#L73-L84

An alternative would be to follow the same path as we did for the log exporter when it was renamed to debug exporter and eventually deprecated the otlp exporter.

Alternatively we could decide to not support this and document that this configuration will be different.

Tip

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions