diff options
author | Diego <diegolparra@gmail.com> | 2014-06-16 15:52:14 -0300 |
---|---|---|
committer | Diego <diegolparra@gmail.com> | 2014-06-16 15:52:14 -0300 |
commit | 4abab8df49d1bc5d9a051a8b54852e0712be7b74 (patch) | |
tree | 3e8be92dd0b458c388cfae54da1f6318a9d68f0e /kamon-datadog/src/main/scala/kamon/datadog | |
parent | e3d16846beb4ce0a629a79430d8742f369a73a32 (diff) | |
download | Kamon-4abab8df49d1bc5d9a051a8b54852e0712be7b74.tar.gz Kamon-4abab8df49d1bc5d9a051a8b54852e0712be7b74.tar.bz2 Kamon-4abab8df49d1bc5d9a051a8b54852e0712be7b74.zip |
+ play: refactor in RequestInstrumentation in order to propagate the TraceContext through the filters and all actions in the incoming request
Diffstat (limited to 'kamon-datadog/src/main/scala/kamon/datadog')
-rw-r--r-- | kamon-datadog/src/main/scala/kamon/datadog/DatadogMetricsSender.scala | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kamon-datadog/src/main/scala/kamon/datadog/DatadogMetricsSender.scala b/kamon-datadog/src/main/scala/kamon/datadog/DatadogMetricsSender.scala index 0d33ba1d..028e9608 100644 --- a/kamon-datadog/src/main/scala/kamon/datadog/DatadogMetricsSender.scala +++ b/kamon-datadog/src/main/scala/kamon/datadog/DatadogMetricsSender.scala @@ -23,7 +23,7 @@ import akka.util.ByteString import kamon.metrics.Subscriptions.TickMetricSnapshot import kamon.metrics.MetricSnapshot.Measurement import kamon.metrics.InstrumentTypes.{ Counter, Gauge, Histogram, InstrumentType } -import java.text.{DecimalFormatSymbols, DecimalFormat} +import java.text.{ DecimalFormatSymbols, DecimalFormat } import kamon.metrics.{ MetricIdentity, MetricGroupIdentity } import java.util.Locale @@ -35,7 +35,6 @@ class DatadogMetricsSender(remote: InetSocketAddress, maxPacketSizeInBytes: Long val symbols = DecimalFormatSymbols.getInstance(Locale.US) symbols.setDecimalSeparator('.') // Just in case there is some weird locale config we are not aware of. - // Absurdly high number of decimal digits, let the other end lose precision if it needs to. val samplingRateFormat = new DecimalFormat("#.################################################################", symbols) |