Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,645 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi
when migrating from Classic Application Insight to OpenTelemetry as recommended. My application stops auto collecting logs which are generated with console.log console.warn etc in my Node.js application
I use the following config. What is missing? Thank you
const { useAzureMonitor } = require("@azure/monitor-opentelemetry");
useAzureMonitor({
instrumentationOptions: {
http: { enabled: true },
azureSdk: { enabled: true },
mongoDb: { enabled: true }
},
enableLiveMetrics: true,
enableStandardMetrics: true
});
const
useAzureMonitor
instrumentationOptions
http
azureSdk
mongoDb
},
enableLiveMetrics
enableStandardMetrics
});