microsoft / ApplicationInsights-node.js

Microsoft Application Insights SDK for Node.js
MIT License
321 stars 138 forks source link

Fix SDK Version Set in the Agent #1283

Closed JacksonWeber closed 4 months ago

JacksonWeber commented 4 months ago

Fixes a bug in the agent (2.10.5) where we would double-set the SDK version in Linux App Service auto-attach scenarios. This change unifies setting the agent version on envelopes in the Default Bootstrap file in auto-attach scenarios, and only sets the SDK version in the Context file if no compatible auto-attach RP environment is detected.