I want to send custom logs to azure app insights from azure function app.
For eg i want to send error code error message and payload from azure functions to app insights
I want to send custom logs to azure app insights from azure function app.
For eg i want to send error code error message and payload from azure functions to app insights
2
Answers
Here’s an example:
For extra properties you can do the following:
1.Enable AppInsights in Azure Portal
2.Get Instrumentation Key from Azure portal for AppInsights
3.Add key to local.settings.json: