Search code examples
node.jsazuredockerazure-application-insights

Application insights profiling NodeJs application using Docker image


I want to know if Azure App insights support profiling for Nodejs Apps. If not the case, is there any alternative for that?

Thanks


Solution

  • I want to know if Azure App insights support profiling for Nodejs Apps.

    Yes, you can perform profiling for Node.js apps using Azure Application Insights.

    According to documentation, install the following client libraries:

    npm install @opentelemetry/sdk-trace-base
    npm install @opentelemetry/sdk-trace-node
    npm install @azure/monitor-opentelemetry-exporter
    

    You can refer to Monitor your Node.js services and apps with Application Insights, Use Application Insights with on-premises Node.js application and Need help and guidance for accessing operationId in nodejs application

    For more information, you can check the GitHub repository of Application Insights SDK for Node.js