micronaut-projects / micronaut-micrometer

Integration between Micronaut and Micrometer
Apache License 2.0
35 stars 63 forks source link

Add support for Micrometers Metertag #612

Open Lukas-Kaufmann opened 11 months ago

Lukas-Kaufmann commented 11 months ago

Feature description

Micrometers annotation Metertag is intended to add tags to metrics based on a methods parameter. It would be nice to have this feature supported.

fivezeroes commented 10 months ago

An alternative approach could be supporting the new expression syntax and using the extraTags field, I would be happy with either solution.

hrothwell commented 4 months ago

An alternative approach could be supporting the new expression syntax and using the extraTags field, I would be happy with either solution.

FWIW that is not actually a viable option right now:

https://github.com/micronaut-projects/micronaut-core/issues/10538

I am in the progress on working on something which may or may not support this, albeit not as nicely if I had to guess