Wiki: Power Trip with a Power Drill - Monitoring distributed systems with Riemann

For agents: Markdown version · Wiki index · Explore

Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.

Summary

The speaker shares practical experiences with using Riemann for monitoring distributed systems at a startup. The talk explains how Riemann was utilized as an event stream processor to handle alerts, system health probes, and application metrics. The audience learns about the benefits and dangers of using a powerful tool written in Clojure for real-time monitoring. Finally, the speaker demonstrates how to aggregate metrics and integrate them with dashboards and external services.

Key points

  • 2:00 Riemann acts as an event stream processor optimized specifically for monitoring infrastructure and business metrics.
  • 6:58 Running periodic system tests as probes helps generate reliable alerts and continuous coverage for the system.
  • 10:12 Riemann uses a Clojure-based DSL to filter event streams, detect state changes, and trigger alerts.
  • 13:16 Statistical aggregation over time windows prevents alert fatigue caused by sporadic test failures.
  • 17:29 Integrating Riemann with visualization tools and application instrumentation enables deep operational visibility.
  • 28:19 Maintenance modes can be implemented in Riemann to suppress unwanted alerts during deployment windows.
  • 31:25 By tracking producers and consumers, Riemann can calculate metrics such as latency over distributed queues.

Takeaways

  • Use automated system tests as external health probes to catch unexpected production failures.
  • Apply statistical aggregation over time windows to avoid noisy alerts from flaky tests.
  • Implement rate limiting and throttling strategies when integrating monitoring tools with notification services.

Questions this talk answers

  • How can I prevent alert fatigue caused by flaky integration tests in my monitoring system?
  • What is the best way to process and aggregate high-throughput event streams in real-time?
  • How do I integrate an event stream processor like Riemann with dashboards and third-party alerting tools?

Technologies

Riemann, Clojure, Elasticsearch, Kibana, Node.js, Java, Python, PagerDuty, GitHub, AWS, Kinesis

Tags

alerting, devops, distributed systems, event stream processing, monitoring, observability