Skip to content

Commit

Permalink
Merge pull request #248 from jeanbisutti/bump-azure-monitor-opentelem…
Browse files Browse the repository at this point in the history
…etry-exporter

Bump Azure Monitor OpenTelemetry Exporter
  • Loading branch information
brunobat authored Nov 7, 2024
2 parents 75fb02d + 0ad5862 commit aff074d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<gcp-opentelemetry.version>0.27.0</gcp-opentelemetry.version>
<!-- <gax-grpc.version>2.39.0</gax-grpc.version>-->

<azure-monitor-opentelemetry-exporter.version>1.0.0-beta.26</azure-monitor-opentelemetry-exporter.version>
<azure-monitor-opentelemetry-exporter.version>1.0.0-beta.31</azure-monitor-opentelemetry-exporter.version>
<quarkus-azure-services-bom.version>1.0.2</quarkus-azure-services-bom.version>

<assertj-core.version>3.26.3</assertj-core.version>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
package io.quarkiverse.opentelemetry.exporter.azure.runtime;

import com.azure.monitor.opentelemetry.exporter.AzureMonitorExporter;
import jakarta.inject.Singleton;

import com.azure.monitor.opentelemetry.exporter.AzureMonitorExporterBuilder;

import io.opentelemetry.sdk.autoconfigure.AutoConfiguredOpenTelemetrySdkBuilder;
import io.quarkus.opentelemetry.runtime.AutoConfiguredOpenTelemetrySdkBuilderCustomizer;

Expand All @@ -17,8 +16,7 @@ public AzureMonitorCustomizer(String azureConnectionString) {
}

@Override
public void customize(AutoConfiguredOpenTelemetrySdkBuilder builder) {
new AzureMonitorExporterBuilder().connectionString(azureConnectionString)
.install(builder);
public void customize(AutoConfiguredOpenTelemetrySdkBuilder sdkBuilder) {
AzureMonitorExporter.customize(sdkBuilder, azureConnectionString);
}
}

0 comments on commit aff074d

Please sign in to comment.