This repository hosts content for Kubecon NA 2023 tutorial.
Abstract: Deploying an observability system has many challenges, as several data types need to be collected. The data can be collected in many protocols and with different technology stacks. This session will cover end-to-end metrics collection on Kubernetes using the OpenTelemetry project. We will start from the ground up by instrumenting an application with OpenTelemetry APIs and agents and progressively solve more complicated use cases like a collection of resource attributes, collecting Prometheus metrics with the OpenTelemetry Collector and Operator, correlation with traces and logs, exemplars, and collecting Kubernetes infrastructure metrics.
Schedule: https://kccncna2023.sched.com/event/1R2pr
Slides: slides.pdf
Recording: https://www.youtube.com/watch?v=hsI7mCJ0JSE
Please set up the environment by following the guide before the tutorial starts!
Each tutorial step is located in a separate file:
- Welcome & Setup (Pavol, 5 min)
- Introduction to OpenTelemetry and metrics (Pavol, Anthony)
- Instrumenting an app with OpenTelemetry metrics (Bene, Pavol)
- Deploying collector and the app on Kubernetes (Bene, Matej)
- Collecting Prometheus metrics (Anthony, Anusha, 15 min)
- Collecting Kubernetes infrastracture metrics (Matej, Anusha, 10 min)
- Correlation (Pavol, 15 min)
- Wrap up & Questions