For the complete documentation index, see llms.txt. Markdown versions are available by appending .md to documentation URLs.

Set Up a Central OpenTelemetry Collector on Azure VM or AKS

SigNoz Cloud - This page applies to SigNoz Cloud editions.

Overview

A central OpenTelemetry Collector receives telemetry from your Azure services and sends it to SigNoz. It separates the platform team, which runs the Collector, from the application teams, which only send data to it. The Collector also collects metrics from Azure Monitor and logs from Azure Event Hub.

This guide deploys the Collector on Azure Kubernetes Service (AKS) with Helm, or on an Azure virtual machine (VM).

Prerequisites

  • An active Azure subscription.
  • The Azure CLI on your computer.
  • An Event Hub for logs. See EventHub Setup.
  • A SigNoz Cloud account.
  • For Kubernetes: a cluster where you can install Helm charts.

Prepare the Azure Credentials

The Collector needs one Event Hub connection string for logs and one service principal for Azure Monitor metrics.

Step 1. Get the Event Hub connection string

Follow the Event Hub setup to create the listen-only signozListen SAS policy for the Event Hub, and copy its primary connection string. It looks like this:

connection: Endpoint=sb://namespace.servicebus.windows.net/;SharedAccessKeyName=signozListen;SharedAccessKey=superSecret1234=;EntityPath=hubName

Step 2. Create a service principal for Azure Monitor

  1. Create a service principal. You can name it signoz-central-collector-app and leave the redirect URI empty.
  2. Assign it a read role. You can give read access to the full subscription.
  3. Create a client secret and copy it. The Collector configuration uses it as client_secret.
  4. In the Azure portal, open the application you created. Copy the Application (client) ID and the Directory (tenant) ID from the Overview section.
Application Overview
Application Overview
  1. Find your subscription ID.

Deploy the Collector

Step 1. Add the OpenTelemetry Helm repository

helm repo add open-telemetry https://open-telemetry.github.io/opentelemetry-helm-charts

Step 2. Store the credentials in a Secret

The chart stores the collector configuration in a ConfigMap, which Kubernetes does not encrypt. Store the three credentials in a Secret instead, and the Collector reads them from environment variables. Replace <namespace> with the Kubernetes namespace for the Collector:

kubectl create namespace <namespace>
kubectl create secret generic signoz-azure-collector -n <namespace> \
  --from-literal=eventhub-connection-string='<Primary Connection String>' \
  --from-literal=azure-client-secret='<Client Secret>' \
  --from-literal=signoz-ingestion-key='<ingestion-key>'

Verify these values:

  • <Primary Connection String>: the Event Hub connection string from Step 1.
  • <Client Secret>: the client secret from Step 2.
  • <ingestion-key>: your SigNoz ingestion key.

Step 3. Create the values file

Create otel-collector-values.yaml with the content below. The chart reads the collector configuration from the config key, and image.repository selects the contrib image, which includes the Azure Monitor and Event Hub receivers. extraEnvs loads the credentials from the Secret, and the configuration reads them with ${env:...}.

otel-collector-values.yaml
mode: deployment
 
image:
  repository: otel/opentelemetry-collector-contrib
 
# Read the credentials from the signoz-azure-collector Secret, not from the ConfigMap
extraEnvs:
  - name: EVENTHUB_CONNECTION_STRING
    valueFrom:
      secretKeyRef:
        name: signoz-azure-collector
        key: eventhub-connection-string
  - name: AZURE_CLIENT_SECRET
    valueFrom:
      secretKeyRef:
        name: signoz-azure-collector
        key: azure-client-secret
  - name: SIGNOZ_INGESTION_KEY
    valueFrom:
      secretKeyRef:
        name: signoz-azure-collector
        key: signoz-ingestion-key
 
