Closed jrask closed 7 years ago
Beginning to dislike the configuration options with groovy.. they are nice to look at but it is hard to write them without code completion.. Considering trying this out as an alternative.
graphite.carbon()
.host("localhost")
.port(2003)
.metric("something.{metric}", "{value}")
.metric("something2.{metric}", "{value}")
.build()
graphite.events()
.host("localhost")
.port(2003)
.what("{shortMessage}")
.data("{message}")
.tag("{level}")
.tag("error")
.build()