Application Insights intergration
It would be great to have out-of-the-box integration with Application Insights. The Invocation log is ok but Application Insights much better.
How I see it:
- HTTP requests as Request telemetry
- TraceWriter.Info/Warning/Verbose as Custom Event
- TraceWriter.Error as Exception
- Input/Outputs as Dependency calls
The instrumentation key and other related configs could be placed in the host.json:
{
"applicationInsights": {
"instrumentationKey": "6e82db88-1d7b-411b-84cc-818cf195a91f",
"maxTelemetryItemsPerSecond": "10",
"telemetryModules": [
"Microsoft.ApplicationInsights.DependencyCollector.DependencyTrackingTelemetryModule",
"Microsoft.ApplicationInsights.Web.ExceptionTrackingTelemetryModule"
],
"telemetryInitializers":[
"Microsoft.ApplicationInsights.Web.ClientIpHeaderTelemetryInitializer",
"Microsoft.ApplicationInsights.Web.OperationNameTelemetryInitializer"
]
}
}
Application Insights integration was made generally available last week!
1 comment
-
Steve Lee
commented
There's a preview - https://github.com/Azure/Azure-Functions/wiki/App-Insights-Early-Preview