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

fix(plugin-server): log EPS every 10 seconds, only log individual bat… #18105

Merged
merged 1 commit into from
Oct 19, 2023

Conversation

bretthoerner
Copy link
Contributor

@bretthoerner bretthoerner commented Oct 19, 2023

…ches when they are slow

Problem

Logging every batch is too noisy when we're all caught up. (Batches take ~200ms and spam the logs.)

Changes

Bring back 10 second log from: https://github.com/PostHog/posthog/pull/18100/files

And only log an individual batch if it takes over 10 sec.

👉 Stay up-to-date with PostHog coding conventions for a smoother review.

How did you test this code?

@bretthoerner bretthoerner requested review from xvello and a team October 19, 2023 16:46
@bretthoerner bretthoerner force-pushed the brett/processing-log2 branch from decaca4 to cfba18a Compare October 19, 2023 16:51
@bretthoerner bretthoerner enabled auto-merge (squash) October 19, 2023 17:08
@bretthoerner bretthoerner merged commit 614463d into master Oct 19, 2023
68 checks passed
@bretthoerner bretthoerner deleted the brett/processing-log2 branch October 19, 2023 17:10
daibhin pushed a commit that referenced this pull request Oct 23, 2023
#18105)

fix(plugin-server): log EPS every 10 seconds, only log individual batches when they are slow
Justicea83 pushed a commit to Justicea83/posthog that referenced this pull request Oct 25, 2023
PostHog#18105)

fix(plugin-server): log EPS every 10 seconds, only log individual batches when they are slow
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