~/talk

Start Tracing on Day Zero

Talkat SquiggleConf 2024 · 2024-10-03..10-04· [observability, devops-and-delivery]
slides:none on file

Tracing uses OpenTelemetry spans with trace ID, span ID, parent ID, start and end times and attributes, and requires wrapping functions to start active spans and call span.addEvent instead of console.log. It binds logs to requests via traceId binds logs to requests, surfaces slow spans for outlier detection, and can feed traces into LLM prompts. The hard parts are widespread refactors and backend tooling (eg spinning up a collector in Docker), so a local dev-first workflow with OpenTelemetry makes production adoption far easier.

AI-written summary · about

  1. 0:00in this talk…
  2. 0:41welcome to tracing on day 0
  3. 1:35console.log tracing
  4. 2:10about Laurynas
  5. 2:40what is tracing? a crash course
  6. 3:30what does a trace actually look like?
  7. 4:02spans
  8. 4:48traces
  9. 5:17events
  10. 5:40attributes
  11. 6:03tracing is helpful!
  12. 6:39using traceId to bind logs to requests
  13. 7:31the catch: tracing is hard
  14. 9:20local dev-first wins
  15. 9:58clean consoles
  16. 10:16log any data at will
  17. 10:27surface errors faster
  18. 10:49easier on-ramp
  19. 11:05how can I get into this
  20. 11:27audience questions and answers
~/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.