Skip to content

Commit

Permalink
Merge branch 'main' into feat-migrate-grpc-instrumentation-to-rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
arielvalentin authored Jan 15, 2025
2 parents 88f1fe3 + a25cd4b commit 16aeaf5
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 8 deletions.
1 change: 0 additions & 1 deletion .instrumentation_generator/templates/Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@
# appraise 'rack-2.0' do
# gem 'rack', '2.0.8'
# end

2 changes: 1 addition & 1 deletion .instrumentation_generator/templates/lib/entrypoint.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
#
# SPDX-License-Identifier: Apache-2.0

require_relative './opentelemetry/instrumentation'
require_relative 'opentelemetry/instrumentation'
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ module OpenTelemetry
end
end

require_relative './instrumentation/<%= instrumentation_name %>'
require_relative 'instrumentation/<%= instrumentation_name %>'
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ module OpenTelemetry
end
end

require_relative './<%= instrumentation_name %>/instrumentation'
require_relative './<%= instrumentation_name %>/version'
require_relative '<%= instrumentation_name %>/instrumentation'
require_relative '<%= instrumentation_name %>/version'
4 changes: 4 additions & 0 deletions instrumentation/all/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release History: opentelemetry-instrumentation-all

### v0.71.1 / 2025-01-14

* No Significant Changes

### v0.71.0 / 2025-01-07

* ADDED: Faraday Minimum v1.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
module OpenTelemetry
module Instrumentation
module All
VERSION = '0.71.0'
VERSION = '0.71.1'
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ module Utils
'multi_add' => 'addq',
'multi_replace' => 'replaceq',
'multi_delete' => 'deleteq',
'touch' => 'touch'
'touch' => 'touch',
'gat' => 'gat'
# 'sasl_authentication' => 'auth_negotiation',
# 'sasl_authentication' => 'auth_request',
}.freeze
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,16 @@
_(span.name).must_equal 'set'
_(span.attributes['db.statement']).must_equal 'set ?'
end

it 'supports gat' do
skip unless dalli.respond_to?(:gat)

dalli.gat('foo')

_(exporter.finished_spans.size).must_equal 1
_(span.name).must_equal 'gat'
_(span.attributes['db.statement']).must_equal 'gat foo 0'
end
end

# Dalli 3.x has different behavior than 2.x versions and attempts to retry on network errors
Expand Down
4 changes: 4 additions & 0 deletions instrumentation/rails/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release History: opentelemetry-instrumentation-rails

### v0.34.1 / 2025-01-14

* FIXED: Add Concurrent Ruby dependency to Rails

### v0.34.0 / 2024-12-19

* ADDED: Upgrade ActiveSupport Instrumentation 0.7.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
module OpenTelemetry
module Instrumentation
module Rails
VERSION = '0.34.0'
VERSION = '0.34.1'
end
end
end

0 comments on commit 16aeaf5

Please sign in to comment.