All Projects → salemove → zipkin-ruby-opentracing

salemove / zipkin-ruby-opentracing

Licence: MIT license
OpenTracing Tracer implementation for Zipkin in Ruby

Programming Languages

ruby
36898 projects - #4 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to zipkin-ruby-opentracing

Zipkin Go Opentracing
OpenTracing Bridge for Zipkin Go
Stars: ✭ 472 (+3046.67%)
Mutual labels:  instrumentation, tracing, trace, opentracing, zipkin
Molten
php probe for zipkin and opentracing
Stars: ✭ 740 (+4833.33%)
Mutual labels:  instrumentation, tracing, trace, opentracing, zipkin
zipkin-cpp-opentracing
OpenTracing Tracer implementation for Zipkin in C++
Stars: ✭ 46 (+206.67%)
Mutual labels:  instrumentation, tracing, trace, opentracing, zipkin
Zipkin Go
Zipkin tracer library for go
Stars: ✭ 435 (+2800%)
Mutual labels:  instrumentation, tracing, trace, zipkin
go-sensor
🚀 Go Distributed Tracing & Metrics Sensor for Instana
Stars: ✭ 90 (+500%)
Mutual labels:  instrumentation, tracing, trace, opentracing
Brave Opentracing
Bridge between OpenTracing and Brave
Stars: ✭ 64 (+326.67%)
Mutual labels:  instrumentation, tracing, opentracing, zipkin
Opencensus Node
A stats collection and distributed tracing framework
Stars: ✭ 249 (+1560%)
Mutual labels:  instrumentation, tracing, trace, zipkin
nginx-opentracing
Instrument nginx for OpenTracing.
Stars: ✭ 21 (+40%)
Mutual labels:  instrumentation, tracing, opentracing, zipkin
Sqlhooks
Attach hooks to any database/sql driver
Stars: ✭ 397 (+2546.67%)
Mutual labels:  instrumentation, tracing, opentracing
Inspectit
inspectIT is the leading Open Source APM (Application Performance Management) tool for analyzing your Java (EE) applications.
Stars: ✭ 513 (+3320%)
Mutual labels:  instrumentation, trace, opentracing
java-web-servlet-filter
OpenTracing Java Web Servlet Filter Instrumentation
Stars: ✭ 20 (+33.33%)
Mutual labels:  instrumentation, tracing, opentracing
easeagent
An agent component for the Java system
Stars: ✭ 437 (+2813.33%)
Mutual labels:  tracing, opentracing, zipkin
dropwizard-zipkin
Dropwizard Zipkin Bundle
Stars: ✭ 48 (+220%)
Mutual labels:  instrumentation, tracing, zipkin
Java Spring Cloud
Distributed tracing for Spring Boot, Cloud and other Spring projects
Stars: ✭ 326 (+2073.33%)
Mutual labels:  instrumentation, tracing, opentracing
java-okhttp
OpenTracing Okhttp client instrumentation
Stars: ✭ 21 (+40%)
Mutual labels:  instrumentation, tracing, opentracing
Opencensus Web
A stats collection and distributed tracing framework
Stars: ✭ 168 (+1020%)
Mutual labels:  instrumentation, tracing, trace
ruby-sensor
💎 Ruby Distributed Tracing & Metrics Sensor for Instana
Stars: ✭ 23 (+53.33%)
Mutual labels:  instrumentation, tracing, opentracing
Java Specialagent
Automatic instrumentation for 3rd-party libraries in Java applications with OpenTracing.
Stars: ✭ 156 (+940%)
Mutual labels:  instrumentation, tracing, opentracing
java-jaxrs
OpenTracing Java JAX-RS instrumentation
Stars: ✭ 37 (+146.67%)
Mutual labels:  instrumentation, tracing, opentracing
Spring Cloud Sleuth
Distributed tracing for spring cloud
Stars: ✭ 1,531 (+10106.67%)
Mutual labels:  instrumentation, tracing, zipkin

Zipkin

OpenTracing Tracer implementation for Zipkin in Ruby

Requirements

Zipkin version >= 2.0.0

Installation

Add this line to your application's Gemfile:

gem 'zipkin'

Usage

require 'zipkin/tracer'
OpenTracing.global_tracer = Zipkin::Tracer.build(url: 'http://localhost:9411', service_name: 'echo')

OpenTracing.start_active_span('span name') do
  # do something

  OpenTracing.start_active_span('inner span name') do
    # do something else
  end
end

See opentracing-ruby for more examples.

Samplers

Const sampler

Const sampler always makes the same decision for new traces depending on the initialization value. Set sampler to: Zipkin::Samplers::Const.new(true) to mark all new traces as sampled.

Probabilistic sampler

Probabilistic sampler samples traces with probability equal to rate (must be between 0.0 and 1.0). Set sampler to Zipkin::Samplers::Probabilistic.new(rate: 0.1) to mark 10% of new traces as sampled.

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. 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 version.rb, 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 GitHub at https://github.com/salemove/zipkin-ruby-opentracing

License

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].