Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am staslos on github.
  • I am slos (https://keybase.io/slos) on keybase.
  • I have a public key whose fingerprint is 8F2B 0A17 12A9 4621 8580 FD25 DEFB 5A73 BF7F 8270

To claim this, I am signing this object:

val PIPELINE = appConf.getString("streaming.pipeline") // either rtr_adops, or rtr_adops_replay
val STATSD_CLIENT = new NonBlockingStatsDClient(s"pipeline.$PIPELINE", "localhost", 8125)
def reportCounts(eventType: String, eventCount: Long) {
if (eventCount > 0) STATSD_CLIENT.count(eventType, eventCount)
}
...
reportCounts("pixel_event", pixelCount)