You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-functions/functions-monitoring.md
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -402,24 +402,28 @@ This code is an alternative to calling `trackMetric` by using the Node.js SDK fo
402
402
403
403
## Log custom telemetry in C# functions
404
404
405
-
Youcanusethe [Microsoft.ApplicationInsights](https://www.nuget.org/packages/Microsoft.ApplicationInsights/) NuGet package to send custom telemetry data to Application Insights. The following C# example uses the [custom telemetry API](../azure-monitor/app/api-custom-events-metrics.md). The example is for a .NET class library, but the Application Insights code is the same for C# script.
405
+
ThereisaFunctions-specificversionoftheApplicationInsightsSDKthatyoucanusetosendcustomtelemetrydatafromyourfunctionstoApplicationInsights: [Microsoft.Azure.WebJobs.Logging.ApplicationInsights](https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Logging.ApplicationInsights). Use a version of this package that supports your installed version of [Microsoft.Azure.WebJobs](https://www.nuget.org/packages/Microsoft.Azure.WebJobs/).
Version 2.xandlaterversionsoftheruntimeusenewerfeaturesinApplicationInsightstoautomaticallycorrelatetelemetrywiththecurrentoperation. There'snoneedtomanuallysettheoperation `Id`, `ParentId`, or `Name` fields.
0 commit comments