smallrye / smallrye-metrics

Apache License 2.0
41 stars 36 forks source link

Allow configuration of metrics. #510

Open fstab opened 2 years ago

fstab commented 2 years ago

Metrics require configuration. A good example is a timer metric, where users will want to configure the bucked boundaries of the underlying histogram. github.com/fstab/micrometer-config-example contains several examples of how to configure metrics in Micrometer.

In the Microprofile metrics call on 21 June 2022 there was consensus that the following three configuration approaches should be available in Microprofile:

For examples of how Micrometer does this, see github.com/fstab/micrometer-config-example.

donbourne commented 2 years ago

@fstab , could you please add (inline) the key points from the repos you point to, just so this issue can stand on its own without being affected by potential future changes in the referred to repos?