Opentracing::Instrumentation

This gem provides instrumentation for some popular gems. Its gem not use monkey patching, instrumentation provided only as middleware or wrappers.

Installation

Add this line to your application's Gemfile:

gem 'opentracing-instrumentation', require: 'opentracing/instrumentation'

And then execute:

bundle

Or install it yourself as:

gem install opentracing-instrumentation

Usage

Documentation

Gems

bunny

Documentation OpenTracing::Instrumentation::Bunny

Tested versions: 2.14.3

faraday

Documentation: OpenTracing::Instrumentation::Faraday

Tested versions: 0.9.2, 1.0.1

hutch

Documentation: OpenTracing::Instrumentation::Hutch

Tested versions: 0.21, 0.26

mongo

Documentation: OpenTracing::Instrumentation::Mongo

Tested versions: 2.8

rack

Documentation: OpenTracing::Instrumentation::Rack

Tested versions: 2.0, 2.2

redis

Documentation: OpenTracing::Instrumentation::Redis

Tested versions: 3.3.5

sidekiq

Documentation: OpenTracing::Instrumentation::Sidekiq

Tested versions 4.2

sinatra

Documentation: OpenTracing::Instrumentation::Sinatra

Tested version: 2.0.8

thrift

Documentation: OpenTracing::Instrumentation::Thrift

Tested versions: 0.11.0

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake to run the tests and lints. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in GEM_VERSION, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitLab.

License

The gem is available as open source under the terms of the MIT License.