diff options
author | Diego <diegolparra@gmail.com> | 2014-11-07 21:22:56 -0300 |
---|---|---|
committer | Diego <diegolparra@gmail.com> | 2014-11-07 21:22:56 -0300 |
commit | cbd22d715a274300afb925c6c32c6c97732a3b1c (patch) | |
tree | abf1344c6aabd7eb19010ab3ab7c9acda62a574d /kamon-statsd | |
parent | 6e1c17dad3c21936f4c8ee4fcf80664ffac93367 (diff) | |
download | Kamon-cbd22d715a274300afb925c6c32c6c97732a3b1c.tar.gz Kamon-cbd22d715a274300afb925c6c32c6c97732a3b1c.tar.bz2 Kamon-cbd22d715a274300afb925c6c32c6c97732a3b1c.zip |
+ statsD: include ContextSwitchesMetrics
Diffstat (limited to 'kamon-statsd')
-rw-r--r-- | kamon-statsd/src/main/scala/kamon/statsd/StatsD.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kamon-statsd/src/main/scala/kamon/statsd/StatsD.scala b/kamon-statsd/src/main/scala/kamon/statsd/StatsD.scala index e92cb546..a465de52 100644 --- a/kamon-statsd/src/main/scala/kamon/statsd/StatsD.scala +++ b/kamon-statsd/src/main/scala/kamon/statsd/StatsD.scala @@ -81,7 +81,7 @@ class StatsDExtension(system: ExtendedActorSystem) extends Kamon.Extension { // Subscribe to SystemMetrics val includeSystemMetrics = statsDConfig.getBoolean("report-system-metrics") if (includeSystemMetrics) { - List(CPUMetrics, ProcessCPUMetrics, MemoryMetrics, NetworkMetrics, GCMetrics, HeapMetrics) foreach { metric ⇒ + Seq(CPUMetrics, ProcessCPUMetrics, MemoryMetrics, NetworkMetrics, GCMetrics, HeapMetrics, ContextSwitchesMetrics) foreach { metric ⇒ Kamon(Metrics)(system).subscribe(metric, "*", statsDMetricsListener, permanently = true) } } |