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

Log how much data we're sending over websockets per app #543

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

dwwoelfel
Copy link
Contributor

Adds a trace to log how much data we're sending over the websockets. This way we can get a better idea of how much different apps are contributing to network usage.

Ignores the span in prod for the console log so that we don't spike our cloudwatch costs.

Copy link

View Vercel preview at instant-www-js-send-json-size-tracking-jsv.vercel.app.

Copy link
Contributor

@stopachka stopachka left a comment

Choose a reason for hiding this comment

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

SGTM!

@dwwoelfel dwwoelfel merged commit e972fa3 into main Nov 26, 2024
27 checks passed
@dwwoelfel dwwoelfel deleted the send-json-size-tracking branch November 26, 2024 13:43
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.

2 participants