Skip to content

Using a metric annotation with dynamic tags (@Timed and @Counter) #3910

@afishler

Description

@afishler

When creating metrics via annotations like @timed and @counter it is possible to inject static common tags.

However, there doesn't seem to be a way to add tags upon method execution as tags can be dynamic and change from request to request.

Or maybe there is one and I am missing it?

ability to add the tags seems to be in code - but not through the annotations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionA user question, probably better suited for StackOverflow

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions