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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
andoshin11
December 17, 2025
Technology
110
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
990
カーナベル株式会社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
510
Type Safe "Everything"
andoshin11
0
300
Hack your Nuxt router!
andoshin11
0
1.4k
GatewayパターンとSchema駆動開発
andoshin11
7
1.6k
Other Decks in Technology
See All in Technology
SONiCのLinuxベースを活かしたZabbix監視
sonic
0
230
LayerXにおけるセキュリティ管理の現在地と次の一手
tosho
0
250
Bucharest Tech Week 2026 - Reinventing testing practices in the AI era
edeandrea
PRO
1
170
SONiC Scale-Up Working Group から探る Scale-UpやUltraEthernet機能の実装方法
ebiken
PRO
2
410
10年間のブログ発信を振り返って見えたWebアプリケーションエンジニアとしての軌跡
stefafafan
0
160
iAEONの段階的リアーキテクト戦略 / iAEON's_Gradual_Re-architecture_Strategy
aeonpeople
0
230
AIAU_UMEMOGU_ninomiya_slide
ninomiya_ii
0
240
ロボティクスの技術 / Robotics Technology
ks91
PRO
0
110
Kiroで書いた 設計書 が AI レビューの 採点基準 になる
ezaki
0
130
人材育成分科会.pdf
_awache
4
300
徹底討論!ECS vs EKS!
daitak
0
250
2026TECHFRESH畢業分享會 - AI 時代的人生存檔點
line_developers_tw
PRO
0
1.3k
Featured
See All Featured
Being A Developer After 40
akosma
91
590k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
140
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.1k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.3k
The Limits of Empathy - UXLibs8
cassininazir
1
360
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.1k
Scaling GitHub
holman
464
140k
Odyssey Design
rkendrick25
PRO
2
700
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
200
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Raft: Consensus for Rubyists
vanstee
141
7.5k
Become a Pro
speakerdeck
PRO
31
6k
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!