Skip to content

Commit 45d725d

Browse files
author
Timothy Mothra
authored
Update opentelemetry-configuration.md
1 parent 691d4e5 commit 45d725d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

articles/azure-monitor/app/opentelemetry-configuration.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ Use one of the following three ways to configure the connection string:
3131
var builder = WebApplication.CreateBuilder(args);
3232

3333
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>";
34+
options.ConnectionString = "<Your Connection String>";
3635
});
3736

3837
var app = builder.Build();

0 commit comments

Comments
 (0)