Skip to content

Commit

Permalink
Disable OTel SDK shutdown hook registration (#1022)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrille-leclerc authored Aug 28, 2023
1 parent 9d93cd9 commit 2fc1a50
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ public void initialize() {
AutoConfiguredOpenTelemetrySdk.builder()
.setServiceClassLoader(getClass().getClassLoader())
.addPropertiesSupplier(() -> properties)
.disableShutdownHook()
.build();

if (logger.isDebugEnabled()) {
Expand Down

0 comments on commit 2fc1a50

Please sign in to comment.