Skip to content

Commit 44a6542

Browse files
authored
Merge pull request #109113 from mrbullwinkle/mrb_03_26_2020_custom_metrics_2
revert part of change
2 parents f9246e3 + ee36b2b commit 44a6542

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

articles/azure-monitor/app/api-custom-events-metrics.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,9 @@ If you use AzureFunctions v2+ or Azure WebJobs v3+ - follow this document: https
5959
*C#*
6060

6161
```csharp
62-
TelemetryConfiguration telemetry = TelemetryConfiguration.CreateDefault();
63-
var TelemetryClient = new TelemetryClient(telemetry);
62+
private TelemetryClient telemetry = new TelemetryClient();
6463
```
65-
For anyone using the now obsolete method please visit [microsoft/ApplicationInsights-dotnet#1152](https://github.com/microsoft/ApplicationInsights-dotnet/issues/1152) for further details.
64+
For anyone seeing this method is obsolete messages please visit [microsoft/ApplicationInsights-dotnet#1152](https://github.com/microsoft/ApplicationInsights-dotnet/issues/1152) for further details.
6665

6766
*Visual Basic*
6867

0 commit comments

Comments
 (0)