-
Notifications
You must be signed in to change notification settings - Fork 144
Description
I've been trying to migrate from OpenTelemetry Distro from App Insights 2.9.4 but I am not getting the backend services to show up in the Application Map or any requests in Live Metrics. There's no correlation between our frontend and our backend. Neither with AppInsights 3.3.x or the @azure/monitor-opentelemetry 1.7.1.
This is running inside a node22 alpine container with "express": "^4.21.0".
With version 2.9.x I am using a fairly simple setup:
const appInsights = require('applicationinsights');
appInsights
.setup('connectionstring')
.setAutoCollectConsole(true, true)
.setSendLiveMetrics(true);but using a similar basic setup with the two newer versions does not work. I've followed the offical documentation on the support pages but am not getting any results from that.
The only part that seems to work with the OpenTelemetry Distro is the ability to name the service using SemanticResourceAttributes.SERVICE_NAMESPACE. However, neither version 3 nor the OpenTelemetry Distro appear in the Application Map or register in Live Metrics aside from CPU usage.
Do you have any suggestions?