Skip to content

web-vitals not logging - except INP #11677

@rajat2502

Description

@rajat2502

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/nextjs

SDK Version

7.107.0

Framework Version

Next 12.3.1, React 17.0.2

Link to Sentry event

No response

SDK Setup

import { browserTracingIntegration, init as initSentry } from '@sentry/nextjs';

initSentry({
  dsn: SENTRY_DSN,
  tracesSampleRate: 0.05,
  integrations: [
    browserTracingIntegration({
      enableInp: true,
    }),
  ],
});

Steps to Reproduce

  1. This started happening since we upgraded @sentry/nextjs to accommodate for the INP changes. Interestingly INP is logging correct but other web vitals are not showing up on the dashboard.

Expected Result

Should have all the web vitals.

Actual Result

Screenshot 2024-04-18 at 2 17 40 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Waiting for: Community

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions