Mastering Observability with OpenTelemetry

Mastering Observability with OpenTelemetry

2h 6mIntermediate2024-05-03

Authors

Daniel Khan

Daniel Khan

Technology Lead, Developer, Application Architect

Course details

Capturing and exporting telemetry data from modern cloud applications can be difficult and complicated. OpenTelemetry simplifies observability so you can collect telemetry from applications and services, allowing for analysis with a growing range of observability backends. It is now the second largest project in the Cloud Native Computing Foundation after Kubernetes (based on contributions) and it’s quickly becoming the key observability toolset for operators, SREs and developers. It provides a collection of tools, APIs, and SDKs for capturing metrics, distributed traces, and logs from applications to help you analyze your software’s performance and behavior. In this course, Daniel Khan shows you how to set up, configure, deploy, and analyze data from OpenTelemetry to gain actionable insights into your application performance.

Skills covered

OpenTelemetrySoftware AdministrationDevOps FoundationsServer AdministrationDevOpsNetwork AdministrationNetwork and System AdministrationOpen SourceOne-Off

Concepts

Introduction

  • OpenTelemetry unveiled - Mastering modern observability
  • What you should know
  • Setting up your development environment
  • Using the exercise files
  • Getting to know the sample app
  • Setting up the sandbox

Introduction to OpenTelemetry

  • A brief history of monitoring and observability
  • Understanding distributed tracing
  • What is (auto) instrumentation
  • What is OpenTelemetry
  • Understand OpenTelemetry's architecture
  • Important resources

Diving Into Tracing with OpenTelemetry

  • Setting up the provided Node tracing module
  • Instrumenting Node.js for tracing
  • Instrumenting Python for tracing
  • Introducing Jaeger
  • Running Jaeger in Docker
  • Exporting spans to Jaeger
  • Analyzing traces with Jaeger
  • Triage and manual instrumentation
  • Finding the root cause in Jaeger

Using the OpenTelemetry Collector

  • Introduction to the OpenTelemetry Collector
  • A primer on sampling
  • The goal for using the OpenTelemetry Collector
  • Installing a local Collector
  • Collector configuration
  • Debugging and zPages

Observability with Grafana

  • Why Grafana
  • The goal for observability with Grafana
  • Creating a Grafana Cloud account
  • Setting up the Grafana Collector integration
  • Analyzing trace data in Grafana

Collecting Metrics

  • Metrics in OpenTelemetry
  • Adding metrics instrumentation to your code
  • Viewing metrics in Grafana

Collecting Logs

  • Logging in OpenTelemetry
  • Configuring Python for logging
  • Viewing logs in Grafana

Conclusion

  • Next steps
80,000 Toman