Skip to content

Commit

Permalink
[GOBBLIN-2055] Only sets opentelemetry to be built locally rather tha…
Browse files Browse the repository at this point in the history
…n global (apache#3936)
  • Loading branch information
Will-Lo authored Apr 26, 2024
1 parent 9b4989e commit 4de95d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ protected void initialize(State state) {
.build())
.build();

this.openTelemetry = OpenTelemetrySdk.builder().setMeterProvider(meterProvider).buildAndRegisterGlobal();
this.openTelemetry = OpenTelemetrySdk.builder().setMeterProvider(meterProvider).build();
}

protected static Map<String, String> parseHttpHeaders(String headersString) {
Expand Down

0 comments on commit 4de95d6

Please sign in to comment.