eclipse / microprofile-metrics

microprofile-metrics
Apache License 2.0
100 stars 66 forks source link

Need clarifications about how metric names are determined #549

Closed jmartisk closed 4 years ago

jmartisk commented 4 years ago

The chapter about determining metric names (https://download.eclipse.org/microprofile/microprofile-metrics-2.3/microprofile-metrics-spec-2.3.html#annotated-naming-convention) is lacking. It does not specify explicit rules, only lists a few examples where @Inject is used together with @Metric, and has no explanation for how it works when metric annotations (@Counted etc) are applied on beans or methods.