Skip to content

Commit 760264d

Browse files
Merge branch 'main' into dependabot/bundler/rubocop-tw-1.75.1
2 parents 92b139d + ed01744 commit 760264d

File tree

9 files changed

+63
-10
lines changed

9 files changed

+63
-10
lines changed

.cspell.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ words:
3838
- gemfile
3939
- Gitter
4040
- gruf
41+
- hibachrach
4142
- HTTPX
4243
- httpx
4344
- instrumenter
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: OSSF Scorecard
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
schedule:
8+
- cron: "18 23 * * 6" # once a week
9+
workflow_dispatch:
10+
11+
permissions: read-all
12+
13+
jobs:
14+
analysis:
15+
if: ${{ github.repository == 'open-telemetry/opentelemetry-ruby-contrib' }}
16+
runs-on: ubuntu-latest
17+
permissions:
18+
# Needed for Code scanning upload
19+
security-events: write
20+
# Needed for GitHub OIDC token if publish_results is true
21+
id-token: write
22+
steps:
23+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
24+
with:
25+
persist-credentials: false
26+
27+
- uses: ossf/scorecard-action@f49aabe0b5af0936a0987cfb85d86b75731b0186 # v2.4.1
28+
with:
29+
results_file: results.sarif
30+
results_format: sarif
31+
publish_results: true
32+
33+
# Upload the results as artifacts (optional). Commenting out will disable
34+
# uploads of run results in SARIF format to the repository Actions tab.
35+
# https://docs.github.com/en/actions/advanced-guides/storing-workflow-data-as-artifacts
36+
- name: "Upload artifact"
37+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
38+
with:
39+
name: SARIF file
40+
path: results.sarif
41+
retention-days: 5
42+
43+
# Upload the results to GitHub's code scanning dashboard (optional).
44+
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
45+
- name: "Upload to code-scanning"
46+
uses: github/codeql-action/upload-sarif@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3.28.13
47+
with:
48+
sarif_file: results.sarif

.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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Release History: opentelemetry-instrumentation-grpc
22

3-
### v0.2.0 / 2025-01-16
3+
### v0.2.0 / 2025-04-02
44

5-
* BREAKING CHANGE: Set minimum supported version to Ruby 3.1
6-
7-
* ADDED: Set minimum supported version to Ruby 3.1
5+
* ADDED: Add gRPC trace demonstration
6+
* ADDED: Migrate gRPC instrumentation to OpenTelemetry tooling
7+
* ADDED: Transferred ownership of the gem from @hibachrach to OpenTelemetry
88

99
### v0.1.3 / 2024-09-11
1010

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/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

instrumentation/sidekiq/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-sidekiq
22

3+
### v0.26.1 / 2025-04-01
4+
5+
* FIXED: Add support for Sidekiq 8
6+
37
### v0.26.0 / 2025-01-16
48

59
* BREAKING CHANGE: Set minimum supported version to Ruby 3.1

instrumentation/sidekiq/lib/opentelemetry/instrumentation/sidekiq/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 Sidekiq
10-
VERSION = '0.26.0'
10+
VERSION = '0.26.1'
1111
end
1212
end
1313
end

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)