Skip to content

Commit 16aeaf5

Browse files
Merge branch 'main' into feat-migrate-grpc-instrumentation-to-rubocop
2 parents 88f1fe3 + a25cd4b commit 16aeaf5

File tree

10 files changed

+26
-8
lines changed

10 files changed

+26
-8
lines changed

.instrumentation_generator/templates/Appraisals

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,3 @@
1313
# appraise 'rack-2.0' do
1414
# gem 'rack', '2.0.8'
1515
# end
16-

.instrumentation_generator/templates/lib/entrypoint.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
#
55
# SPDX-License-Identifier: Apache-2.0
66

7-
require_relative './opentelemetry/instrumentation'
7+
require_relative 'opentelemetry/instrumentation'

.instrumentation_generator/templates/lib/instrumentation.rb.tt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ module OpenTelemetry
1616
end
1717
end
1818

19-
require_relative './instrumentation/<%= instrumentation_name %>'
19+
require_relative 'instrumentation/<%= instrumentation_name %>'

.instrumentation_generator/templates/lib/instrumentation/instrumentation_name.rb.tt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ module OpenTelemetry
1515
end
1616
end
1717

18-
require_relative './<%= instrumentation_name %>/instrumentation'
19-
require_relative './<%= instrumentation_name %>/version'
18+
require_relative '<%= instrumentation_name %>/instrumentation'
19+
require_relative '<%= instrumentation_name %>/version'

instrumentation/all/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release History: opentelemetry-instrumentation-all
22

3+
### v0.71.1 / 2025-01-14
4+
5+
* No Significant Changes
6+
37
### v0.71.0 / 2025-01-07
48

59
* ADDED: Faraday Minimum v1.0

instrumentation/all/lib/opentelemetry/instrumentation/all/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
module OpenTelemetry
88
module Instrumentation
99
module All
10-
VERSION = '0.71.0'
10+
VERSION = '0.71.1'
1111
end
1212
end
1313
end

instrumentation/dalli/lib/opentelemetry/instrumentation/dalli/utils.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ module Utils
4141
'multi_add' => 'addq',
4242
'multi_replace' => 'replaceq',
4343
'multi_delete' => 'deleteq',
44-
'touch' => 'touch'
44+
'touch' => 'touch',
45+
'gat' => 'gat'
4546
# 'sasl_authentication' => 'auth_negotiation',
4647
# 'sasl_authentication' => 'auth_request',
4748
}.freeze

instrumentation/dalli/test/opentelemetry/instrumentation/dalli/instrumentation_test.rb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,16 @@
127127
_(span.name).must_equal 'set'
128128
_(span.attributes['db.statement']).must_equal 'set ?'
129129
end
130+
131+
it 'supports gat' do
132+
skip unless dalli.respond_to?(:gat)
133+
134+
dalli.gat('foo')
135+
136+
_(exporter.finished_spans.size).must_equal 1
137+
_(span.name).must_equal 'gat'
138+
_(span.attributes['db.statement']).must_equal 'gat foo 0'
139+
end
130140
end
131141

132142
# Dalli 3.x has different behavior than 2.x versions and attempts to retry on network errors

instrumentation/rails/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release History: opentelemetry-instrumentation-rails
22

3+
### v0.34.1 / 2025-01-14
4+
5+
* FIXED: Add Concurrent Ruby dependency to Rails
6+
37
### v0.34.0 / 2024-12-19
48

59
* ADDED: Upgrade ActiveSupport Instrumentation 0.7.0

instrumentation/rails/lib/opentelemetry/instrumentation/rails/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
module OpenTelemetry
88
module Instrumentation
99
module Rails
10-
VERSION = '0.34.0'
10+
VERSION = '0.34.1'
1111
end
1212
end
1313
end

0 commit comments

Comments
 (0)