-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
12423 remove all statsd from initializers #12426
Conversation
b0e17b7
to
2f43496
Compare
2f43496
to
65a91be
Compare
Generated by 🚫 Danger |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know much about statsd, but it looks like you're saying we're misusing the increment method. This looks like it should include some work on each team's part to maintain the metrics you're removing. Do we need any followup actions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Follow-up with @kpethtel required.
oh wait... I swear all the checks were passing a minute ago. But now they're not. Can you look into those @bosawt? |
I wouldn't go so far as to say we were 'misusing' it, just that there appears to have been a historic reason we were initializing these to 0, but as far as I can tell, that historic reason is no longer true. Also, doing an increment reset in the initializers was at worst a no-op until the recent EKS switch, it was causing a ton of metric issues for us. And it's possible we could change how EKS reports metrics to fix it, but for now what was happening was:
|
65a91be
to
b35b55d
Compare
b35b55d
to
471c321
Compare
471c321
to
b828775
Compare
@rmtolmach Finally made it so specs are no longer breaking |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for cleaning this up. I'm going to file a ticket for my team to review our use of statsd and evaluate whether we need to re-add any of the removed metrics (but without issues).
Summary
count
andrate
(making metrics appear to be performing unexpectedly)Related issue(s)
Testing done
What areas of the site does it impact?
Metric
Acceptance criteria