Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Fix Production Bugs 20x Faster - Wroclave.rb - ...

Fix Production Bugs 20x Faster - Wroclave.rb - 2025

Production bugs aren’t just annoying — they’re often invisible.

This talk tells the true story of how structured logging in Rails exposed a flood of invisible problems — and led to an 83% drop in 500 errors and 98% less downtime.

You’ll learn:
* What to log (and how) using semantic_logger
* How to spot job queue issues instantly
* Why plain text logs just aren’t enough

If you're tired of being blind in prod, come see how better logging can translate to faster fixes.

Avatar for John Gallagher

John Gallagher

June 06, 2025
Tweet

More Decks by John Gallagher

Other Decks in Programming

Transcript

  1. How often do you encounter issues where you lack visibility

    into your application's performance or errors?
  2. How often do you encounter issues where you lack visibility

    into your application's performance or errors?
  3. Event Filter By Group By Values Of Job Performed Job

    Queue Job Class Data To Collect Decide
  4. Event Filter By Group By Values Of Job Performed Job

    Queue Job Class Duration Data To Collect Decide
  5. Instrumentation Build 1. Data type (Traces, Logs, Metrics) 2. Plain

    Text vs Structured 3. Logging Library 4. Customise
  6. Instrumentation Build Library Payload Rails Docs Mature fluentd lograge logging

    contextual_logger semantic_logger dry-logger Thank you to all authors of these gems for your hard work!
  7. Instrumentation Build Library Payload Rails Docs Mature fluentd ❌ ✅

    ❌ ✅ lograge ❌ ✅ ❌ ✅ logging ❌ ❌ ❌ ❌ contextual_logger ✅ ✅ ❌ ❌ semantic_logger ✅ ✅ ✅ ✅ dry-logger ✅ ❌ ✅ ❌ Thank you to all authors of these gems for your hard work!
  8. Instrumentation Build Library Payload Rails Docs Mature fluentd ❌ ✅

    ❌ ✅ lograge ❌ ✅ ❌ ✅ logging ❌ ❌ ❌ ❌ contextual_logger ✅ ✅ ❌ ❌ semantic_logger ✅ ✅ ✅ ✅ dry-logger ✅ ❌ ✅ ❌ Thank you to all authors of these gems for your hard work!
  9. 1. No conventions 2. Missing attributes 3. Missing API requests

    Many more... Instrumentation Build Weaknesses
  10. 1. No conventions 2. Missing attributes 3. Missing API requests

    Instrumentation Build Weaknesses ✅ ✅ ✅
  11. Graphs Use Event Filter By Group By Plot Values Of

    Job Performed Job Queue Job Class Duration