Skip to content

Commit cb6d5b8

Browse files
(AzureCXP) Fixes MicrosoftDocs/azure-docs#40482
Updated code in the full example new TelemetryClient() with new TelemetryClient(configuration)
1 parent 57f754b commit cb6d5b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/azure-monitor/app/console.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ namespace ConsoleApp
154154
configuration.InstrumentationKey = "removed";
155155
configuration.TelemetryInitializers.Add(new HttpDependenciesParsingTelemetryInitializer());
156156

157-
var telemetryClient = new TelemetryClient();
157+
var telemetryClient = new TelemetryClient(configuration);
158158
using (InitializeDependencyTracking(configuration))
159159
{
160160
// run app...

0 commit comments

Comments
 (0)