~/talk

Combining Logs and Traces using OpenTelemetry

slides:none on file

When a transaction touches at least three services and you run fifty services finding its logs is needle‑in‑a‑haystack hard. OpenTelemetry adds trace id and span id to each log via a log appender or converts logs into span add event calls, preserving original timestamps and structured attributes. The result is indexed, correlated traces with trace id, span id, parent id, resource metadata and request attributes so you can query and aggregate causally linked events across services.

AI-written summary · about

  1. 0:00Intro
  2. 0:27Which means you write logs.
  3. 0:50What is OpenTelemetry?
  4. 1:26Adding context turns logs into traces.
  5. 2:17Logs need context
  6. 3:26How do you identify which logs are part of which transactions?
  7. 3:49Finding all of the logs in a transaction is a kludge.
  8. 4:00Finding all of the events in a trace is a single lookup.
  9. 4:18Leveraging logs
  10. 5:58CONGRATULATIONS!
  11. 7:09What do you get?
  12. 7:27Example HTTP server logs
  13. 9:40LET'S TALK ABOUT ANALYSIS
  14. 10:04is correlated with
  15. 12:09Tracing is not a niche tool.
  16. 12:19It's structured data...
  17. 12:57Halting Problem
~/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.