Use "micrometer" instrumentation name in the Spring Actuator instrume… (#8677)

This commit is contained in:
Mateusz Rzeszutek 2023-06-08 16:28:06 +02:00 committed by GitHub
parent 1f64215f38
commit 6b285b0df3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -19,7 +19,12 @@ import net.bytebuddy.matcher.ElementMatcher;
public class SpringBootActuatorInstrumentationModule extends InstrumentationModule {
public SpringBootActuatorInstrumentationModule() {
super("spring-boot-actuator-autoconfigure", "spring-boot-actuator-autoconfigure-2.0");
super(
"spring-boot-actuator-autoconfigure",
"spring-boot-actuator-autoconfigure-2.0",
// share the instrumentation name with MicrometerInstrumentationModule to lessen the users'
// confusion
"micrometer");
}
@Override