smallrye / smallrye-metrics

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

automatically tag app metrics with application scope

donbourne opened this issue · comments

automatically add scope=application tag to application metrics being registered using the MP metrics API where the metric being registered does not already have a defined scope tag.

In cases where application metric being registered has a scope tag, verify that the value satisfies regex [a-zA-Z_][a-zA-Z0-9_]* (in cases where it doesn't, throw an IllegalArgumentException)

Related to #502