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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
andoshin11
December 17, 2025
Technology
96
0
Share
Introduction to gRPC Interceptors
andoshin11
December 17, 2025
More Decks by andoshin11
See All by andoshin11
カーナベルにおけるProtobuf二次利用例
andoshin11
0
160
Envoy External AuthZとgRPC Extensionを利用した「頑張らない」Microservices認証認可基盤
andoshin11
0
940
カーナベル株式会社2024年2月 エンジニアイベント資料
andoshin11
0
510
Private Cloudを支える最高のユーザーガイド運用技術
andoshin11
0
320
TS CompilerがVueを喋れても良いじゃないか
andoshin11
0
790
ain't giving up type-safe Express
andoshin11
2
490
Type Safe "Everything"
andoshin11
0
290
Hack your Nuxt router!
andoshin11
0
1.4k
GatewayパターンとSchema駆動開発
andoshin11
7
1.5k
Other Decks in Technology
See All in Technology
ワールドカフェI /チューターを改良する / World Café I and Improving the Tutors
ks91
PRO
0
230
AWS DevOps Agentはチームメイトになれるのか?/ Can AWS DevOps Agent become a teammate
kinunori
1
250
Azure Static Web Apps の自動ビルドがタイムアウトしやすくなった状況に対応した件/global-azure2026
thara0402
0
280
みんなで作るAWS Tips 100連発 (FinOps編)
schwrzktz
1
230
EarthCopilotに学ぶマルチエージェントオーケストレーション
nakasho
0
190
サイバーフィジカル社会とは何か / What Is a Cyber-Physical Society?
ks91
PRO
0
190
こんなアーキテクチャ図はいやだ / Anti-pattern in AWS Architecture Diagrams
naospon
1
360
Databricksを用いたセキュアなデータ基盤構築とAIプロダクトへの応用.pdf
pkshadeck
PRO
0
330
Bluesky Meetup in Tokyo vol.4 - 2023to2026
shinoharata
0
190
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
3k
Eight Engineering Unit 紹介資料
sansan33
PRO
3
7.2k
シン・リスコフの置換原則 〜現代風に考えるSOLIDの原則〜
jinwatanabe
0
210
Featured
See All Featured
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
120
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
93
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.1k
How to Talk to Developers About Accessibility
jct
2
170
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
440
Context Engineering - Making Every Token Count
addyosmani
9
810
Into the Great Unknown - MozCon
thekraken
40
2.3k
The Cult of Friendly URLs
andyhume
79
6.8k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
110k
sira's awesome portfolio website redesign presentation
elsirapls
0
210
Accessibility Awareness
sabderemane
0
98
How to Think Like a Performance Engineer
csswizardry
28
2.5k
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!