Skip to content
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

feat: move context of glean metrics into statsd get_collections metric #1638

Merged

Conversation

taddes
Copy link
Contributor

@taddes taddes commented Dec 4, 2024

Description

We should ideally emit the glean metrics alongside in the typical place we emit statsd metrics: after acquiring a db connection.

In the face of errors on acquiring db connections (which aren’t totally uncommon, we’re currently having spikes of them) we would emit a few less events that are likely going to be duplicates of clients later retrys anyway. The other benefit (in the case of errors) is our glean events should more closely correlate to our actual statsd metrics.

Moves everything into the transaction_http block, so Glean flag can still toggle.

Testing

Issue(s)

Closes SYNC-4548.

@taddes taddes self-assigned this Dec 4, 2024
@taddes taddes requested a review from pjenvey December 4, 2024 20:31
@jrconlin jrconlin merged commit 7f7cfb7 into master Dec 4, 2024
9 checks passed
@jrconlin jrconlin deleted the feat/move-glean-emission-alongside-statsd-SYNC-4548 branch December 4, 2024 22:24
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