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=hubNameStep 2. Create a service principal for Azure Monitor
- Create a service principal. You can name it
signoz-central-collector-appand leave the redirect URI empty. - Assign it a read role. You can give read access to the full subscription.
- Create a client secret and copy it. The Collector configuration uses it as
client_secret. - In the Azure portal, open the application you created. Copy the Application (client) ID and the Directory (tenant) ID from the Overview section.

Deploy the Collector
Step 1. Add the OpenTelemetry Helm repository
helm repo add open-telemetry https://open-telemetry.github.io/opentelemetry-helm-chartsStep 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:...}.
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.yamlFor all chart options, see the OpenTelemetry Collector Helm chart.
Step 1. Install the Collector
On the VM, download the OpenTelemetry Collector Contrib binary to the folder where you will create config.yaml:
ARCH=$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/')
curl -fsSL "https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v0.163.2/otelcol-contrib_0.163.2_linux_${ARCH}.tar.gz" | tar -xz otelcol-contribStep 2. Store the credentials in an environment file
In the same folder, create collector.env with the credentials. Keep the single quotes, because the connection string contains semicolons:
EVENTHUB_CONNECTION_STRING='<Primary Connection String>'
AZURE_CLIENT_SECRET='<Client Secret>'
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.
Make the file readable only by your user:
chmod 600 collector.envStep 3. Create the configuration
Create config.yaml with the content below. The Collector reads the credentials from the environment variables that collector.env sets:
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. Run the Collector
Load the credentials into the shell, then start the Collector:
set -a; . ./collector.env; set +a
./otelcol-contrib --config ./config.yaml &> otelcol-output.log & echo "$!" > otel-pidThe Collector runs in the background and writes its output to otelcol-output.log.
Step 5. Open the OTLP ports
In the Networking section of the VM, add inbound rules for port 4317 (gRPC) and port 4318 (HTTP), so that your services can send data to the Collector. Set the Source of each rule to your virtual network, or to the IP ranges of the services that send data.
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:
- 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.
- Click on the "Configuration" tab.
- Enter the DNS label you want to use for the collector.
- Click on "Save".

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
- Check the Collector output for startup errors:
kubectl logson the Collector pod for Kubernetes, orotelcol-output.logon the VM. - In SigNoz, open the Logs Explorer and filter on
source_type = 'azureeventhub'to see the Event Hub logs. - 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:
- Make sure that the Collector is running and that your Azure services can reach it.
- Check the Collector logs for errors or warnings.
- Make sure that the ports and firewall rules allow incoming connections to the Collector.
- Make sure that your Azure services send data to the Collector endpoint.
- Make sure that the
otlphttpexporter uses your SigNoz Cloud region and ingestion key. On Kubernetes, make sure that thesignoz-azure-collectorSecret exists in the Collector's namespace.
Next Steps
- Send Event Hub logs from your Azure resources to the Collector.
- Monitor Azure services through the Collector, for example AKS and Virtual Machines.
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.