Uploaded image for project: 'WildFly WIP'
  1. WildFly WIP
  2. WFWIP-146

WARN messages when /metrics endpoint is accessed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • MP Metrics
    • 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)
      

              jmesnil1@redhat.com Jeff Mesnil
              rsvoboda@redhat.com Rostislav Svoboda
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: