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 691d4e5 commit 45d725dCopy full SHA for 45d725d
articles/azure-monitor/app/opentelemetry-configuration.md
@@ -31,8 +31,7 @@ Use one of the following three ways to configure the connection string:
31
var builder = WebApplication.CreateBuilder(args);
32
33
builder.Services.AddOpenTelemetry().UseAzureMonitor(options => {
34
- //Uncomment the line below when setting the Application Insights Connection String via code
35
- //options.ConnectionString = "<Your Connection String>";
+ options.ConnectionString = "<Your Connection String>";
36
});
37
38
var app = builder.Build();
0 commit comments