Skip to content

Exploring the Power of Metrics Collection with OpenTelemetry on Kubernetes

License

Notifications You must be signed in to change notification settings

pavolloffay/kubecon-na-2023-opentelemetry-kubernetes-metrics-tutorial

Repository files navigation

Tutorial Exploring the Power of Metrics Collection with OpenTelemetry on Kubernetes

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


Agenda

Please set up the environment by following the guide before the tutorial starts!

Each tutorial step is located in a separate file:

  1. Welcome & Setup (Pavol, 5 min)
  2. Introduction to OpenTelemetry and metrics (Pavol, Anthony)
  3. Instrumenting an app with OpenTelemetry metrics (Bene, Pavol)
  4. Deploying collector and the app on Kubernetes (Bene, Matej)
  5. Collecting Prometheus metrics (Anthony, Anusha, 15 min)
  6. Collecting Kubernetes infrastracture metrics (Matej, Anusha, 10 min)
  7. Correlation (Pavol, 15 min)
  8. Wrap up & Questions