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
kspan: Traces from Events
Search
mita
May 20, 2021
Technology
1
1k
kspan: Traces from Events
kspan: Traces from Events
Kubernetes Meetup Tokyo #41 LT
mita
May 20, 2021
Tweet
Share
More Decks by mita
See All by mita
Developer 以外にこそ使って欲しい Amazon Q Developer
mita
1
610
Higher level abstraction/orchestration with Crossplane and Open Application Model
mita
0
870
Other Decks in Technology
See All in Technology
MCPに潜むセキュリティリスクを考えてみる
milix_m
1
800
MCPと認可まわりの話 / mcp_and_authorization
convto
2
230
新規事業におけるAIリサーチの活用例
ranxxx
0
160
株式会社島津製作所_研究開発(集団協業と知的生産)の現場を支える、OSS知識基盤システムの導入
akahane92
1
1.3k
PdM業務における使い分け
shinshiro
0
620
低レイヤソフトウェア技術者が YouTuberとして食っていこうとした話
sat
PRO
7
5.9k
Shadow DOM & Security - Exploring the boundary between light and shadow
masatokinugawa
0
700
機械学習を「社会実装」するということ 2025年夏版 / Social Implementation of Machine Learning July 2025 Version
moepy_stats
1
900
手動からの解放!!Strands Agents で実現する総合テスト自動化
ideaws
2
360
AIエージェントを支える設計
tkikuchi1002
3
510
スプリントゴール未達症候群に送る処方箋
kakehashi
PRO
1
260
地図と生成AI
nakasho
0
790
Featured
See All Featured
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
35
2.5k
Making Projects Easy
brettharned
116
6.3k
Site-Speed That Sticks
csswizardry
10
720
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.3k
What's in a price? How to price your products and services
michaelherold
246
12k
Code Review Best Practice
trishagee
69
19k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2.2k
YesSQL, Process and Tooling at Scale
rocio
173
14k
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.9k
Raft: Consensus for Rubyists
vanstee
140
7k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
283
13k
The Straight Up "How To Draw Better" Workshop
denniskardys
235
140k
Transcript
Recap kspan Traces from Events https://static.sched.com/hosted_ fi les/kccnceu2021/fd/Traces%20from%20Events%20%28Kspan%29.pdf https://sched.co/iE3j
Recap Name: mita Role: Infrastructure Engineer Interest: - Improving Operator
Experience - Cloud Native - KRM Ecosystems - Kubernetes Operators - Observability - Chaos Engineering - Infrastructure as Code
Recap Observabilityͷ̏ຊப • 2017ʹɺObservabilityͷ3ຊபͱͯ͠ Logging, Metrics, Tracing͕ఏএ͞Εͨ • New RelicͰM.E.L.T(Metrics,
Events, Logs, Traces)ͷ4ͭͱఆٛͯ͠Δ(https://newrelic.com/resources/ ebooks/what-is-observability) https://peter.bourgon.org/blog/2017/02/21/metrics-tracing-and-logging.html
Recap What is kspan? • KubeCon EUͰհ͞ΕͨWeaveworksͷπʔϧ(Experimental) • Kubernetes্Ͱੜ͞ΕΔEventΛTraceʹม͢Δ https://github.com/weaveworks-experiments/kspan
Recap Architecture https://static.sched.com/hosted_ fi les/kccnceu2021/fd/Traces%20from%20Events%20%28Kspan%29.pdf
Recap Demo Jaeger kspan Nginx Deployment Manifest api-server 4. Emit
spans as OTLP(OpenTelemetry Protocol) 2. watch events 3. convert events to spans 1. apply manifest
Recap ༨ஊ Kubernetes EventͷTimestamp • ԼهIssueʹ͋Δ௨ΓɺޙํޓੑΛอͬͨ··millisecond୯ҐͷϑΥʔ ϚοτΛ৽ͨʹ࠾༻͢Δͷݫ͍͠ • ͦͷͨΊɺඵ୯ҐͷEventͷॱং͕ٯస͢Δ •
https://github.com/kubernetes/kubernetes/issues/81026 • EventϦιʔεࣗମϚΠΫϩඵ୯ҐͷλΠϜελϯϓΛอ͍࣋ͯ͠Δ https://pkg.go.dev/k8s.io/api/core/v1#Event