OpenTelemetry.SelfDiagnostics.EnvironmentVariableLogMode
Controls how much of the environment variable snapshot is written to the
self-diagnostics log file preamble.
AllValues = 3
Names and values of all OTEL_* variables that are set are shown verbatim,
potentially including credentials. Enable this only when deliberately capturing a full configuration
snapshot, and treat the resulting file as a sensitive document.
KnownSafeValues = 2
Names of all OTEL_* variables that are set are listed. Values are shown only for
variables the SDK recognises as safe to disclose; all other values are redacted.
Endpoint values are reduced to their authority and OTEL_RESOURCE_ATTRIBUTES is
redacted per key.
Names = 1
Names only for all OTEL_* variables that are set are listed. No values are shown.
None = 0
The environment variable section is omitted entirely.