~/talk

Beyond grep: Practical Logging and Metrics

Talkat PiterPy 2015 · on Friday, 2015-03-20· [observability, devops-and-delivery]
slides:none on file

Practical takeaways: use Sentry for error aggregation to get immediate, de-duplicated alerts (saves hundreds of emails) and return error IDs to users; collect metrics in a time-series DB—prefer InfluxDB over Graphite today—and favour percentiles (75/90/95) not averages; pick UDP StatsD for minimal overhead or in‑app aggregation with Dropwizard/Coda Hale for richer local dashboards; centralize structured logs as JSON and ship to ELK (Logstash → Elasticsearch → Kibana); use structlog/structured logging to bind context and the pipeline (runit → file → Logstash → ES → Kibana) proves reliable.

AI-written summary · about

  1. 0:00Introduction
  2. 0:37Speaking Speed vs Wi-Fi Speed
  3. 1:57GOALS
  4. 3:22REQUIREMENTS
  5. 8:17VANILLA
  6. 9:18DJANGO
  7. 9:41PROGRESS
  8. 10:16METRICS?
  9. 10:54SYSTEM METRICS VS APP METRICS
  10. 14:50MONITORING
  11. 20:02APPROACHES
  12. 22:56SCALES
  13. 32:13bind values log.bind(key value)
  14. 34:51import logging, sys
  15. 35:46CAPTURE
  16. 39:42ERRORS
  17. 40:18PYRAMID ERROR VIEW
  18. 41:23WSGI SERVERS
  19. 42:30MIDDLEWARE
  20. 43:20EXTRACT FROM LOGS
  21. 45:57SUMMARY
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.