Skip to content

OpenTelemetry AzureMonitor

Tore Nestenius edited this page Dec 29, 2024 · 1 revision

Azure Monitor Support

The Cloud Debugger includes optional support for Azure Monitor, enabling seamless integration with Azure Application Insights. By configuring the environment variable APPLICATIONINSIGHTS_CONNECTION_STRING with your Application Insights connection string, all OpenTelemetry data—logs, metrics, and traces—will be sent directly to Azure Monitor.

Enabling Azure Monitor

To enable Azure Monitor support:

  1. Set the environment variable APPLICATIONINSIGHTS_CONNECTION_STRING with your Application Insights connection string.
  2. Once configured, OpenTelemetry data will automatically flow to Azure Monitor, where it can be visualized and analyzed.

Important Notes

  • When Azure Monitor support is enabled, the built-in OpenTelemetry viewer tools within the Cloud Debugger (e.g., logs, metrics, and traces viewers) will be disabled. This ensures that data is exclusively directed to Azure Monitor for centralized monitoring.
  • By default, the Cloud Debugger operates in "local mode," using in-memory exporters for logs, metrics, and traces. This mode is bypassed when Azure Monitor is enabled.
Clone this wiki locally