~/talk

How to build observability into a serverless application

Talkat Craft Conference 2019 · 2019-05-07..05-10· [serverless, observability]
slides:none on file

Shows how to implement log aggregation, tracing and correlation IDs for serverless apps using CloudWatch Logs, API Gateway, SNS/SQS/Kinesis and X‑Ray; recommends stream CloudWatch Logs to Kinesis so log-shipping uses shard-to-concurrency mapping (avoids hitting the regional 1,000 concurrency soft limit), uses structured JSON logs, and encodes custom metrics as log lines to avoid user-facing latency. Implements a middleware that propagates request IDs and sample 1% debug logs across sync and async invocations and stores correlation IDs in a per-invocation global so traces across functions can be rebuilt.

AI-written summary · about

  1. 0:00Start
  2. 11:48building event-driven architectures
  3. 21:40enable sample logging in our application
  4. 25:00use the media middleware
  5. 34:03set up metric filters
~/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.