pekko/akka-testkit
Konrad 'ktoso' Malawski 0ab8e2f37a =tes #15165 MetricsKit should not nullpointer on racy graphite usage
The report() call can come from multiple threads in our code,
yet it was opening/closing a shared graphite client instance in this
method, causing NPE when periodic reporting kicked in during a manual
report() call. We want to be able to do this - thus rewrite to safe impl

Removed metrics-graphite dependency, replaced by in house impl.
The previous was using discrete write() calls, which could be entangled
when called from multiple threads, and produce invalid metric lines.
Current impl is simpler and threadsafe, as the lock for write(String) to
aquired for the entire string lenght's write (unlike multiple write calls).

Resolves #15165
2014-05-20 01:22:01 +02:00
..
src =tes #15165 MetricsKit should not nullpointer on racy graphite usage 2014-05-20 01:22:01 +02:00
build.sbt =pro #15031 separate sbt build file for every module 2014-05-14 10:05:09 +02:00