Skip to content

Commit 457bb31

Browse files
authored
Merge pull request #105887 from craigshoemaker/patch-3
Update TelemetryClient guidance
2 parents 03b9c27 + f220c65 commit 457bb31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/azure-functions/functions-dotnet-dependency-injection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ If you need your own logging provider, register a custom type as an `ILoggerProv
125125

126126
> [!WARNING]
127127
> - Do not add `AddApplicationInsightsTelemetry()` to the services collection as it registers services that conflict with services provided by the environment.
128-
> - Do not register your own `TelemetryConfiguration` or `TelemetryClient` if you are using the built-in Application Insights functionality.
128+
> - Do not register your own `TelemetryConfiguration` or `TelemetryClient` if you are using the built-in Application Insights functionality. If you need to configure your own `TelemetryClient` instance, create one via the injected `TelemetryConfiguration` as shown in [Monitor Azure Functions](./functions-monitoring.md#version-2x-and-later-2).
129129
130130
## Function app provided services
131131

0 commit comments

Comments
 (0)