README.md in appdash-0.6.0 vs README.md in appdash-0.6.1
- old
+ new
@@ -22,9 +22,21 @@
client.span do |s|
s.name "Request"
s.log "a log entry with a timestamp"
end
+Rack middleware:
+
+ require 'sinatra'
+ require 'appdash/middleware'
+
+ client = Appdash::Client.new host: "remote.host", port: 7701
+ use Appdash::Middleware, client
+
+ get '/' do
+ "OK"
+ end
+
For full options and event types, please see the [Documentation](http://www.rubydoc.info/gems/appdash).
## Contributing
1. Fork it