riemann v0.1.2 Riemann

A client for the Riemann event stream processor. http://riemann.io

Summary

Functions

Asks the server for a list of events matching the provided query

Sends one or more events synchronously

Functions

query(query_str)

Asks the server for a list of events matching the provided query.

send(events, timeout \\ 5000)

Sends one or more events synchronously.

For example: Riemann.send(service: "my awesome app", metric: 5.0, attributes: [build: "7543"]) Riemann.send([ [service: "my awesome app req", metric: 1, attributes: [build: "7543"]], [service: "things in queue", metric: 100, attributes: [build: "7543"]] ])

send_async(events)
send_async([...]) :: :ok | {:error, atom}

see send/1