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;
1111/// </remarks>
1212internal static class OtlpSpecConfigDefinitions
1313{
14- public const string EnvVarPrefix = "OTEL_" ;
15-
1614 public const string DefaultEndpointEnvVarName = "OTEL_EXPORTER_OTLP_ENDPOINT" ;
1715 public const string DefaultHeadersEnvVarName = "OTEL_EXPORTER_OTLP_HEADERS" ;
1816 public const string DefaultTimeoutEnvVarName = "OTEL_EXPORTER_OTLP_TIMEOUT" ;
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ internal OtlpExporterOptions(
6262 {
6363 Debug . Assert ( defaultBatchOptions != null , "defaultBatchOptions was null" ) ;
6464 var finalConfiguration = new ConfigurationBuilder ( )
65- . AddEnvironmentVariables ( OtlpSpecConfigDefinitions . EnvVarPrefix )
65+ . AddEnvironmentVariables ( )
6666 . AddConfiguration ( configuration )
6767 . Build ( ) ;
6868
You can’t perform that action at this time.
0 commit comments