Azure App Insights SDK vs OpenTelemetry SDK

Vivek Shankar 95 Reputation points Microsoft Employee
2023-06-04T20:15:43.8233333+00:00

I would like to add instrumentation to my code running in Azure Functions and App Service to emit telemetry data that could be visualized using Azure App Insights / other tools within the Azure Monitor umbrella. Are there any pros and cons of using OpenTelemetry SDK vs App Insights SDK for emitting the telemetry data when the applications are deployed within Azure?

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,027 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,657 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,389 questions
0 comments No comments
{count} vote

Accepted answer
  1. AnuragSingh-MSFT 21,246 Reputation points
    2023-06-05T07:45:21.93+00:00

    @Vivek Shankar , Thank you for the question.

    There are 2 major points that you should consider when choosing the monitoring solution for the App Service/Azure Function:

    1. Open telemetry is still in preview for all the framework/languages, except Java for which the Open Telemetry support with AppInsights is generally available. For other framework/languages, the GA date has not been announced yet.
    2. Depending on the framework/language that your app uses, there are a number of features which are not supported with OpenTelemetry yet. For a complete list, please review the following link - What's the current release state of features within the Azure Monitor OpenTelemetry Distro?

    Hope this helps.

    If the answer did not help, please add more context/follow-up question for it, and we will help you out. Else, if the answer helped, please click Accept answer so that it can help others in the community looking for help on similar topics.

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful