README.md in request-tracer-0.6.4 vs README.md in request-tracer-0.6.5
- old
+ new
@@ -13,10 +13,19 @@
------------
Request Tracer integrates with various other gems in order to transparently
read incoming trace headers and add trace headers to outgoing service calls.
A good introduction into Zipkin terminology [can be found here](http://www.slideshare.net/johanoskarsson/zipkin-strangeloop/25).
+Spawning traces
+---------------
+If you want to spawn from an existing trace or create a fresh one if there is no current trace, you can use
+```ruby
+RequestTracer::Trace.record do
+ # Some code that might contain outgoing calls etc
+end
+```
+
Reading trace headers
---------------------
In your `config.ru` add the RackHandler middleware like this:
```ruby
require 'request_tracer'
@@ -31,5 +40,14 @@
Somewhere in your code (e.g. in an initializer under `config/initializers/request-tracing.rb`)
add the following call:
```ruby
RequestTracer.integrate_with(:rest_client)
```
+
+Google Dapper Paper
+-------------------
+http://static.googleusercontent.com/media/research.google.com/en/pubs/archive/36356.pdf
+
+
+Scala Tests
+-----------
+https://github.com/openzipkin/zipkin/blob/master/zipkin-common/src/test/scala/com/twitter/zipkin/common/SpanTest.scala