Skip to content

Commit 3e87e42

Browse files
Update gdi/get-data-in/application/otel-dotnet/instrumentation/azure-webapps.rst
Co-authored-by: Piotr Kiełkowicz <[email protected]>
1 parent c77fae3 commit 3e87e42

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gdi/get-data-in/application/otel-dotnet/instrumentation/azure-webapps.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,10 @@ After adding the dependencies, create an OpenTelemetry helper for your applicati
100100
101101
builder.Services.AddOpenTelemetry()
102102
.ConfigureResource(cfg => cfg
103+
// See https://github.com/open-telemetry/opentelemetry-dotnet-contrib/tree/main/src/OpenTelemetry.Resources.Azure
104+
// for other types of Azure detectors
103105
.AddAzureAppServiceDetector()
104106
.AddService(serviceName: serviceName, serviceVersion: "1.0.0"))
105-
// See https://github.com/open-telemetry/opentelemetry-dotnet-contrib/tree/main/src/OpenTelemetry.Resources.Azure
106107
.WithTracing(t => t
107108
// Use Add[instrumentation-name]Instrumentation to instrument missing services
108109
// Use Nuget to find different instrumentation libraries

0 commit comments

Comments
 (0)