riemann.blueflood
Forwards events to Blueflood
blueflood-ingest
(blueflood-ingest opts & children)
A stream which creates a batch, optionally asynchronous, of events to forward to BF
Options: Parameters to Blueflood server :host BF hostname :port BF port :tenant-id BF tenant for this batch of metrics
Parameters to riemann.streams/batch, (they pass through unchanged.) :n Max number of events in a batch :dt Max seconds in a batch
Parameters to riemann.config/async-queue! (they pass through unchanged.) :async-queue-name Name of queue; if nil, stream is synchronous (i.e. async-queue! stream not used.) :threadpool-service-opts Options to riemann.service/threadpool-service Use: (blueflood-ingest {:host “blueflood-server” :tenant-id “tenant” :async-queue-name :bf-queue})
or for synchronous, just: (blueflood-ingest {:host “blueflood-server” :tenant-id “tenant”})