No release in over a year
Helper for the 'opentelemetry-ruby'.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Project Readme

Active support subscriber for Opentelemetry

· Supported by Cado Labs · Coverage Status · Gem Version

Helper for the gem "opentelemetry-ruby". Subscribe to active support events and add context active support events to current span.


Supported by Cado Labs


Installation

# --- from GitHub ---
gem 'otel-active-support-subscriber', github: "Cado-Labs/otel-active-support-subscriber"
# --- or ---
gem 'otel-active-support-subscriber'
bundle install
# --- or ---
gem install otel-active-support-subscriber
require 'otel-active-support-subscriber'

Usage

::Otel::ActiveSupportSubscriber.configure do |config|
  config.subscribe_to = [/.*/, "/sql/", "sql.sequel"]
end
  • Array elements starting and ending with "/" are converted to a regular expression

Contributing

  • Fork it ( https://github.com/Cado-Labs/otel-active-support-subscriber )
  • Create your feature branch (git checkout -b feature/my-new-feature)
  • Commit your changes (git commit -am '[feature_context] Add some feature')
  • Push to the branch (git push origin feature/my-new-feature)
  • Create new Pull Request

License

Released under MIT License.

Supporting

Supported by Cado Labs

Authors

Aleksandr Starovojtov