You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking for the ability to selectively exclude publishing an @Timed and @Counted metric.
Example use case:
a method is tagged with @Timed, this method is called a significant amount of times during processing, enough so that removing the annotation/metrics for this method reduces in the average time to process by 50%.
disclaimer: the metric also utilizes AbstractMethodTagger to do additional processing/method tagging. The tagger appends a method name tag using the method invocation context / checks if a class name matches something in particular.
In our specific use case we saw avg drop by 500ms, p95 dropped by 1.25s, and p99 dropped by 1s.
we still would like to have this method publish metrics in non-prod environments, but turn it off in production for additional performance benefits when applicable
The text was updated successfully, but these errors were encountered:
Feature description
Looking for the ability to selectively exclude publishing an
@Timed
and@Counted
metric.Example use case:
@Timed
, this method is called a significant amount of times during processing, enough so that removing the annotation/metrics for this method reduces in the average time to process by 50%.AbstractMethodTagger
to do additional processing/method tagging. The tagger appends a method name tag using the method invocation context / checks if a class name matches something in particular.The text was updated successfully, but these errors were encountered: