diff options
author | Jakob Odersky <jakob@driver.xyz> | 2017-10-04 16:12:30 -0700 |
---|---|---|
committer | Jakob Odersky <jakob@driver.xyz> | 2017-10-04 16:12:30 -0700 |
commit | 743b55dec004cd32422045eb3b3b8315a9245caf (patch) | |
tree | 3b4a66a0083f721fb09c381105433a107402f8e1 /README.md | |
parent | e4753fb1ab68f738d51a0e7b2d9dffdfbd5ad998 (diff) | |
download | tracing-743b55dec004cd32422045eb3b3b8315a9245caf.tar.gz tracing-743b55dec004cd32422045eb3b3b8315a9245caf.tar.bz2 tracing-743b55dec004cd32422045eb3b3b8315a9245caf.zip |
Fix indentation in readme
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 25 |
1 files changed, 12 insertions, 13 deletions
@@ -27,23 +27,22 @@ val route = // report how long any request to this service takes trace(tracer) { path("my-service-endpoint") { - get { - // include a sub-trace with a custom name - trace(tracer, Some("complex-call")) { - // do something that takes time - complete("done") - } - } + get { + // include a sub-trace with a custom name + trace(tracer, Some("complex-call")) { + // do something that takes time + complete("done") + } + } } ~ path("proxy-service-endpoint") { - // extract tracing headers so they may be injected into nested requests - extractTraceHeaders{ headers => - // call external service with the existing parent tracing headers - complete("done") - } + // extract tracing headers so they may be injected into nested requests + extractTraceHeaders{ headers => + // call external service with the existing parent tracing headers + complete("done") + } } } - ``` ## Tracing Backends |