Alerts on Web Vitals and Custom Measurements (INP) not being rendered

Aperta
#4,394 3 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
docker, docker-compose, javascript

Direzione di ricerca

Inizia riproducendo il problema con il kick-starter frontend di Sentry collegato e le variabili d’ambiente fornite, quindi confronta l’istanza dell’alert e la tabella Transactions con la pagina Web Vitals. Indaga sul motivo per cui p75(INP) viene visualizzato come “No Value” o 0 nonostante l’attivazione dell’alert. Il lavoro è completato quando il pannello dell’alert e la vista delle transazioni mostrano la misurazione INP registrata.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Self-Hosted Version

25.9.0

CPU Architecture

x86_64

Docker Version

28.4.0

Docker Compose Version

2.39.2

Machine Specification
  • My system meets the minimum system requirements of Sentry
Installation Type

Upgrade to 25.9.0

Steps to Reproduce
  1. Setup a frontend application with Sentry sdk (Tried both React and Vue)
  2. Start reporting Web Vitals (Including Session Replays, Rage Clicks and INP in my case)
  3. Setup an alert on Custom Measurement p75(INP)
    • When INP > 300 for 5 minutes"
    • Send an Email (Critical)

This is a kick starter project https://github.com/[MichelBitar99/sentry-frontend-performance-inp-issue](https://github.com/MichelBitar99/sentry-frontend-performance-inp-issue)
Make sure to create a .env with the following configs:

VITE_SENTRY_DSN=<sentry_dsn>
VITE_SENTRY_TRACES_SAMPLE_RATE=1.0
VITE_SENTRY_INTERACTIONS_SAMPLE_RATE=1.0
VITE_SENTRY_REPLAY_SESSION_SAMPLE_RATE=1.0
VITE_SENTRY_REPLAY_ERROR_SAMPLE_RATE=1.0

Expected Result

I expect when opening the alert instance to actually see the p75(inp) values, however they are showing as 'No Value' and not being rendered on the panel.
Although from the Web Vitals page, I can clearly see INP is being recorded properly, and the alert did detect issues.

Actual Result
Image In the alert, where it got triggered, I cannot see the rendering of INP on the panel. When hovering over the panel is shows as if the measurement was 0 even though Alert was triggered. In the Transactions table, the INP shows as 'No Value'
Event ID

No response

Lingua principale
Shell
Stelle
9.7k
Fork
2k
Merge medio
3g 2h
PR unite (30g)
16

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di getsentry/self-hosted

Tutte le issue di getsentry/self-hosted

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.