Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-11475

Counter - registry.counter(metadata)- IllegalArgumentException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • 15.0.0.Final
    • MP Metrics
    • None

      Counter - registry.counter(metadata) returns IllegalArgumentException on second invocation of the endpoint. The same app works fine on Open Liberty.

      JavaDoc for counter(Metadata metadata) says @return a new or pre-existing @link Counter.
      Second invocation should return the pre-existing counter.

      https://github.com/smallrye/smallrye-metrics/issues/43

            rhn-cservice-bbaranow Bartosz Baranowski
            rsvoboda@redhat.com Rostislav Svoboda
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: