Skip to content

Commit

Permalink
update README (cosmetic)
Browse files Browse the repository at this point in the history
  • Loading branch information
benmur committed Jan 2, 2013
1 parent 0e5f087 commit 547d855
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
@@ -1,6 +1,6 @@
# riemann-scala-client # riemann-scala-client


Scala client for sending events to [Riemann](http://riemann.io/), featuring strong typing, asynchronous API (using [Akka](http://akka.io/) under the hood) and a DSL to avoid cluttering the application codebase with metrics-related code. Scala client library for sending events to [Riemann](http://riemann.io/), featuring strong typing, asynchronous API (using [Akka](http://akka.io/) under the hood) and a DSL to avoid cluttering the application codebase with metrics-related code.


[![Build Status](https://api.travis-ci.org/benmur/riemann-scala-client.png)](https://travis-ci.org/benmur/riemann-scala-client/) [![Build Status](https://api.travis-ci.org/benmur/riemann-scala-client.png)](https://travis-ci.org/benmur/riemann-scala-client/)


Expand Down Expand Up @@ -84,8 +84,8 @@ val metricsDestination = riemannConnectAs[Reliable] to new


state("warning") | metric(0.5) |>< metricsDestination onComplete { state("warning") | metric(0.5) |>< metricsDestination onComplete {
case Left(exception) => // ... case Left(exception) => // ...
case Right(false) => println("not sent ok!!") case Right(false) => println("not sent ok!!")
case Right(true) => println("sent ok") case Right(true) => println("sent ok")
} }
``` ```


Expand All @@ -95,7 +95,7 @@ val metricsDestination = riemannConnectAs[Reliable] to new InetSocketAddress("lo


Query("tagged \"slow\"") |>< metricsDestination onComplete { Query("tagged \"slow\"") |>< metricsDestination onComplete {
case Left(exception) => // ... case Left(exception) => // ...
case Right(events) => events foreach println case Right(events) => events foreach println
} }
``` ```


Expand Down

0 comments on commit 547d855

Please sign in to comment.