Skip to content

Conversation

@Kami
Copy link
Member

@Kami Kami commented Mar 13, 2019

Small addition to #4591.

I've moved the metric instrumentation inside the method, this way we don't submit metrics when method returns early / immediately.

Those values / outliers could also be filtered on the metrics backend side, but it's easier to simply not to send those metrics.

This way we avoid outliers when method returns early aka immediately.
@Kami Kami added this to the 2.10.4 milestone Mar 13, 2019
Copy link
Contributor

@bigmstone bigmstone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Kami Kami merged commit 59dd358 into master Mar 13, 2019
@Kami Kami deleted the notifier_fix branch March 13, 2019 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants