README.md in opencensus-0.3.1 vs README.md in opencensus-0.4.0
- old
+ new
@@ -96,11 +96,11 @@
additional custom spans to the request trace:
```ruby
OpenCensus::Trace.in_span "my_task" do |span|
# Do stuff...
-
+
OpenCensus::Trace.in_span "my_subtask" do |subspan|
# Do other stuff
end
end
```
@@ -110,13 +110,20 @@
module for more info.
### Exporting traces
By default, OpenCensus will log request trace data as JSON. To export traces to
-your favorite analytics backend, install an export plugin. Plugins are
-currently being developed for Stackdriver, Zipkin, and other services.
+your favorite analytics backend, install an export plugin.
+The provided exporters are:
+
+| Class | Description |
+| ----- | ----------- |
+| [LoggerExporter][logger-exporter] | Exporter JSON encoded spans to a standard Ruby Logger interface |
+| [StackdriverExporter][stackdriver-exporter] | Report traces to Google Cloud Stackdriver Trace |
+| [ZipkinExporter][zipkin-exporter] | Report collected spans to a Zipkin server |
+
You may also create your own
[Exporter](http://www.rubydoc.info/gems/opencensus/OpenCensus/Trace/Exporters)
### Configuring the library
@@ -191,5 +198,9 @@
[LICENSE](LICENSE).
## Disclaimer
This is not an official Google product.
+
+[logger-exporter]: https://www.rubydoc.info/gems/opencensus/OpenCensus/Trace/Exporters/Logger
+[stackdriver-exporter]: https://github.com/census-ecosystem/opencensus-ruby-exporter-stackdriver
+[zipkin-exporter]: https://github.com/census-ecosystem/opencensus-ruby-exporter-zipkin