Skip to content

This project is a sample .NET 6 function app which defines an Http trigger function that integrates Application Insights to log telemetry on function executions with the Azure Monitoring service.

Notifications You must be signed in to change notification settings

jcedillodev/azure-functions-appinsights-dotnet6

Repository files navigation

azure-functions-appinsights-dotnet6

This project is a sample .NET 6 function app which defines an Http trigger function that integrates Application Insights to log telemetry on function executions with the Azure Monitoring service.

Repro Steps

The project was setup following the below documentation.

NOTE: Project setup using VS 2022 installed with Azure specific workloads - see documentation below: Configure Visual Studio for Azure development with .NET Overview: Azure integration

Dependencies:

  1. Microsoft.Azure.WebJobs (3.0.33)
  2. Microsoft.Azure.WebJobs.Logging.ApplicationInsights (3.0.33)

NOTE: The version in this project for both dependencies (Microsoft.Azure.WebJobs/Microsoft.Azure.WebJobs.Logging.ApplicationInsights) is 3.0.33 but the version for 'Microsoft.Azure.WebJobs.Logging.ApplicationInsights' should match the version of the 'Microsoft.Azure.WebJobs' package in a new solution.

Also, this project can be run locally and successfully demonstrate data ingestion into Application Insights by adding the app setting 'APPINSIGHTS_INSTRUMENTATIONKEY' with a valid instrumentation key value into the project local.settings.json file.

About

This project is a sample .NET 6 function app which defines an Http trigger function that integrates Application Insights to log telemetry on function executions with the Azure Monitoring service.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages