Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Introduction to gRPC Interceptors
Search
andoshin11
December 17, 2025
Technology
0
67
Introduction to gRPC Interceptors
andoshin11
December 17, 2025
Tweet
Share
More Decks by andoshin11
See All by andoshin11
カーナベルにおけるProtobuf二次利用例
andoshin11
0
160
Envoy External AuthZとgRPC Extensionを利用した「頑張らない」Microservices認証認可基盤
andoshin11
0
840
カーナベル株式会社2024年2月 エンジニアイベント資料
andoshin11
0
440
Private Cloudを支える最高のユーザーガイド運用技術
andoshin11
0
300
TS CompilerがVueを喋れても良いじゃないか
andoshin11
0
760
ain't giving up type-safe Express
andoshin11
2
470
Type Safe "Everything"
andoshin11
0
270
Hack your Nuxt router!
andoshin11
0
1.4k
GatewayパターンとSchema駆動開発
andoshin11
7
1.5k
Other Decks in Technology
See All in Technology
あの夜、私たちは「人間」に戻った。 ── 災害ユートピア、贈与、そしてアジャイルの再構築 / 20260108 Hiromitsu Akiba
shift_evolve
PRO
0
340
AI時代のアジャイルチームを目指して ー スクラムというコンフォートゾーンからの脱却 ー / Toward Agile Teams in the Age of AI
takaking22
9
2.6k
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
2.9k
チームで安全にClaude Codeを利用するためのプラクティス / team-claude-code-practices
tomoki10
4
1.8k
AWS re:Inventre:cap ~AmazonNova 2 Omniのワークショップを体験してきた~
nrinetcom
PRO
0
120
研究開発部メンバーの働き⽅ / Sansan R&D Profile
sansan33
PRO
4
21k
コールドスタンバイ構成でCDは可能か
hiramax
0
130
Introduction to Sansan Meishi Maker Development Engineer
sansan33
PRO
0
330
RALGO : AIを組織に組み込む方法 -アルゴリズム中心組織設計- #RSGT2026 / RALGO: How to Integrate AI into an Organization – Algorithm-Centric Organizational Design
kyonmm
PRO
3
490
Digitization部 紹介資料
sansan33
PRO
1
6.4k
田舎で20年スクラム(後編):一個人が企業で長期戦アジャイルに挑む意味
chinmo
1
890
複雑さを受け入れるか、拒むか? - 事業成長とともに育ったモノリスを前に私が考えたこと #RSGT2026
murabayashi
0
940
Featured
See All Featured
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
250
We Have a Design System, Now What?
morganepeng
54
8k
sira's awesome portfolio website redesign presentation
elsirapls
0
100
[SF Ruby Conf 2025] Rails X
palkan
0
660
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
110
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
0
390
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
120
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.6k
RailsConf 2023
tenderlove
30
1.3k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
180
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
180
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
72
Transcript
Introduction to gRPC Interceptors 2025/12/17 Mita.ts #9 @andoshin11
自己紹介 • Andy (@andoshin11) • 肩書き: ◦ Platform Owner at
カーナベル株式会社 ◦ Lead Developer at 株式会社Medixpost • 趣味: ◦ NBA観戦 ⛹ ◦ Whisky 🥃 ◦ ボードゲーム 🎲
gRPC、やってますか?
gRPC Interceptors
gRPC Interceptors MiddlewareのようにServerとClientに中間処理を差し込める
よくある用途 • 認証:JWT / API Keyの検証 • Metrics:通信時間・ステータスの記録 • Tracing:Contextの管理とtrace
IDの差し込み • Caching:通信結果のキャッシュ参照
作ったもの
ka-nabellinc/proto-coverage-reporter
proto-coverage-reporter • E2E時にClientにInterceptorとして設定 • 各API Methodのテストカバレッジを取得 • JestのCustom Reporterで結果表示
もう少し詳しく • Proto MethodにgRPC Statusの一覧を事前 定義 • Protobufjsでパースして、実際に通信され たgRPC Statusのログと照合
gRPC Interceptorsを触った感想 • connection情報や詳細な通信ステータスを参照できて便利 • Request/Responseのoverrideも可能なので汎用的に使える • 実装ガイドが存在せず、grpc-jsのソースコードしか手がかりが無くてつらい
Thank you!