diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2014-12-03 02:10:46 +0100 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2014-12-03 02:10:46 +0100 |
commit | 216687a130d9f68aacc67d7fe932fb4007288291 (patch) | |
tree | ed3a525c4436f44b0dfd8aa6695ee63a3bc01bb6 /kamon-spray/src | |
parent | 3ef0a1b6e7c3e277fb44d607f248fd94c20df5c0 (diff) | |
download | Kamon-216687a130d9f68aacc67d7fe932fb4007288291.tar.gz Kamon-216687a130d9f68aacc67d7fe932fb4007288291.tar.bz2 Kamon-216687a130d9f68aacc67d7fe932fb4007288291.zip |
= core: first simple approach to providing traces and a subscription mechanism.
Diffstat (limited to 'kamon-spray/src')
-rw-r--r-- | kamon-spray/src/main/scala/spray/can/server/ServerRequestInstrumentation.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kamon-spray/src/main/scala/spray/can/server/ServerRequestInstrumentation.scala b/kamon-spray/src/main/scala/spray/can/server/ServerRequestInstrumentation.scala index 2bdd96e7..2c5e42ae 100644 --- a/kamon-spray/src/main/scala/spray/can/server/ServerRequestInstrumentation.scala +++ b/kamon-spray/src/main/scala/spray/can/server/ServerRequestInstrumentation.scala @@ -70,7 +70,7 @@ class ServerRequestInstrumentation { val storedContext = openRequest.traceContext // The stored context is always a DefaultTraceContext if the instrumentation is running - val system = storedContext.asInstanceOf[DefaultTraceContext].system + val system = storedContext.asInstanceOf[MetricsOnlyContext].system verifyTraceContextConsistency(incomingContext, storedContext, system) |