Add micrometer to blockhound config

This commit is contained in:
spencergibb
2022-05-18 20:22:45 -04:00
parent 3a78e666cb
commit 6b93ff9979

View File

@@ -93,6 +93,9 @@ public class CustomBlockHoundIntegration implements BlockHoundIntegration {
"org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader", "loadBeanDefinitions");
builder.allowBlockingCallsInside("org.springframework.core.type.classreading.SimpleMetadataReader",
"getClassReader");
builder.allowBlockingCallsInside("io.micrometer.contextpropagation.ThreadLocalAccessorLoader",
"getThreadLocalAccessors");
builder.allowBlockingCallsInside("io.micrometer.contextpropagation.PropagatorLoader", "getPropagatorForSet");
}
}