You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug MetricsInterceptor does not see the methods annotated with @Gauge if they're not registered for reflection by another extension or annotated with @RegisterForReflection.
Expected behavior
Methods are registered automatically.
Actual behavior
Methods are not registered automatically. MetricsInterceptor does not register a gauge method. No error or warning message.
To Reproduce
Steps to reproduce the behavior:
Add the following bean class to the microprofile-metrics-quickstart
Describe the bug
MetricsInterceptor
does not see the methods annotated with@Gauge
if they're not registered for reflection by another extension or annotated with@RegisterForReflection
.Expected behavior
Methods are registered automatically.
Actual behavior
Methods are not registered automatically.
MetricsInterceptor
does not register a gauge method. No error or warning message.To Reproduce
Steps to reproduce the behavior:
microprofile-metrics-quickstart
STARTUP
message in the log but the gauge is not listed on http://localhost:8080/metrics/applicationWorkaround
Annotated the class with
@RegisterForReflection
.The text was updated successfully, but these errors were encountered: