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
110
0
Share
Introduction to gRPC Interceptors
andoshin11
December 17, 2025
More Decks by andoshin11
See All by andoshin11
カーナベルにおけるProtobuf二次利用例
andoshin11
0
170
Envoy External AuthZとgRPC Extensionを利用した「頑張らない」Microservices認証認可基盤
andoshin11
0
970
カーナベル株式会社2024年2月 エンジニアイベント資料
andoshin11
0
530
Private Cloudを支える最高のユーザーガイド運用技術
andoshin11
0
320
TS CompilerがVueを喋れても良いじゃないか
andoshin11
0
800
ain't giving up type-safe Express
andoshin11
2
500
Type Safe "Everything"
andoshin11
0
290
Hack your Nuxt router!
andoshin11
0
1.4k
GatewayパターンとSchema駆動開発
andoshin11
7
1.6k
Other Decks in Technology
See All in Technology
エンジニアは生成AIと どのように向き合うべきか? ことばの意味という観点から
verypluming
3
300
もりもり新機能を一挙紹介! AgentCoreに入門して、AWS上にAIエージェントを構築しよう
minorun365
PRO
5
320
Platform Engineering as a Product: Criteria for Improvement and Multi-Tenant Design
kumorn5s
0
400
食べログのサーキットブレーカー導入を振り返って
atpons
1
150
電子辞書Brainをネットに繋げてみた(自力編)
raspython3
0
370
イベントで大活躍する電子ペーパー名札 〜その3〜 / ビジュアルプログラミングIoTLT vol.23
you
PRO
0
170
React、まだ楽しくて草
uhyo
2
230
AIが変えた"品質の守り方"
kkakizaki
13
5.4k
ITエンジニアを取り巻く環境とキャリアパス / A career path for Japanese IT engineers
takatama
4
1.8k
AI フレンドリーなエラー監視を TypeScript で実現する
shinyaigeek
2
190
GitHub Copilot CLIでWebアクセシビリティを改善した話
tomokusaba
0
140
OpenID Connectによるサービス間連携
takesection
0
140
Featured
See All Featured
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.2k
So, you think you're a good person
axbom
PRO
2
2k
Become a Pro
speakerdeck
PRO
31
6k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
240
Designing for Performance
lara
611
70k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
130
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.3k
Designing Powerful Visuals for Engaging Learning
tmiket
1
390
ラッコキーワード サービス紹介資料
rakko
1
3.5M
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.4k
Building an army of robots
kneath
306
46k
Practical Orchestrator
shlominoach
191
11k
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!