[jboss-jira] [JBoss JIRA] (WFLY-11459) Histogram - registry.histogram(metadata) - IllegalArgumentException

Bartosz Baranowski (Jira) issues at jboss.org
Thu Dec 13 01:25:00 EST 2018


     [ https://issues.jboss.org/browse/WFLY-11459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bartosz Baranowski updated WFLY-11459:
--------------------------------------
    Workaround Description: Us Metadata constructor that will set "reusable" flag: https://github.com/eclipse/microprofile-metrics/blob/branch-1.1/api/src/main/java/org/eclipse/microprofile/metrics/Metadata.java#L253


> Histogram - registry.histogram(metadata) - IllegalArgumentException
> -------------------------------------------------------------------
>
>                 Key: WFLY-11459
>                 URL: https://issues.jboss.org/browse/WFLY-11459
>             Project: WildFly
>          Issue Type: Bug
>          Components: MP Metrics
>    Affects Versions: 15.0.0.Final
>            Reporter: Rostislav Svoboda
>            Priority: Critical
>
> Histogram - registry.histogram(metadata) returns IllegalArgumentException on second invocation of the endpoint. The same app works fine on Open Liberty.
> JavaDoc of public abstract Histogram histogram(Metadata metadata); says {{@return a new or pre-existing Histogram}} so on second invocation I should get the pre-existing histogram.
> https://github.com/smallrye/smallrye-metrics/issues/42



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list