README.md in faraday-zipkin-0.1.1 vs README.md in faraday-zipkin-0.2.0

- old
+ new

@@ -22,15 +22,20 @@ require 'faraday' require 'faraday/zipkin' conn = Faraday.new(:url => 'http://localhost:9292/') do |faraday| - faraday.use Faraday::Zipkin::TraceHeaders + faraday.use Faraday::Zipkin::TraceHeaders [, 'service_name'] # default Faraday stack faraday.request :url_encoded faraday.adapter Faraday.default_adapter end - + +Note that supplying the service name for the destination service is +optional; the tracing will default to a service name derived from the +first section of the destination URL (e.g. 'service.example.com' => +'service'). + ## Contributing 1. Fork it ( https://github.com/Oscil8/faraday-zipkin/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`)