Quarkus Opentelemetry Exporter for Microsoft Azure

This exporter sends data to the Azure portal.

General configuration

First, add the quarkus-opentelemetry extension to your build file.

After, add the Azure extension to be able to send the telemetry data to the Azure portal.

<dependency>
    <groupId>io.quarkiverse.opentelemetry.exporter</groupId>
    <artifactId>quarkus-opentelemetry-exporter-azure</artifactId>
    <version>3.8.3.0</version>
</dependency>

You also need an Application Insights resource receiving the telemetry data. Go to the Azure portal, search for your Application Insights resource or create a new one. On the overview page of your resource, you will find a connection string in the top right corner.

You can set the connection string:

  • In the application.properties file:

quarkus.otel.azure.applicationinsights.connection.string=your_connection_string
  • Or as an environment variable: QUARKUS_OTEL_AZURE_APPLICATIONINSIGHTS_CONNECTION_STRING=your_connection_string

You can disable the Azure export in this way:

quarkus.opentelemetry.tracer.exporter.azure.enabled=false

Read this page to learn more configuration options.

Enable more instrumentation

Extension Configuration Reference