~/talk

Ask your logs

Talkat Helvetic Ruby 2024 · on Friday, 2024-05-17· [observability]
links:none on file
slides:none on file

Shows that turning Rails logs into structured JSON lets teams query them as data: use lograge or semantic_logger with a JSON formatter, enrich lines with user_id, revision and env, and correlate via a correlation ID or Sidekiq middleware adding request_id. Example outcomes: a dashboard in Kibana spots 800,000 enqueued jobs, filters reveal 20 requests by a user, seven legacy API users out of 109, and a feature-flag causing DB latency in us-east. Warns about performance cost and leaking sensitive params (Facebook plain‑text password incident).

AI-written summary · about

  1. 0:00Introduction and story
  2. 2:30About the speaker
  3. 3:19Talk agenda overview
  4. 4:02Default Rails logs explained
  5. 5:48Questions logs should answer
  6. 7:52Problems with current logs
  7. 8:14Consolidating multi-line logs
  8. 9:41Structuring logs into JSON
  9. 11:03Enriching logs with domain data
  10. 13:58Correlating logs between systems
  11. 16:28Analyzing logs as data
  12. 17:30Querying user-specific requests
  13. 18:36Investigating job spikes
  14. 21:04Tracking Legacy API usage
  15. 23:14Cross-stack performance analysis
  16. 24:39Benefits of structured logging
  17. 25:00Historical context of structured logs
  18. 26:23Call to adopt structured logging
  19. 27:24Q&A and closing
~/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.