Skip to content

Commit 8b6f102

Browse files
committed
add comment
1 parent 9c8b6c6 commit 8b6f102

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

instrumentation/spring/spring-boot-actuator-autoconfigure-2.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/spring/actuator/v2_0/OpenTelemetryMeterRegistryAutoConfiguration.java

+2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ public MeterRegistry otelMeterRegistry() {
4343

4444
@Bean
4545
// static to avoid "is not eligible for getting processed by all BeanPostProcessors" warning
46+
// must be public because this class is injected as a proxy when using non-inlined advice and that
47+
// proxy contains only public methods
4648
public static BeanPostProcessor postProcessCompositeMeterRegistry() {
4749
return new BeanPostProcessor() {
4850
@Override

0 commit comments

Comments
 (0)