Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
New Relic Browser Monitoring について
Search
Ken Yamamoto
November 20, 2024
Programming
200
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
New Relic Browser Monitoring について
Ken Yamamoto
November 20, 2024
Other Decks in Programming
See All in Programming
Findy - エンジニア向け会社紹介/Findy Company Deck
findyinc
6
400k
ActionController meets Protocol Buffers
sorah
0
560
[2026-10-14](C)Re:ゼロから始める異世界生活〜始まりの終わりと終わりの始まり〜
tosite
0
110
Atomic Design, Enforced: Scaling Mobile Design Systems (next.app devCon / droidCon Berlin 2026)
steliosf
PRO
0
170
AIに “答え“を書かせるのを やめてみた
___akari11
0
120
HTML-in-Canvasで作る未来のWeb UI表現
clockmaker
5
5.2k
RAG の “R” を Swift で覗いてみる 〜「意味から探す」検索の仕組み〜
nao_randd
0
170
ChromeでローカルLLM
ryu1013
0
140
機械に任せるテスト、人が見るテスト ⽣成AIで引き直した、運⽤保守フェーズの線引き
dske104
0
190
KiroのSpecで「五目並べ」を作ってみる
satoshi256kbyte
1
380
全ての永続トークンを、生まれる前に消し去りたい!
sylph01
2
980
ソニーのクラウド共通基盤の変遷とAI時代の開発スタイルに合わせた進化 / The Journey of Sony’s Common Cloud Platform and Its Evolution for AI-Native Development
kenjiyoneyama
0
280
Featured
See All Featured
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
590
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
930
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.8k
What's in a price? How to price your products and services
michaelherold
247
13k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
550
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.6k
Chasing Engaging Ingredients in Design
codingconduct
0
360
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
890
Paper Plane (Part 1)
katiecoart
PRO
2
12k
The Cult of Friendly URLs
andyhume
79
7k
Technical Leadership for Architectural Decision Making
baasie
3
600
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
380
Transcript
New Relic Browser Monitoring について 初登壇 フロントエラー調査を改善した話 株式会社じげん 山本 憲
2024年11月19日
アジェンダ 自己紹介 フロントエラー検知改善の経緯 いざ実装 New Relicの改善をやってみて 1. 2. 3. 4.
山本 憲 株式会社じげんの新卒1年目。 ライフサポート事業部で「リショップナビ」の開発チームに所属。 現在はフロントエンド開発が中心。 大学時代は不動産ITベンチャーで3年間エンジニアとしてインターンシ ップ、アルバイトを経験。 ニックネームはケニー。 自己紹介
Cloud Watch見ても 長いし見にくい New Relicどこ見るの フロントエラー検知改善の経緯 元々調査タスクをあまりやったことがない、かつフロントエンドもあまり詳しくない中で、 エラーの調査をするのにすごく時間かかってしまっていた フロントエンドのエラー調査頼まれたけど、よくわからない、 、
、 ここをしっかりとれるようにすればもっと簡単になるんじゃないか?? と考えた NewRelicにBrowserっていうのがあるけどErrorなにも取れてない
フロントエラー検知改善の経緯 Session Replay を導入できたらエラーが起きた時のユーザーの行動が確認できて かなり良さそう、 、 、! セッションリプレイは、Web アプリでユーザーのインタラクションを再生し、その他のテ レメトリーデータをマッピングして、ユーザーの行動を理解するのに役立ちます。
(公式ドキュメントより) 調べると色々出てきて可能性を感じた 改善導入案を提案させていただき、相談の結果、ゴールとして ・Browser Errorを取得できるようにする ・エラー発生時のリプレイを取得できるようにする を目標に改善を始めることになった。 上司に相談してNewRelic改善を提案 Session Replay画面例 Browser Errors 画面例
いざ実装 公式ドキュメントを読み込んでそれ通りに既存処理を改修 https://newrelic.com/blog/how-to-relic/how-to-monitor-app-based-router- nextjs-application 主にやったこととしては ・NewRelicバージョンアップ (11.20.0 -> 12.3.0) ・error.tsxに下記を追加
・layout.tsxでスニペットの位置を修正
いざ実装 実際動かしてみると、 、 、 Browser Errorは取得できるようになった! リプレイはエラー発生時のみ取得したかったので、サンプルレート0, エラーレ ート100に設定しエラーのみ取得できるよう試みたが、取得できなかった、 、
、 => リリース後や取得したいエラーが頻発しているときにサンプルレートをあげ ることで対応することに
New Relicの改善をやってみて 入社して初めて上長に提案をし、要件をまとめて実現まで至った初めての タスクだったので、とにかくやりがいがあり、かつ自分の業務もグッと楽 になった 取得できるようになったフロントエンドエラーを解決していく体制をチー ムで整えたい 今後のNew Relicのアップデートに注目して、導入できそうなものがあれ ばチームで共有して使ってみたい
ご清聴ありがとうございました。 Xのエンジニアアカウントのフォローお願いします 🥹 @_kennyjp