Forum Discussion
eugene1710
Apr 21, 2023Copper Contributor
Send custom data to Log Analytics in Azure Functions
When I send custom biz data to Azure Log Analytics in an Azure Function(C# code), I want to use a OperationalInsightsDataColloector, but I can't find the class in Microsoft.Azure.Operationallnsight package from nuget. Anyone knows whehter it is obseleted?
1 Reply
The OperationalInsightsDataCollector class is not part of the current Microsoft.Azure.OperationalInsights NuGet package and has been deprecated.
https://learn.microsoft.com/en-us/azure/azure-functions/configure-monitoring
https://learn.microsoft.com/en-us/azure/azure-monitor/logs/custom-logs-migrate