config:
  service:
    pipelines:
      metrics/am:
        receivers: [azuremonitor]
        processors: [memory_limiter, batch]
        exporters: [otlphttp]
      traces:
        receivers: [otlp]
        processors: [memory_limiter, batch]
        exporters: [otlphttp]
      metrics:
        receivers: [otlp]
        processors: [memory_limiter, batch]
        exporters: [otlphttp]
      logs:
        receivers: [otlp]
        processors: [memory_limiter, batch]
        exporters: [otlphttp]
      logs/azure:
        receivers: [azureeventhub]
        processors: [memory_limiter, resource/azure, batch]
        exporters: [otlphttp]
 
  receivers:
    otlp:
      protocols:
        grpc:
          endpoint: 0.0.0.0:4317
        http:
          endpoint: 0.0.0.0:4318
    # On Collector v0.145.0 and newer, you can use "azure_event_hub" to avoid a deprecation warning.
    azureeventhub:
      connection: ${env:EVENTHUB_CONNECTION_STRING}
      format: "azure"
      apply_semantic_conventions: true
    # On Collector v0.148.0 and newer, you can use "azure_monitor" to avoid a deprecation warning.
    azuremonitor:
      subscription_ids: ["<Subscription ID>"]
      tenant_id: "<AD Tenant ID>"
      client_id: "<Client ID>"
      client_secret: ${env:AZURE_CLIENT_SECRET}
      resource_groups: ["<rg-1>"]
      collection_interval: 60s
 
  processors:
    batch: {}
    memory_limiter:
      check_interval: 5s
      limit_percentage: 80
      spike_limit_percentage: 25
    resource/azure:
      attributes:
        - key: source_type
          value: "azureeventhub"
          action: upsert
 
  exporters:
    # On Collector v0.144.0 and newer, you can use "otlp_http" to avoid a deprecation warning.
    otlphttp:
      endpoint: "https://ingest.<region>.signoz.cloud:443"
      headers:
        signoz-ingestion-key: ${env:SIGNOZ_INGESTION_KEY}

Verify these values:

  • <Subscription ID>, <AD Tenant ID>, and <Client ID>: the values from Step 2.
  • <rg-1>: the resource groups to collect metrics from.
  • <region>: your SigNoz Cloud region.

Step 4. Install the chart

Use the same <namespace> as in Step 2:

helm install -n <namespace> --create-namespace otel-collector open-telemetry/opentelemetry-collector -f otel-collector-values.yaml

For all chart options, see the OpenTelemetry Collector Helm chart.

Configure a DNS Label for the Collector

To the IP address of the collector, you can add a DNS label to the Public IP address. This will make it easier to refer to the centralized collector from other services. You can do this by following these steps:

  1. Go to the Public IP address of the collector. This would be the IP address of the VM or Load Balancer in case of Kubernetes or Load Balanced collector.
  2. Click on the "Configuration" tab.
  3. Enter the DNS label you want to use for the collector.
  4. Click on "Save".
DNS label for collector
DNS label for collector

If you're using kubernetes, you probably have ExternalDNS configured and you can use that to set up DNS name for your collector as well.

Validate

  1. Check the Collector output for startup errors: kubectl logs on the Collector pod for Kubernetes, or otelcol-output.log on the VM.
  2. In SigNoz, open the Logs Explorer and filter on source_type = 'azureeventhub' to see the Event Hub logs.
  3. In the Metrics Explorer, search for metrics that start with azure_ to see the Azure Monitor metrics.

Troubleshooting

If data does not arrive in SigNoz:

  1. Make sure that the Collector is running and that your Azure services can reach it.
  2. Check the Collector logs for errors or warnings.
  3. Make sure that the ports and firewall rules allow incoming connections to the Collector.
  4. Make sure that your Azure services send data to the Collector endpoint.
  5. Make sure that the otlphttp exporter uses your SigNoz Cloud region and ingestion key. On Kubernetes, make sure that the signoz-azure-collector Secret exists in the Collector's namespace.

Next Steps

Get Help

If you need help with the steps in this topic, please reach out to us on SigNoz Community Slack. If you are a SigNoz Cloud user, please use in product chat support located at the bottom right corner of your SigNoz instance or contact us at cloud-support@signoz.io.

Is this page helpful

Last updated—November 20, 2026