2
votes

My application is Microsoft Azure Function App. Using with HttpTrigger along with Microsoft.Extensions.Logging - ILogger.

How to add custom column into Application Insights - Request, trace table.

That column to co-relate the application reference ID with application insight's operation id.

1

1 Answers

0
votes

This article explains how to use your own TelemetryClient which can run in parallel to ILogger and give you the full flexibility to put telemetry into AppInsights: https://github.com/Azure/Azure-Functions/wiki/App-Insights#custom-telemetry

Also you can take a look at this to add custom dimensions using ILoggerdirectly: https://github.com/Azure/azure-functions-host/wiki/ILogger#structured-logging