File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
src/OpenTelemetry.Exporter.OpenTelemetryProtocol Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,6 @@ namespace OpenTelemetry.Exporter;
11
11
/// </remarks>
12
12
internal static class OtlpSpecConfigDefinitions
13
13
{
14
- public const string EnvVarPrefix = "OTEL_" ;
15
-
16
14
public const string DefaultEndpointEnvVarName = "OTEL_EXPORTER_OTLP_ENDPOINT" ;
17
15
public const string DefaultHeadersEnvVarName = "OTEL_EXPORTER_OTLP_HEADERS" ;
18
16
public const string DefaultTimeoutEnvVarName = "OTEL_EXPORTER_OTLP_TIMEOUT" ;
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ internal OtlpExporterOptions(
62
62
{
63
63
Debug . Assert ( defaultBatchOptions != null , "defaultBatchOptions was null" ) ;
64
64
var finalConfiguration = new ConfigurationBuilder ( )
65
- . AddEnvironmentVariables ( OtlpSpecConfigDefinitions . EnvVarPrefix )
65
+ . AddEnvironmentVariables ( )
66
66
. AddConfiguration ( configuration )
67
67
. Build ( ) ;
68
68
You can’t perform that action at this time.
0 commit comments