microsoft / ApplicationInsights-node.js

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

Fix Telemetry To Log Conversion & Update OTel Deps #1312

Closed JacksonWeber closed 2 months ago

JacksonWeber commented 2 months ago

Sending Log bodies as a string was breaking with the Azure SDK's serialization (being broken apart into individual objects per letter of the string). Fix upgrades to the latest OTel logs instrumentations which now allow for passing an object as the Log body, thereby fixing the log body serialization in Azure SDK.