Skip to content

Respect OTLP Exporter environment when configuring exporters #1797

Open
@mheffner

Description

@mheffner

Is your feature request related to a problem? Please describe.

I made the assumption I could change the exporter config on the NodeJS Lambda layer by setting OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf, however it appears to be hard-coded in the NodeJS Lambda layer to http/json.

Describe the solution you'd like

When using the NodeSDK directly it allows you to configure the exporters from the environment. Naturally, it feels like you should be able to configure the NodeJS OpenTelemetry Lambda layer using similar environment.

The solution I'd propose is respecting the similar environment variables, so that using the NodeJS Lambda layer behaves similarly to using the Node SDK.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions