~/talk

Efficient Debugging and Logging with OpenTelemetry in Go

Talkat GopherCon UK 2023 · 2023-08-16..08-18· [go, observability]
links:none on file
slides:none on file

Company uses tracing 100% of traffic with OpenTelemetry in Go, running traces across a microservice demo (controller, pubsub, Cloud Functions) to find latency and errors. Shows concrete middleware added for orm and pubsub clients, how spans carry attributes/events, sampling choices and exporters, and integration with Google Cloud Trace and Query Insights to link DB queries to traces. Describes structured logging with Trace ID, using traces in unit and e2e tests and a Trace Test tool for assertions.

AI-written summary · about

  1. 0:00Introduction
  2. 2:58Debugging with logs and observability
  3. 7:17Demo app architecture
  4. 8:23Traces and flame graphs
  5. 10:56OpenTelemetry benefits
  6. 13:07Spans, attributes, and events
  7. 17:56Tracing vs traditional logging
  8. 18:17OpenTelemetry in Go setup
  9. 20:06Span status and context propagation
  10. 21:09Trace visualization and debugging
  11. 23:16Traces with logs and DB queries
  12. 25:21Adopting OpenTelemetry
  13. 28:35Spans in business logic
  14. 30:24Middleware and SDK
  15. 31:09Traces for testing
  16. 32:57Live demo debugging
  17. 37:56Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.