Skip to content

Azure Monitor Exporter: Telemetry is not exported to Azure Monitor #36704

Description

@akakarikos

Component(s)

exporter/azuremonitor

What happened?

Description

After upgrading to otel-contrib image version 0.115.1 no telemetry is exported to Azure Monitor (Application Insights).

Steps to Reproduce

Upgrade otel-contrib image version to 0.115.1 and add the exporters/azuremonitor to the logs and traces pipelines.

Expected Result

All telemetry (logs,traces) should be exported to Azure Monitor (Application Insights).

Actual Result

No telemetry is exported/shown in Azure Monitor.

Collector version

0.115.0

Environment information

Environment

OTel Version: 0.115.0.
OTel Contrib Image version: 0.115.1

OpenTelemetry Collector configuration

apiVersion: v1
kind: ConfigMap
metadata:
  name: otel-collector-config
data:
  config.yaml: |-
    receivers:
      zipkin:
        endpoint: localhost:9411
      otlp:
        protocols:
          grpc:
            endpoint: localhost:4317
          http:
            endpoint: localhost:4318
            
    processors:
      memory_limiter:
        check_interval: 1s
        limit_percentage: 80
        spike_limit_percentage: 30

      batch:
        send_batch_size: 50
    
    exporters:
      debug:
        verbosity: detailed
    
      azuremonitor:
        instrumentation_key: ${env:OTEL_INSTRUMENTATION_KEY}
        spaneventsenabled: true

      azuredataexplorer:
        cluster_uri: ${env:OTEL_ADX_CLUSTER_URI}
        application_id: ${env:OTEL_APPLICATION_ID}
        application_key: ${env:OTEL_APPLICATION_KEY}
        tenant_id: ${env:OTEL_TENANT_ID}
        db_name: ${env:OTEL_DB_NAME}
        metrics_table_name: ${env:OTEL_METRICS_TABLE_NAME}
        logs_table_name: ${env:OTEL_LOGS_TABLE_NAME}
        traces_table_name: ${env:OTEL_TRACES_TABLE_NAME}
        ingestion_type : 'managed'
    
    service:
      pipelines:
        traces:
          receivers: [zipkin,otlp]
          processors: [memory_limiter,batch]
          exporters: [azuredataexplorer,azuremonitor,debug]
        logs:
          receivers: [otlp]
          processors: [memory_limiter,batch]
          exporters: [azuredataexplorer,azuremonitor,debug]

Log output

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions