diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2014-08-13 20:41:30 -0400 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2014-08-13 20:41:30 -0400 |
commit | 653ceaa3de4944c7c4788577c61ce8597ce9a8ae (patch) | |
tree | b580e2aca6dd8b68004893b66e49305e950bc1c4 /kamon-examples/kamon-play-example/app/filters/TraceLocalFilter.scala | |
parent | f774c4736545e1584f74b87c0a7d74d2ba6a07aa (diff) | |
parent | 79ccffe3fff870d8a9338576eff6caad7ed69992 (diff) | |
download | Kamon-653ceaa3de4944c7c4788577c61ce8597ce9a8ae.tar.gz Kamon-653ceaa3de4944c7c4788577c61ce8597ce9a8ae.tar.bz2 Kamon-653ceaa3de4944c7c4788577c61ce8597ce9a8ae.zip |
Merge branch 'master' into release-0.2
Conflicts:
kamon-play/src/main/scala/kamon/play/instrumentation/RequestInstrumentation.scala
version.sbt
Diffstat (limited to 'kamon-examples/kamon-play-example/app/filters/TraceLocalFilter.scala')
-rw-r--r-- | kamon-examples/kamon-play-example/app/filters/TraceLocalFilter.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kamon-examples/kamon-play-example/app/filters/TraceLocalFilter.scala b/kamon-examples/kamon-play-example/app/filters/TraceLocalFilter.scala index 08ea782c..bf496530 100644 --- a/kamon-examples/kamon-play-example/app/filters/TraceLocalFilter.scala +++ b/kamon-examples/kamon-play-example/app/filters/TraceLocalFilter.scala @@ -27,8 +27,8 @@ object TraceLocalKey extends TraceLocal.TraceLocalKey { } /* - By default Kamon spreads the trace-token-header-name but sometimes is necessary pass through the application requests with some infomation like - extra headers, with kamon it's possible using TraceLocalStorage, in Play applications we can do an Action Filter or using Action Composition, + By default kamon spreads the trace-token-header-name, but sometimes is necessary pass through the application requests with some information like + extra headers, with kamon it's possible using the TraceLocalStorage, in Play applications we can do an Action Filter or using Action Composition, in this example we are using a simple filter where given a Header store the value and then put the value in the result headers.. More detailed usage of TraceLocalStorage: https://github.com/kamon-io/Kamon/blob/b17539d231da923ea854c01d2c69eb02ef1e85b1/kamon-core/src/test/scala/kamon/trace/TraceLocalSpec.scala |