Skip to content

[TRI-5390] Ignore any OTEL_ env vars users set (they mess up our tracing/logging) #2044

Closed
@matt-aitken

Description

@matt-aitken

It's currently possible for users to to set the OTEL_ env vars when deploying, like OTEL_EXPORTER_OTLP_ENDPOINT and OTEL_EXPORTER_OTLP_HEADERS.

This is mostly when using our sync env vars extensions.

This messes things up because we need these to be set to specific values and the user provided ones are overriding ours. The result is that no logs get sent to us and the Run page is empty.

Fix

Ignore any env vars starting OTEL_, I think we already have an array of env vars to ignore. Don't throw an error because it will make the sync script painful for users.

TRI-5390

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions