Skip to content

Document OTEL_EXPORTER_OTLP_[LOGS|TRACE|METRICS]_INSECURE and OTEL_EXPORTER_OTLP_INSECURE env vars in OTLP HTTP/protobuf exporters #7614

@pellared

Description

@pellared

See: #7608

Moreover,

Note that otlpmetrichttp and otlptracehttp also do not support such env vars.

This doesn't seem to be the case

envconfig.WithBool("INSECURE", func(b bool) { opts = append(opts, withInsecure(b)) }),
envconfig.WithBool("METRICS_INSECURE", func(b bool) { opts = append(opts, withInsecure(b)) }),

envconfig.WithBool("INSECURE", func(b bool) { opts = append(opts, withInsecure(b)) }),
envconfig.WithBool("TRACES_INSECURE", func(b bool) { opts = append(opts, withInsecure(b)) }),

So at least the Go impl is also not in compliance with the spec and is internally inconsistent.

Originally posted by @fd in #7608 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationProvides helpful informationenhancementNew feature or requestpkg:exporter:otlpRelated to the OTLP exporter package

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions