[jboss-jira] [JBoss JIRA] (WFWIP-146) WARN messages when /metrics endpoint is accessed
Rostislav Svoboda (Jira)
issues at jboss.org
Tue Nov 6 09:26:01 EST 2018
Rostislav Svoboda created WFWIP-146:
---------------------------------------
Summary: WARN messages when /metrics endpoint is accessed
Key: WFWIP-146
URL: https://issues.jboss.org/browse/WFWIP-146
Project: WildFly WIP
Issue Type: Bug
Components: MP Metrics
Reporter: Rostislav Svoboda
Assignee: Jeff Mesnil
WARN messages when /metrics endpoint is accessed.
With standalone.xml I see 12 warnings.
{code}
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 at 15.0.0.Alpha1-SNAPSHOT//org.wildfly.extension.microprofile.metrics.MetricsRegistrationService$1.getValue(MetricsRegistrationService.java:197)
at org.wildfly.extension.microprofile.metrics-smallrye at 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)
{code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list