Skip to content

archena/statsd-akka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

statsd-akka

Simple Statsd client based on Akka IO

Statsd: https://github.com/etsy/statsd

Example

import akka.actor.{Actor, ActorSystem, Props}
import java.net.InetSocketAddress
import java.util.Random
import statsdclient._

val address = new InetSocketAddress(<statsd server IP>, 8125)
val system = ActorSystem("example")
val client = system.actorOf(Props(new Statsd(address, "example")))

client ! Counter("mycount", 10)
client ! Gauge("mygauge", 10)
client ! ExecutionTime("mytime", 1600)

About

Simple Statsd client based on Akka IO

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages