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: web vitals delayed capture #1474

Merged
merged 1 commit into from
Oct 16, 2024
Merged

Conversation

pauldambra
Copy link
Member

@pauldambra pauldambra commented Oct 15, 2024

We delay capturing web vitals metrics to try and avoid charging too much for collection

But this might be leading some sites to missing the metrics

Let's reduce that timeout and make it configurable so we can test it

Copy link

vercel bot commented Oct 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
posthog-js ✅ Ready (Inspect) Visit Preview Oct 15, 2024 8:38pm

Copy link

Size Change: +1.83 kB (+0.06%)

Total Size: 2.83 MB

Filename Size Change
dist/array.full.js 355 kB +204 B (+0.06%)
dist/array.full.no-external.js 354 kB +204 B (+0.06%)
dist/array.js 169 kB +203 B (+0.12%)
dist/array.no-external.js 168 kB +203 B (+0.12%)
dist/main.js 170 kB +203 B (+0.12%)
dist/module.full.js 355 kB +204 B (+0.06%)
dist/module.full.no-external.js 354 kB +204 B (+0.06%)
dist/module.js 169 kB +203 B (+0.12%)
dist/module.no-external.js 168 kB +203 B (+0.12%)
ℹ️ View Unchanged
Filename Size
dist/all-external-dependencies.js 192 kB
dist/exception-autocapture.js 11.1 kB
dist/external-scripts-loader.js 2.35 kB
dist/recorder-v2.js 111 kB
dist/recorder.js 111 kB
dist/surveys-preview.js 59.8 kB
dist/surveys.js 66 kB
dist/tracing-headers.js 8.36 kB
dist/web-vitals.js 10.3 kB

compressed-size-action

@pauldambra pauldambra added the bump minor Bump minor version when this PR gets merged label Oct 16, 2024
@pauldambra pauldambra merged commit 7304175 into main Oct 16, 2024
18 checks passed
@pauldambra pauldambra deleted the fix/web-vitals-delayed-capture branch October 16, 2024 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bump minor Bump minor version when this PR gets merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants