~/talk

Distributed Application Tracing with Trace4Cats

Talkat Scala Love in the City 2021 · on Saturday, 2021-02-13· [distributed-systems, observability]
links:none on file
slides:none on file

Trace4Cats is a pure Scala tracing library and a lightweight tracing system built on Cats Effect that captures spans, propagates context over HTTP, and forwards traces via a native agent and collector or directly to Jaeger/Datadog. It implements head and tail sampling (always, never, probabilistic, token‑bucket rate limiter) and offers a Redis decision store for coordinated tail sampling. Exports use an Avro wire format over UDP/TCP/Kafka, integrates with http4s, fs2 and Natchez, and runs as small Docker/native‑image components.

AI-written summary · about

  1. 0:00Start
  2. 1:35Agenda
  3. 2:39Why use Distributed Tracing?
  4. 3:50Terminology - Trace and Span
  5. 5:16Trace Sampling
  6. 7:34Tracing Libraries
  7. 10:30Key Differences to Natchez
  8. 11:34Support Exporters (to date)
  9. 12:03Finally Tagless & Trace Typeclass
  10. 13:28Traceable Business Logic
  11. 14:24Trace Visualisation
  12. 17:27Implementation
  13. 20:03Example:HTTP
  14. 21:51What About Arbitrary Contexts?
  15. 24:20Tail Sampling
  16. 25:16Deployment Topologies
  17. 26:26Trace4Cats Agent
  18. 27:08Trace4Cats Collector
~/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.