Skip to content

Add Support for @MeterTag to @Counted #4725

@ColdFireIce

Description

@ColdFireIce

Hi there,

I would like to count method calls with an enum in the parameters and use these as tags for the counter. Something analogue to to the @timed annotation.
It would be super to have the option to add an MeterAnnotationHandler to the CountedAspect, as you can for the TimedAspect.

I'm not sure if this needs more explanation or an example?

Best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementA general enhancementhelp wantedAn issue that a contributor can help us withmodule: micrometer-coreAn issue that is related to our core module

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions