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

オープン
#4,394 コメント 3 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
docker, docker-compose, javascript

調査の方向性

まず、リンクされた Sentry フロントエンド kick-starter と提供された環境変数を使って問題を再現し、次にアラートインスタンスと Transactions テーブルを Web Vitals ページと比較します。アラートが発火しているにもかかわらず、p75(INP) が「No Value」または 0 として表示される理由を調査します。アラートパネルとトランザクションビューに記録された INP 測定値が表示されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Shell
スター
9.7k
フォーク
2k
平均マージ
3日 2時間
マージ済み PR(30日)
16

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

getsentry/self-hosted のほかの issue

getsentry/self-hosted の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。