You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a service that receives a Riemann Protobuf-formatted event stream and sends it to one or more targets in Riemann or Graphite format.
Although that can be done in Riemann itself, this service is simpler, probably faster and lightweight (no Java)
Features
Receive event batches in Riemann Protobuf format (see riemann.proto)
Receive events in Riemann JSON format using Websocket API
Convert Riemann events to Carbon metrics using flexible field mapping syntax
Send events in configurable batch sizes to any number of Riemann/Carbon targets
Supports TCP and Unix Sockets
Different target selection algorithms:
Round-Robin
Hash
Failover
Broadcast
Optional failover to other targets if the selected one is down (in Hash and Round-Robin modes)
Prometheus metrics
Log stats periodically
Configurable batch and buffer sizes, flush intervals, timeouts
Build RPM and DEB packages
See riemann-relay.conf for more details on features and how to configure them
Performance
On 2 average CPU cores it's able to handle about 500k events per second, depending on batch size and incoming Riemann message sizes.
It will scale to more CPUs when using more targets and clients (each target and client gets it's own thread).
There's a room for optimizations, though.