Skip to content

Commit ed25fee

Browse files
release: initial gRPC instrumentation release under the OpenTelemetry org (#1405)
* feat: add opentelemetry-instrumentation-grpc to releases * fix: don't exclude grpc from all anymore * feat: manual CHANGELOG.md update * fix: remove the info about gRPC instrumentation readiness * fix: do not exclude gRPC from releases anymore * Revert "fix: don't exclude grpc from all anymore" This reverts commit 69387f9. * fix: set the gem version to 0.0.0 to let the automation do the initial release * fix: empty the changelog so that it can be picked up by toys * update the 'opentelemetry-api' dependency to '~> 1.0' * restore the CHANGELOG from v0.1.3 and below * Apply suggestions from code review --------- Co-authored-by: Kayla Reopelle <[email protected]>
1 parent 21bea72 commit ed25fee

File tree

6 files changed

+6
-12
lines changed

6 files changed

+6
-12
lines changed

.toys/.data/releases.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,3 +255,7 @@ gems:
255255
directory: resources/google_cloud_platform
256256
version_rb_path: lib/opentelemetry/resource/detector/google_cloud_platform/version.rb
257257
version_constant: [OpenTelemetry, Resource, Detector, GoogleCloudPlatform, VERSION]
258+
259+
- name: opentelemetry-instrumentation-grpc
260+
directory: instrumentation/grpc
261+
version_constant: [OpenTelemetry, Instrumentation, Grpc, VERSION]

instrumentation/grpc/CHANGELOG.md

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

3-
### v0.2.0 / 2025-01-16
4-
5-
* BREAKING CHANGE: Set minimum supported version to Ruby 3.1
6-
7-
* ADDED: Set minimum supported version to Ruby 3.1
8-
93
### v0.1.3 / 2024-09-11
104

115
* FIXED: Fix error in handling of non-gRPC errors

instrumentation/grpc/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
# OpenTelemetry gRPC Instrumentation
2-
> [!CAUTION]
3-
> This gem is not ready for release by the open-telemetry org yet, but other versions are available on RubyGems
42

53
[![Gem Version](https://badge.fury.io/rb/opentelemetry-instrumentation-grpc.svg)](https://badge.fury.io/rb/opentelemetry-instrumentation-grpc)
64
[![GitHub Actions CI Status](https://github.com/hibachrach/opentelemetry-instrumentation-grpc/actions/workflows/main.yml/badge.svg)](https://github.com/hibachrach/opentelemetry-instrumentation-grpc/actions?query=branch%3Amain)

instrumentation/grpc/lib/opentelemetry/instrumentation/grpc/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 Grpc
10-
VERSION = '0.2.0'
10+
VERSION = '0.1.3'
1111
end
1212
end
1313
end

instrumentation/grpc/opentelemetry-instrumentation-grpc.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Gem::Specification.new do |spec|
3333
spec.require_paths = ['lib']
3434

3535
# Uncomment to register a new dependency of your gem
36-
spec.add_dependency 'opentelemetry-api', '~> 1.2'
36+
spec.add_dependency 'opentelemetry-api', '~> 1.0'
3737
spec.add_dependency 'opentelemetry-instrumentation-base', '~> 0.23.0'
3838
# For more information and examples about making a new gem, check out our
3939
# guide at: https://bundler.io/guides/creating_gem.html

releases/Gemfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,8 @@ Dir['../propagator/**/version.rb'].each do |f|
4747
gem "opentelemetry-propagator-#{name}", version
4848
end
4949

50-
excluded_instrumentations = %w[grpc]
5150
Dir['../instrumentation/**/version.rb'].each do |f|
5251
name = f.match(%r{instrumentation/(\w+)/lib})[1]
53-
next if excluded_instrumentations.include?(name)
5452

5553
version = File.read(f).match(/VERSION = '([\d\.]+)'/)[1]
5654
gem "opentelemetry-instrumentation-#{name}", version

0 commit comments

Comments
 (0)