Azuredataexplorer Exporter
contrib
Maintainers: @ag-ramachandran
Source: opentelemetry-collector-contrib
Supported Telemetry
Overview
This exporter sends metrics, logs and trace data to Azure Data Explorer, Azure Synapse Data Explorer and Real time analytics in FabricConfiguration
The following settings are required:cluster_uri(no default): The cluster name of the provisioned ADX cluster to ingest the data.
- Service principal:
application_id(no default): The client id to connect to the cluster and ingest data.application_key(no default): The cluster secret corresponding to the client id.tenant_id(no default): The tenant id where the application_id is referenced from.
- Managed identity:
managed_identity_id(no default): The managed identity id to authenticate with. Set to “system” for system-assigned managed identity. Set the MI client ID (GUID) for user-assigned managed identity.
- Default authentication:
use_azure_auth(default: false): Set to true to use the Azure default authentication.
Note that the database tables are expected to be created upfront before the exporter is in operation , the definition of these are in the section Database and Table definition scripts
-
db_name(default = “oteldb”): The ADX database where the tables are present to ingest the data. -
metrics_table_name(default = OTELMetrics): The target table in the databasedb_namethat stores exported metric data. -
logs_table_name(default = OTELLogs): The target table in the databasedb_namethat stores exported logs data. -
traces_table_name(default = OTELTraces): The target table in the databasedb_namethat stores exported traces data. Optionally the following table mappings can be specified if the data needs to be mapped to a different table on ADX. This uses json table mapping that can be used to map attributes to target tables -
metrics_table_json_mapping(optional, no default): The table mapping name to be used for the tabledb_name.metrics_table_name -
logs_table_json_mapping(optional, no default): The table mapping name to be used for the tabledb_name.logs_table_name -
traces_table_json_mapping(optional, no default): The table mapping name to be used for the tabledb_name.traces_table_name -
ingestion_type(possible values=queued/managed, default = queued): ADX ingest can happen in managed streaming or queued modes.
Note: Streaming ingestion has to be enabled on ADX [configure the ADX cluster] in case of streaming option. Refer the query below to check if streaming is enabled
Attribute mapping
This exporter maps OpenTelemetry trace, metric and log attributes to specific structures in the ADX tables. These can then be extended by usage of update policies in ADX if neededTraces
Metrics
Logs
Database and Table definition scripts
The following tables need to be created in the database specified in the configuration.Optional configurations/Enhancements suggestions
- Using update policies , the collected data can further be processed as per application need. The following is an example where histogram metrics are exported to a histo specific table (buckets and aggregates)
OpenTelemetry Exporter Helper Configurations
The ADX exporter now includes support for OpenTelemetry exporter helper configurations. This feature allows you to leverage the exporter helper capabilities(retries, timeout etc.) provided natively by Otel. Read more about the exporterhelper. Please note that this configuration is not enabled by default. To utilize the OpenTelemetry exporter helper, you will need to add it manually to the configuration.Example Configuration
Last generated: 2026-08-24