diff --git a/instrumentation/active_job/CHANGELOG.md b/instrumentation/active_job/CHANGELOG.md index c282b9f46..49d92a237 100644 --- a/instrumentation/active_job/CHANGELOG.md +++ b/instrumentation/active_job/CHANGELOG.md @@ -1,5 +1,9 @@ # Release History: opentelemetry-instrumentation-active_job +### v0.7.2 / 2024-07-02 + +* DOCS: Fix CHANGELOGs to reflect a past breaking change + ### v0.7.1 / 2023-11-23 * CHANGED: Applied Rubocop Performance Recommendations [#727](https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/727) diff --git a/instrumentation/active_job/lib/opentelemetry/instrumentation/active_job/version.rb b/instrumentation/active_job/lib/opentelemetry/instrumentation/active_job/version.rb index 2b7b6effe..ece2c148c 100644 --- a/instrumentation/active_job/lib/opentelemetry/instrumentation/active_job/version.rb +++ b/instrumentation/active_job/lib/opentelemetry/instrumentation/active_job/version.rb @@ -7,7 +7,7 @@ module OpenTelemetry module Instrumentation module ActiveJob - VERSION = '0.7.1' + VERSION = '0.7.2' end end end diff --git a/instrumentation/active_support/CHANGELOG.md b/instrumentation/active_support/CHANGELOG.md index 9e9563b07..7c20d34c6 100644 --- a/instrumentation/active_support/CHANGELOG.md +++ b/instrumentation/active_support/CHANGELOG.md @@ -1,5 +1,11 @@ # Release History: opentelemetry-instrumentation-active_support +### v0.6.0 / 2024-07-02 + +* BREAKING CHANGE: Custom ActiveSupport Span Names + +* ADDED: Custom ActiveSupport Span Names + ### v0.5.3 / 2024-06-20 * FIXED: Include span kind in ActiveSupport Instrumentation helper diff --git a/instrumentation/active_support/lib/opentelemetry/instrumentation/active_support/version.rb b/instrumentation/active_support/lib/opentelemetry/instrumentation/active_support/version.rb index f319c6409..4026a632f 100644 --- a/instrumentation/active_support/lib/opentelemetry/instrumentation/active_support/version.rb +++ b/instrumentation/active_support/lib/opentelemetry/instrumentation/active_support/version.rb @@ -7,7 +7,7 @@ module OpenTelemetry module Instrumentation module ActiveSupport - VERSION = '0.5.3' + VERSION = '0.6.0' end end end diff --git a/instrumentation/all/CHANGELOG.md b/instrumentation/all/CHANGELOG.md index 8a0136ef2..540939338 100644 --- a/instrumentation/all/CHANGELOG.md +++ b/instrumentation/all/CHANGELOG.md @@ -1,5 +1,12 @@ # Release History: opentelemetry-instrumentation-all +### v0.62.0 / 2024-07-02 + +* DOCS: Fix CHANGELOGs to reflect a past breaking change +* CHANGED: Update Rails Instrumentation +* CHANGED: Update Grape Instrumentation +* CHANGED: Update Sinatra Instrumentation + ### v0.61.0 / 2024-06-04 * ADDED: Add aws lambda to instrumentation-all @@ -25,7 +32,7 @@ ### v0.56.0 / 2024-01-09 -* BREAKING CHANGE: Use ActiveSupport instead of patches #703 +* BREAKING CHANGE: Use ActiveSupport instead of patches #703 ### v0.55.0 / 2024-01-06 @@ -33,7 +40,7 @@ ### v0.54.0 / 2023-11-28 -* ADDED: Updated excon to include connect spans +* ADDED: Updated excon to include connect spans ### v0.53.0 / 2023-11-28 diff --git a/instrumentation/all/lib/opentelemetry/instrumentation/all/version.rb b/instrumentation/all/lib/opentelemetry/instrumentation/all/version.rb index 3174770a5..546bdf7e7 100644 --- a/instrumentation/all/lib/opentelemetry/instrumentation/all/version.rb +++ b/instrumentation/all/lib/opentelemetry/instrumentation/all/version.rb @@ -7,7 +7,7 @@ module OpenTelemetry module Instrumentation module All - VERSION = '0.61.0' + VERSION = '0.62.0' end end end diff --git a/instrumentation/all/opentelemetry-instrumentation-all.gemspec b/instrumentation/all/opentelemetry-instrumentation-all.gemspec index d461f5e83..db7effd29 100644 --- a/instrumentation/all/opentelemetry-instrumentation-all.gemspec +++ b/instrumentation/all/opentelemetry-instrumentation-all.gemspec @@ -36,7 +36,7 @@ Gem::Specification.new do |spec| spec.add_dependency 'opentelemetry-instrumentation-ethon', '~> 0.21.1' spec.add_dependency 'opentelemetry-instrumentation-excon', '~> 0.22.0' spec.add_dependency 'opentelemetry-instrumentation-faraday', '~> 0.24.0' - spec.add_dependency 'opentelemetry-instrumentation-grape', '~> 0.1.3' + spec.add_dependency 'opentelemetry-instrumentation-grape', '~> 0.2.0' spec.add_dependency 'opentelemetry-instrumentation-graphql', '~> 0.28.0' spec.add_dependency 'opentelemetry-instrumentation-gruf', '~> 0.2.0' spec.add_dependency 'opentelemetry-instrumentation-http', '~> 0.23.1' @@ -50,7 +50,7 @@ Gem::Specification.new do |spec| spec.add_dependency 'opentelemetry-instrumentation-que', '~> 0.8.0' spec.add_dependency 'opentelemetry-instrumentation-racecar', '~> 0.3.0' spec.add_dependency 'opentelemetry-instrumentation-rack', '~> 0.24.0' - spec.add_dependency 'opentelemetry-instrumentation-rails', '~> 0.30.0' + spec.add_dependency 'opentelemetry-instrumentation-rails', '~> 0.31.0' spec.add_dependency 'opentelemetry-instrumentation-rake', '~> 0.2.1' spec.add_dependency 'opentelemetry-instrumentation-rdkafka', '~> 0.4.0' spec.add_dependency 'opentelemetry-instrumentation-redis', '~> 0.25.1' @@ -58,7 +58,7 @@ Gem::Specification.new do |spec| spec.add_dependency 'opentelemetry-instrumentation-restclient', '~> 0.22.1' spec.add_dependency 'opentelemetry-instrumentation-ruby_kafka', '~> 0.21.0' spec.add_dependency 'opentelemetry-instrumentation-sidekiq', '~> 0.25.0' - spec.add_dependency 'opentelemetry-instrumentation-sinatra', '~> 0.23.1' + spec.add_dependency 'opentelemetry-instrumentation-sinatra', '~> 0.24.0' spec.add_dependency 'opentelemetry-instrumentation-trilogy', '~> 0.59.0' spec.add_development_dependency 'active_model_serializers' diff --git a/instrumentation/aws_sdk/CHANGELOG.md b/instrumentation/aws_sdk/CHANGELOG.md index a68afd850..f2674ad57 100644 --- a/instrumentation/aws_sdk/CHANGELOG.md +++ b/instrumentation/aws_sdk/CHANGELOG.md @@ -1,5 +1,9 @@ # Release History: opentelemetry-instrumentation-aws_sdk +### v0.5.3 / 2024-07-02 + +* DOCS: Fix CHANGELOGs to reflect a past breaking change + ### v0.5.2 / 2024-04-30 * FIXED: Bundler conflict warnings diff --git a/instrumentation/aws_sdk/lib/opentelemetry/instrumentation/aws_sdk/version.rb b/instrumentation/aws_sdk/lib/opentelemetry/instrumentation/aws_sdk/version.rb index 11bc5af23..fa477aae1 100644 --- a/instrumentation/aws_sdk/lib/opentelemetry/instrumentation/aws_sdk/version.rb +++ b/instrumentation/aws_sdk/lib/opentelemetry/instrumentation/aws_sdk/version.rb @@ -7,7 +7,7 @@ module OpenTelemetry module Instrumentation module AwsSdk - VERSION = '0.5.2' + VERSION = '0.5.3' end end end diff --git a/instrumentation/bunny/CHANGELOG.md b/instrumentation/bunny/CHANGELOG.md index 19b8a1589..3a66efd52 100644 --- a/instrumentation/bunny/CHANGELOG.md +++ b/instrumentation/bunny/CHANGELOG.md @@ -1,5 +1,9 @@ # Release History: opentelemetry-instrumentation-bunny +### v0.21.4 / 2024-07-02 + +* DOCS: Fix CHANGELOGs to reflect a past breaking change + ### v0.21.3 / 2024-04-30 * FIXED: Bundler conflict warnings diff --git a/instrumentation/bunny/lib/opentelemetry/instrumentation/bunny/version.rb b/instrumentation/bunny/lib/opentelemetry/instrumentation/bunny/version.rb index dc5eb7c73..453369d1c 100644 --- a/instrumentation/bunny/lib/opentelemetry/instrumentation/bunny/version.rb +++ b/instrumentation/bunny/lib/opentelemetry/instrumentation/bunny/version.rb @@ -7,7 +7,7 @@ module OpenTelemetry module Instrumentation module Bunny - VERSION = '0.21.3' + VERSION = '0.21.4' end end end diff --git a/instrumentation/delayed_job/CHANGELOG.md b/instrumentation/delayed_job/CHANGELOG.md index 521a2d9c4..74d258391 100644 --- a/instrumentation/delayed_job/CHANGELOG.md +++ b/instrumentation/delayed_job/CHANGELOG.md @@ -1,5 +1,9 @@ # Release History: opentelemetry-instrumentation-delayed_job +### v0.22.3 / 2024-07-02 + +* DOCS: Fix CHANGELOGs to reflect a past breaking change + ### v0.22.2 / 2024-04-30 * FIXED: Bundler conflict warnings diff --git a/instrumentation/delayed_job/lib/opentelemetry/instrumentation/delayed_job/version.rb b/instrumentation/delayed_job/lib/opentelemetry/instrumentation/delayed_job/version.rb index 4c24b08ca..ed2e12e04 100644 --- a/instrumentation/delayed_job/lib/opentelemetry/instrumentation/delayed_job/version.rb +++ b/instrumentation/delayed_job/lib/opentelemetry/instrumentation/delayed_job/version.rb @@ -7,7 +7,7 @@ module OpenTelemetry module Instrumentation module DelayedJob - VERSION = '0.22.2' + VERSION = '0.22.3' end end end diff --git a/instrumentation/grape/CHANGELOG.md b/instrumentation/grape/CHANGELOG.md index f86102925..324d29dbf 100644 --- a/instrumentation/grape/CHANGELOG.md +++ b/instrumentation/grape/CHANGELOG.md @@ -1,5 +1,9 @@ # Release History: opentelemetry-instrumentation-grape +### v0.2.0 / 2024-07-02 + +* ADDED: Make the install of rack instrumentation by grape instrumentation optional + ### v0.1.8 / 2024-05-14 * DOCS: Instrumentation Authors Guide diff --git a/instrumentation/grape/lib/opentelemetry/instrumentation/grape/instrumentation.rb b/instrumentation/grape/lib/opentelemetry/instrumentation/grape/instrumentation.rb index d31def440..66c89c23a 100644 --- a/instrumentation/grape/lib/opentelemetry/instrumentation/grape/instrumentation.rb +++ b/instrumentation/grape/lib/opentelemetry/instrumentation/grape/instrumentation.rb @@ -8,6 +8,16 @@ module OpenTelemetry module Instrumentation module Grape # The Instrumentation class contains logic to detect and install the Grape instrumentation + # # Configuration keys and options + # ## `:ignored_events` + # + # Default is `[]`. Specifies which ActiveSupport::Notifications events published by Grape to ignore. + # Ignored events will not be published as Span events. + # + # ## `:install_rack` + # + # Default is `true`. Specifies whether or not to install the Rack instrumentation as part of installing the Grape instrumentation. + # This is useful in cases where you have multiple Rack applications but want to manually specify where to insert the tracing middleware. class Instrumentation < OpenTelemetry::Instrumentation::Base # Minimum Grape version needed for compatibility with this instrumentation MINIMUM_VERSION = Gem::Version.new('1.2.0') @@ -27,6 +37,7 @@ class Instrumentation < OpenTelemetry::Instrumentation::Base end option :ignored_events, default: [], validate: :array + option :install_rack, default: true, validate: :boolean private @@ -35,6 +46,8 @@ def gem_version end def install_rack_instrumentation + return unless config[:install_rack] + OpenTelemetry::Instrumentation::Rack::Instrumentation.instance.install({}) end diff --git a/instrumentation/grape/lib/opentelemetry/instrumentation/grape/version.rb b/instrumentation/grape/lib/opentelemetry/instrumentation/grape/version.rb index fb4d117c4..c2a7ca5f4 100644 --- a/instrumentation/grape/lib/opentelemetry/instrumentation/grape/version.rb +++ b/instrumentation/grape/lib/opentelemetry/instrumentation/grape/version.rb @@ -8,7 +8,7 @@ module OpenTelemetry module Instrumentation module Grape # Current gem version - VERSION = '0.1.8' + VERSION = '0.2.0' end end end diff --git a/instrumentation/grape/test/opentelemetry/instrumentation/grape_test.rb b/instrumentation/grape/test/opentelemetry/instrumentation/grape_test.rb index f9d6744cd..782dcc8d5 100644 --- a/instrumentation/grape/test/opentelemetry/instrumentation/grape_test.rb +++ b/instrumentation/grape/test/opentelemetry/instrumentation/grape_test.rb @@ -418,5 +418,56 @@ class IgnoredEventAPI < Grape::API _(events_per_name('grape.endpoint_render').length).must_equal 0 end end + + describe 'when install_rack is set to false' do + class BasicAPI < Grape::API + format :json + get :hello do + { message: 'Hello, world!' } + end + end + + let(:config) { { install_rack: false } } + + let(:app) do + builder = Rack::Builder.app do + run BasicAPI + end + Rack::MockRequest.new(builder) + end + + let(:request_path) { '/hello' } + let(:expected_span_name) { 'HTTP GET /hello' } + + describe 'missing rack installation' do + it 'disables tracing' do + app.get request_path + _(exporter.finished_spans).must_be_empty + end + end + + describe 'when rack is manually installed' do + let(:app) do + build_rack_app(BasicAPI) + end + + before do + OpenTelemetry::Instrumentation::Rack::Instrumentation.instance.install + end + + it 'creates a span' do + app.get request_path + _(exporter.finished_spans.first.attributes).must_equal( + 'code.namespace' => 'BasicAPI', + 'http.method' => 'GET', + 'http.host' => 'unknown', + 'http.scheme' => 'http', + 'http.target' => '/hello', + 'http.route' => '/hello', + 'http.status_code' => 200 + ) + end + end + end end end diff --git a/instrumentation/que/CHANGELOG.md b/instrumentation/que/CHANGELOG.md index cbafc4367..7debd66c3 100644 --- a/instrumentation/que/CHANGELOG.md +++ b/instrumentation/que/CHANGELOG.md @@ -1,5 +1,9 @@ # Release History: opentelemetry-instrumentation-que +### v0.8.2 / 2024-07-02 + +* DOCS: Fix CHANGELOGs to reflect a past breaking change + ### v0.8.1 / 2024-04-30 * FIXED: Bundler conflict warnings diff --git a/instrumentation/que/lib/opentelemetry/instrumentation/que/version.rb b/instrumentation/que/lib/opentelemetry/instrumentation/que/version.rb index be7152f54..b96f6aa0e 100644 --- a/instrumentation/que/lib/opentelemetry/instrumentation/que/version.rb +++ b/instrumentation/que/lib/opentelemetry/instrumentation/que/version.rb @@ -7,7 +7,7 @@ module OpenTelemetry module Instrumentation module Que - VERSION = '0.8.1' + VERSION = '0.8.2' end end end diff --git a/instrumentation/racecar/CHANGELOG.md b/instrumentation/racecar/CHANGELOG.md index 4ced68134..0247c1775 100644 --- a/instrumentation/racecar/CHANGELOG.md +++ b/instrumentation/racecar/CHANGELOG.md @@ -1,5 +1,9 @@ # Release History: opentelemetry-instrumentation-racecar +### v0.3.3 / 2024-07-02 + +* DOCS: Fix CHANGELOGs to reflect a past breaking change + ### v0.3.2 / 2024-04-30 * FIXED: Bundler conflict warnings diff --git a/instrumentation/racecar/lib/opentelemetry/instrumentation/racecar/version.rb b/instrumentation/racecar/lib/opentelemetry/instrumentation/racecar/version.rb index e429ed599..183b41592 100644 --- a/instrumentation/racecar/lib/opentelemetry/instrumentation/racecar/version.rb +++ b/instrumentation/racecar/lib/opentelemetry/instrumentation/racecar/version.rb @@ -7,7 +7,7 @@ module OpenTelemetry module Instrumentation module Racecar - VERSION = '0.3.2' + VERSION = '0.3.3' end end end diff --git a/instrumentation/rails/CHANGELOG.md b/instrumentation/rails/CHANGELOG.md index 9a52abc95..b2dc96104 100644 --- a/instrumentation/rails/CHANGELOG.md +++ b/instrumentation/rails/CHANGELOG.md @@ -1,5 +1,10 @@ # Release History: opentelemetry-instrumentation-rails +### v0.31.0 / 2024-07-02 + +* DOCS: Fix CHANGELOGs to reflect a past breaking change +* CHANGED: Update ActiveSupport Instrumentation + ### v0.30.2 / 2024-06-04 * FIXED: Add action_mailer to rails and all @@ -10,7 +15,7 @@ ### v0.30.0 / 2024-01-09 -* BREAKING CHANGE: Use ActiveSupport instead of patches #703 +* BREAKING CHANGE: Use ActiveSupport instead of patches #703 ### v0.29.1 / 2023-11-23 diff --git a/instrumentation/rails/lib/opentelemetry/instrumentation/rails/version.rb b/instrumentation/rails/lib/opentelemetry/instrumentation/rails/version.rb index ace5badb9..334dc1f60 100644 --- a/instrumentation/rails/lib/opentelemetry/instrumentation/rails/version.rb +++ b/instrumentation/rails/lib/opentelemetry/instrumentation/rails/version.rb @@ -7,7 +7,7 @@ module OpenTelemetry module Instrumentation module Rails - VERSION = '0.30.2' + VERSION = '0.31.0' end end end diff --git a/instrumentation/rails/opentelemetry-instrumentation-rails.gemspec b/instrumentation/rails/opentelemetry-instrumentation-rails.gemspec index 039546872..045e45aae 100644 --- a/instrumentation/rails/opentelemetry-instrumentation-rails.gemspec +++ b/instrumentation/rails/opentelemetry-instrumentation-rails.gemspec @@ -31,7 +31,7 @@ Gem::Specification.new do |spec| spec.add_dependency 'opentelemetry-instrumentation-action_view', '~> 0.7.0' spec.add_dependency 'opentelemetry-instrumentation-active_job', '~> 0.7.0' spec.add_dependency 'opentelemetry-instrumentation-active_record', '~> 0.7.0' - spec.add_dependency 'opentelemetry-instrumentation-active_support', '~> 0.5.0' + spec.add_dependency 'opentelemetry-instrumentation-active_support', '~> 0.6.0' spec.add_dependency 'opentelemetry-instrumentation-base', '~> 0.22.1' spec.add_development_dependency 'appraisal', '~> 2.5' diff --git a/instrumentation/rdkafka/CHANGELOG.md b/instrumentation/rdkafka/CHANGELOG.md index c6fff3102..58d8f5431 100644 --- a/instrumentation/rdkafka/CHANGELOG.md +++ b/instrumentation/rdkafka/CHANGELOG.md @@ -1,5 +1,9 @@ # Release History: opentelemetry-instrumentation-rdkafka +### v0.4.7 / 2024-07-02 + +* DOCS: Fix CHANGELOGs to reflect a past breaking change + ### v0.4.6 / 2024-06-18 * FIXED: Relax otel common gem constraints diff --git a/instrumentation/rdkafka/lib/opentelemetry/instrumentation/rdkafka/version.rb b/instrumentation/rdkafka/lib/opentelemetry/instrumentation/rdkafka/version.rb index 481f05b9f..556700353 100644 --- a/instrumentation/rdkafka/lib/opentelemetry/instrumentation/rdkafka/version.rb +++ b/instrumentation/rdkafka/lib/opentelemetry/instrumentation/rdkafka/version.rb @@ -7,7 +7,7 @@ module OpenTelemetry module Instrumentation module Rdkafka - VERSION = '0.4.6' + VERSION = '0.4.7' end end end diff --git a/instrumentation/ruby_kafka/CHANGELOG.md b/instrumentation/ruby_kafka/CHANGELOG.md index 2dfcf87e0..f67fc3cf6 100644 --- a/instrumentation/ruby_kafka/CHANGELOG.md +++ b/instrumentation/ruby_kafka/CHANGELOG.md @@ -1,5 +1,9 @@ # Release History: opentelemetry-instrumentation-ruby_kafka +### v0.21.2 / 2024-07-02 + +* DOCS: Fix CHANGELOGs to reflect a past breaking change + ### v0.21.1 / 2024-04-30 * FIXED: Bundler conflict warnings diff --git a/instrumentation/ruby_kafka/lib/opentelemetry/instrumentation/ruby_kafka/version.rb b/instrumentation/ruby_kafka/lib/opentelemetry/instrumentation/ruby_kafka/version.rb index 3bc93c1e7..8939e202c 100644 --- a/instrumentation/ruby_kafka/lib/opentelemetry/instrumentation/ruby_kafka/version.rb +++ b/instrumentation/ruby_kafka/lib/opentelemetry/instrumentation/ruby_kafka/version.rb @@ -7,7 +7,7 @@ module OpenTelemetry module Instrumentation module RubyKafka - VERSION = '0.21.1' + VERSION = '0.21.2' end end end diff --git a/instrumentation/sidekiq/CHANGELOG.md b/instrumentation/sidekiq/CHANGELOG.md index 8c360317f..007b05113 100644 --- a/instrumentation/sidekiq/CHANGELOG.md +++ b/instrumentation/sidekiq/CHANGELOG.md @@ -1,5 +1,9 @@ # Release History: opentelemetry-instrumentation-sidekiq +### v0.25.6 / 2024-07-02 + +* DOCS: Fix CHANGELOGs to reflect a past breaking change + ### v0.25.5 / 2024-06-18 * FIXED: Relax otel common gem constraints diff --git a/instrumentation/sidekiq/lib/opentelemetry/instrumentation/sidekiq/version.rb b/instrumentation/sidekiq/lib/opentelemetry/instrumentation/sidekiq/version.rb index 954028728..553f0de90 100644 --- a/instrumentation/sidekiq/lib/opentelemetry/instrumentation/sidekiq/version.rb +++ b/instrumentation/sidekiq/lib/opentelemetry/instrumentation/sidekiq/version.rb @@ -7,7 +7,7 @@ module OpenTelemetry module Instrumentation module Sidekiq - VERSION = '0.25.5' + VERSION = '0.25.6' end end end diff --git a/instrumentation/sinatra/CHANGELOG.md b/instrumentation/sinatra/CHANGELOG.md index 4c72110a3..331835a9b 100644 --- a/instrumentation/sinatra/CHANGELOG.md +++ b/instrumentation/sinatra/CHANGELOG.md @@ -1,5 +1,9 @@ # Release History: opentelemetry-instrumentation-sinatra +### v0.24.0 / 2024-07-02 + +* ADDED: Make Rack install optional for sinatra + ### v0.23.5 / 2024-06-18 * FIXED: Relax otel common gem constraints diff --git a/instrumentation/sinatra/lib/opentelemetry/instrumentation/sinatra/version.rb b/instrumentation/sinatra/lib/opentelemetry/instrumentation/sinatra/version.rb index e4b4b4895..1411df42f 100644 --- a/instrumentation/sinatra/lib/opentelemetry/instrumentation/sinatra/version.rb +++ b/instrumentation/sinatra/lib/opentelemetry/instrumentation/sinatra/version.rb @@ -7,7 +7,7 @@ module OpenTelemetry module Instrumentation module Sinatra - VERSION = '0.23.5' + VERSION = '0.24.0' end end end