-
Bug
-
Resolution: Done
-
Blocker
-
None
WARN messages when /metrics endpoint is accessed.
With standalone.xml I see 12 warnings.
14:52:14,117 WARN [io.smallrye.metrics] (management I/O-1) Unable to export metric subsystem_undertow_server_default_server_http_listener_default_processing_time: java.lang.IllegalStateException: WFLYMETRICS0006: Metric attribute processing-time on [
("subsystem" => "undertow"),
("server" => "default-server"),
("http-listener" => "default")
] is undefined and will not be exposed.
at org.wildfly.extension.microprofile.metrics-smallrye@15.0.0.Alpha1-SNAPSHOT//org.wildfly.extension.microprofile.metrics.MetricsRegistrationService$1.getValue(MetricsRegistrationService.java:197)
at org.wildfly.extension.microprofile.metrics-smallrye@15.0.0.Alpha1-SNAPSHOT//org.wildfly.extension.microprofile.metrics.MetricsRegistrationService$1.getValue(MetricsRegistrationService.java:174)
at io.smallrye.metrics//io.smallrye.metrics.exporters.PrometheusExporter.createSimpleValueLine(PrometheusExporter.java:340)
at io.smallrye.metrics//io.smallrye.metrics.exporters.PrometheusExporter.exposeEntries(PrometheusExporter.java:140)
at io.smallrye.metrics//io.smallrye.metrics.exporters.PrometheusExporter.getEntriesForScope(PrometheusExporter.java:116)
at io.smallrye.metrics//io.smallrye.metrics.exporters.PrometheusExporter.exportAllScopes(PrometheusExporter.java:85)
at io.smallrye.metrics//io.smallrye.metrics.MetricsRequestHandler.handleRequest(MetricsRequestHandler.java:83)