[jboss-jira] [JBoss JIRA] (WFLY-12549) mp.metrics.tags does not work when specified in MP config subsystem

Parul Sharma (Jira) issues at jboss.org
Tue Apr 28 03:09:00 EDT 2020


    [ https://issues.redhat.com/browse/WFLY-12549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14062945#comment-14062945 ] 

Parul Sharma commented on WFLY-12549:
-------------------------------------

[~jmesnil] Are you working on this issue?

Thanks,
Parul

> mp.metrics.tags does not work when specified in MP config subsystem
> -------------------------------------------------------------------
>
>                 Key: WFLY-12549
>                 URL: https://issues.redhat.com/browse/WFLY-12549
>             Project: WildFly
>          Issue Type: Bug
>          Components: MP Metrics
>    Affects Versions: 18.0.0.Beta1
>            Reporter: Richard DiCroce
>            Assignee: Jeff Mesnil
>            Priority: Major
>
> Section 3.1.2 of the MP Metrics spec states:
> {quote}
> Tags can be supplied in two ways:
> ...
> At the application server level by using MicroProfile Config and setting a configuration property of the name mp.metrics.tags.
> {quote}
> This does not work in WildFly if the property is configured inline in the Microprofile Config subsystem like this:
> {code}
>         <subsystem xmlns="urn:wildfly:microprofile-config-smallrye:1.0">
>             <config-source name="props">
>                 <property name="mp.metrics.tags" value="foo=bar"/>
>             </config-source>
>         </subsystem>
> {code}
> Workaround: specify it under <system-properties> instead. This works as expected:
> {code}
>     <system-properties>
>         <property name="mp.metrics.tags" value="foo=bar"/>
>     </system-properties>
> {code}



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list