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

Let's log things #1015

Merged
merged 2 commits into from
Jan 16, 2025
Merged

Let's log things #1015

merged 2 commits into from
Jan 16, 2025

Conversation

eyeseast
Copy link
Collaborator

@eyeseast eyeseast commented Jan 15, 2025

Closes #1012

Logs are here: https://app.netlify.com/sites/documentcloud-frontend-next/logs/functions/sveltekit-render?scope=deploypreview:1015

This logs:

  • date
  • method
  • url
  • status
  • route ID, like (app)/documents/[id]-[slug]
  • etag
  • cache control header

Copy link

netlify bot commented Jan 15, 2025

Deploy Preview for documentcloud-frontend-next ready!

Name Link
🔨 Latest commit 4299264
🔍 Latest deploy log https://app.netlify.com/sites/documentcloud-frontend-next/deploys/67893311c0eb5200087b0d67
😎 Deploy Preview https://deploy-preview-1015.muckcloud.com
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 23 (🔴 down 7 from production)
Accessibility: 87 (🟢 up 1 from production)
Best Practices: 83 (🔴 down 9 from production)
SEO: 83 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

github-actions bot commented Jan 15, 2025

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 31.81% 7674 / 24117
🔵 Statements 31.81% 7674 / 24117
🔵 Functions 47.61% 339 / 712
🔵 Branches 75.61% 1113 / 1472
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/lib/utils/logging.ts 0% 0% 0% 0% 1-30
Generated in workflow #574 for commit 4299264 by the Vitest Coverage Report Action

@eyeseast eyeseast marked this pull request as ready for review January 16, 2025 16:26
Copy link
Member

@allanlasser allanlasser left a comment

Choose a reason for hiding this comment

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

This looked good during my testing

@eyeseast eyeseast merged commit 252f17e into main Jan 16, 2025
12 checks passed
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.

Log requests for better visibility into resource usage
2 participants