[jboss-jira] [JBoss JIRA] (WFLY-11475) Counter - registry.counter(metadata)- IllegalArgumentException
Bartosz Baranowski (Jira)
issues at jboss.org
Tue Dec 11 03:35:00 EST 2018
[ https://issues.jboss.org/browse/WFLY-11475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bartosz Baranowski updated WFLY-11475:
--------------------------------------
Steps to Reproduce:
1. Build and deploy WAR: https://github.com/rsvoboda/rsvoboda-playground/tree/master/microprofile-metrics-hello-prometheus
2. curl http://localhost:8080/hello-prometheus/resources/coffee/stats
> Counter - registry.counter(metadata)- IllegalArgumentException
> --------------------------------------------------------------
>
> Key: WFLY-11475
> URL: https://issues.jboss.org/browse/WFLY-11475
> Project: WildFly
> Issue Type: Bug
> Components: MP Metrics
> Affects Versions: 15.0.0.Final
> Reporter: Rostislav Svoboda
> Assignee: Bartosz Baranowski
> Priority: Critical
>
> 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
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list