riemann.keenio

Forwards events to Keen IO

keenio

(keenio collection project-id write-key)

Creates a keen adapter. Takes your Keen project id and write key, and returns a function that accepts an event and sends it to Keen IO. The full event will be sent.

(streams
  (let [kio (keenio "COLLECTION_NAME" "PROJECT_ID" "WRITE_KEY")]
    (where (state "error") kio)))

post

(post collection project-id write-key request)

POST to Keen IO.