Upgrade to Pro — share decks privately, control downloads, hide ads and more …

kspan: Traces from Events

mita
May 20, 2021

kspan: Traces from Events

kspan: Traces from Events
Kubernetes Meetup Tokyo #41 LT

mita

May 20, 2021
Tweet

More Decks by mita

Other Decks in Technology

Transcript

  1. Recap Name: mita Role: Infrastructure Engineer Interest: - Improving Operator

    Experience - Cloud Native - KRM Ecosystems - Kubernetes Operators - Observability - Chaos Engineering - Infrastructure as Code
  2. 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
  3. 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
  4. 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