Skip to content

Allow TimedAspect/CountedAspect to create tags based on method result #3058

@kevinkraus

Description

@kevinkraus

Please describe the feature request.
Update TimedAspect to allow injecting a Function to create tags based on method result, similar to the Function injected to create tags based on ProceedingJoinPoint.

Rationale
I am using the Timed annotation and would like to include information from the Object returned by the target method in the tags.

Additional context
I'm willing to submit a PR for this enhancement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions