We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7c4737 commit 0837d67Copy full SHA for 0837d67
sample/ServiceDefaults.cs
@@ -71,7 +71,7 @@ public static TBuilder ConfigureOpenTelemetry<TBuilder>(this TBuilder builder)
71
});
72
73
74
- if (string.IsNullOrWhiteSpace(builder.Configuration["OTEL_EXPORTER_OTLP_ENDPOINT"]))
+ if (!string.IsNullOrWhiteSpace(builder.Configuration["OTEL_EXPORTER_OTLP_ENDPOINT"]))
75
builder.Services.AddOpenTelemetry().UseOtlpExporter();
76
77
return builder;
0 commit comments