We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

Learn Logging and Observability in Go

Build production-ready logging, metrics, tracing, and alerting systems for modern Go web services.

What will you learn?

Build production-ready logging and observability skills for Go applications. You'll design structured, context-rich logs, collect and visualize metrics with Prometheus and Grafana, configure actionable alerts, and profile performance with pprof. By the end, you'll be able to instrument distributed traces with OpenTelemetry and Jaeger to debug failures and latency bottlenecks fast.

Chapter List

1
Observability
Understand observability fundamentals and the pillars of logs, metrics, and traces so you can debug Go services with confidence.
2
Logging
Implement reliable logging in Go using proper logger setup, dependency injection, buffering, and lifecycle management.
3
Structured Logging
Use Go's slog package to produce structured logs with levels, key-value fields, and output formats that scale in production.
4
Log Strategies
Apply logging best practices that reduce noise, preserve signal, and make production incidents easier to investigate.
5
Logging Errors
Capture error logs effectively with stack traces, grouped context, and rich attributes while avoiding duplicate or misleading logs.
6
Logging Context
Attach request, user, build, and instance context to logs so every event is searchable, correlated, and actionable.
7
Log Storage
Route logs to console, files, and syslog with rotation strategies that keep long-running services observable and maintainable.
8
Log Security
Protect sensitive data in logs using filtering, obfuscation, encryption, and safer error-response logging patterns.
9
Metrics
Instrument Go services with Prometheus and Grafana, collect system and app metrics, and build dashboards that reveal health trends.
10
Alerting
Design actionable alerts with sensible thresholds to catch real issues early without creating alert fatigue.
11
Profiling
Use pprof to analyze CPU, memory, and goroutine behavior in Go applications and fix performance bottlenecks.
12
Tracing
Instrument distributed tracing with OpenTelemetry and Jaeger to follow requests across services and diagnose latency issues.

Join 563 students in the Learn Logging and Observability in Go course

Read reviews of their learning experiences

Really good course!

(5/5)
Rafael Alejandro Rojas Diaz profile image

Rafael Alejandro Rojas Diaz

Venezuela

You will learn the basics of observability! Explanations are thorough, I never really felt "stuck". Was simple to follow along and learn.

(4/5)
Paul Vinueza profile image

Paul Vinueza

Orlando, United States

Great course, only caveat is naming conventions are a bit unclear until after submission or on close reading of the expected tests.

(5/5)
Nick Gorman profile image

Nick Gorman

United States

this one was a "slog" pun intended. The pacing was much slower than other bootdev module courses

(1/5)
Damian Oslebo profile image

Damian Oslebo

United States

This is a very interesting course; a very long time ago I used utilities such as SoftICE to help me with debugging, but in the world of multitasking fast networking applications that would never have cut the mustard. This has opened up new vistas for me.

(5/5)
Geoff Riley profile image

Geoff Riley

Warrington, England

This course will really stretch the frontier of what you know about writing web apps in Go.

(5/5)
Brandon Irizarry profile image

Brandon Irizarry

New York City, US

or view more reviews

Mediocrity doesn't cut it anymore

The only way to become a great developer is to write a lot of code

Avoid tutorial hell

by writing a ton of code

Stay motivated with

a game-like curriculum

Build portfolio projects

to prove your skills

Delve deeper

into foundational concepts

Learn flexibly online

without interrupting your life

For 1% the price of college

to minimize your financial risk

Frequently asked Questions

Got questions? We've got answers

Yes! It's free to create an account and start learning. You'll get all the immersive and interactive features for free for a few chapters. After that, if you still haven't paid for a membership, you'll be in read-only (content only) mode.