Use "micrometer" instrumentation name in the Spring Actuator instrume… (#8677)
This commit is contained in:
parent
1f64215f38
commit
6b285b0df3
|
|
@ -19,7 +19,12 @@ import net.bytebuddy.matcher.ElementMatcher;
|
||||||
public class SpringBootActuatorInstrumentationModule extends InstrumentationModule {
|
public class SpringBootActuatorInstrumentationModule extends InstrumentationModule {
|
||||||
|
|
||||||
public SpringBootActuatorInstrumentationModule() {
|
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
|
@Override
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue