Skip to content

Commit c5a2e07

Browse files
Merge branch 'main' into main
2 parents 6e4d750 + 76b1c7f commit c5a2e07

File tree

295 files changed

+6090
-1343
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

295 files changed

+6090
-1343
lines changed

.cspell.yml

Lines changed: 2 additions & 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
@@ -81,3 +82,4 @@ words:
8182
- webmocks
8283
- Xuan
8384
- yardoc
85+
- traceparent

.github/actions/test_gem/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ runs:
8484
# ...but not for appraisals, sadly.
8585
- name: Install Ruby ${{ inputs.ruby }} with dependencies
8686
if: "${{ steps.setup.outputs.appraisals == 'false' }}"
87-
uses: ruby/setup-ruby@v1.218.0
87+
uses: ruby/setup-ruby@v1.239.0
8888
with:
8989
ruby-version: "${{ inputs.ruby }}"
9090
working-directory: "${{ steps.setup.outputs.gem_dir }}"
@@ -95,7 +95,7 @@ runs:
9595
# If we're using appraisals, do it all manually.
9696
- name: Install Ruby ${{ inputs.ruby }} without dependencies
9797
if: "${{ steps.setup.outputs.appraisals == 'true' }}"
98-
uses: ruby/setup-ruby@v1.218.0
98+
uses: ruby/setup-ruby@v1.239.0
9999
with:
100100
ruby-version: "${{ inputs.ruby }}"
101101
bundler: "latest"

.github/dependabot.yml

Lines changed: 12 additions & 204 deletions
Original file line numberDiff line numberDiff line change
@@ -1,207 +1,15 @@
11
---
22
version: 2
33
updates:
4-
- package-ecosystem: github-actions
5-
directory: "/"
6-
schedule:
7-
interval: daily
8-
- package-ecosystem: bundler
9-
directory: "/"
10-
schedule:
11-
interval: weekly
12-
- package-ecosystem: bundler
13-
directory: "/helpers/sql"
14-
schedule:
15-
interval: weekly
16-
- package-ecosystem: bundler
17-
directory: "/helpers/mysql"
18-
schedule:
19-
interval: weekly
20-
- package-ecosystem: bundler
21-
directory: "/helpers/sql-obfuscation"
22-
schedule:
23-
interval: weekly
24-
- package-ecosystem: bundler
25-
directory: "/propagator/ottrace"
26-
schedule:
27-
interval: weekly
28-
- package-ecosystem: bundler
29-
directory: "/propagator/xray"
30-
schedule:
31-
interval: weekly
32-
- package-ecosystem: bundler
33-
directory: "/instrumentation/que"
34-
schedule:
35-
interval: weekly
36-
- package-ecosystem: bundler
37-
directory: "/instrumentation/http_client"
38-
schedule:
39-
interval: weekly
40-
- package-ecosystem: bundler
41-
directory: "/instrumentation/mysql2"
42-
schedule:
43-
interval: weekly
44-
- package-ecosystem: bundler
45-
directory: "/instrumentation/sinatra"
46-
schedule:
47-
interval: weekly
48-
- package-ecosystem: bundler
49-
directory: "/instrumentation/sidekiq"
50-
schedule:
51-
interval: weekly
52-
- package-ecosystem: bundler
53-
directory: "/instrumentation/dalli"
54-
schedule:
55-
interval: weekly
56-
- package-ecosystem: bundler
57-
directory: "/instrumentation/racecar"
58-
schedule:
59-
interval: weekly
60-
- package-ecosystem: bundler
61-
directory: "/instrumentation/redis"
62-
schedule:
63-
interval: weekly
64-
- package-ecosystem: bundler
65-
directory: "/instrumentation/ruby_kafka"
66-
schedule:
67-
interval: weekly
68-
- package-ecosystem: bundler
69-
directory: "/instrumentation/concurrent_ruby"
70-
schedule:
71-
interval: weekly
72-
- package-ecosystem: bundler
73-
directory: "/instrumentation/active_model_serializers"
74-
schedule:
75-
interval: weekly
76-
- package-ecosystem: bundler
77-
directory: "/instrumentation/rake"
78-
schedule:
79-
interval: weekly
80-
- package-ecosystem: bundler
81-
directory: "/instrumentation/action_view"
82-
schedule:
83-
interval: weekly
84-
- package-ecosystem: bundler
85-
directory: "/instrumentation/bunny"
86-
schedule:
87-
interval: weekly
88-
- package-ecosystem: bundler
89-
directory: "/instrumentation/all"
90-
schedule:
91-
interval: weekly
92-
- package-ecosystem: bundler
93-
directory: "/instrumentation/aws_sdk"
94-
schedule:
95-
interval: weekly
96-
- package-ecosystem: bundler
97-
directory: "/instrumentation/aws_lambda"
98-
schedule:
99-
interval: weekly
100-
- package-ecosystem: bundler
101-
directory: "/instrumentation/active_record"
102-
schedule:
103-
interval: weekly
104-
- package-ecosystem: bundler
105-
directory: "/instrumentation/faraday"
106-
schedule:
107-
interval: weekly
108-
- package-ecosystem: bundler
109-
directory: "/instrumentation/resque"
110-
schedule:
111-
interval: weekly
112-
- package-ecosystem: bundler
113-
directory: "/instrumentation/rdkafka"
114-
schedule:
115-
interval: weekly
116-
- package-ecosystem: bundler
117-
directory: "/instrumentation/pg"
118-
schedule:
119-
interval: weekly
120-
- package-ecosystem: bundler
121-
directory: "/instrumentation/ethon"
122-
schedule:
123-
interval: weekly
124-
- package-ecosystem: bundler
125-
directory: "/instrumentation/lmdb"
126-
schedule:
127-
interval: weekly
128-
- package-ecosystem: bundler
129-
directory: "/instrumentation/active_support"
130-
schedule:
131-
interval: weekly
132-
- package-ecosystem: bundler
133-
directory: "/instrumentation/http"
134-
schedule:
135-
interval: weekly
136-
- package-ecosystem: bundler
137-
directory: "/instrumentation/graphql"
138-
schedule:
139-
interval: weekly
140-
- package-ecosystem: bundler
141-
directory: "/instrumentation/trilogy"
142-
schedule:
143-
interval: weekly
144-
- package-ecosystem: bundler
145-
directory: "/instrumentation/net_http"
146-
schedule:
147-
interval: weekly
148-
- package-ecosystem: bundler
149-
directory: "/instrumentation/rack"
150-
schedule:
151-
interval: weekly
152-
- package-ecosystem: bundler
153-
directory: "/instrumentation/action_pack"
154-
schedule:
155-
interval: weekly
156-
- package-ecosystem: bundler
157-
directory: "/instrumentation/mongo"
158-
schedule:
159-
interval: weekly
160-
- package-ecosystem: bundler
161-
directory: "/instrumentation/restclient"
162-
schedule:
163-
interval: weekly
164-
- package-ecosystem: bundler
165-
directory: "/instrumentation/koala"
166-
schedule:
167-
interval: weekly
168-
- package-ecosystem: bundler
169-
directory: "/instrumentation/active_job"
170-
schedule:
171-
interval: weekly
172-
- package-ecosystem: bundler
173-
directory: "/instrumentation/excon"
174-
schedule:
175-
interval: weekly
176-
- package-ecosystem: bundler
177-
directory: "/instrumentation/rspec"
178-
schedule:
179-
interval: weekly
180-
- package-ecosystem: bundler
181-
directory: "/instrumentation/base"
182-
schedule:
183-
interval: weekly
184-
- package-ecosystem: bundler
185-
directory: "/instrumentation/delayed_job"
186-
schedule:
187-
interval: weekly
188-
- package-ecosystem: bundler
189-
directory: "/instrumentation/rails"
190-
schedule:
191-
interval: weekly
192-
- package-ecosystem: bundler
193-
directory: "/resources/azure"
194-
schedule:
195-
interval: weekly
196-
- package-ecosystem: bundler
197-
directory: "/resources/container"
198-
schedule:
199-
interval: weekly
200-
- package-ecosystem: bundler
201-
directory: "/resources/google_cloud_platform"
202-
schedule:
203-
interval: weekly
204-
- package-ecosystem: bundler
205-
directory: "/instrumentation/grpc"
206-
schedule:
207-
interval: weekly
4+
- package-ecosystem: github-actions
5+
directory: "/"
6+
schedule:
7+
interval: daily
8+
- package-ecosystem: bundler
9+
directory: "/"
10+
schedule:
11+
interval: weekly
12+
groups:
13+
all-gems:
14+
patterns:
15+
- "**/Gemfile"

.github/workflows/check-spelling.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v4
12-
- uses: streetsidesoftware/cspell-action@v6
12+
- uses: streetsidesoftware/cspell-action@v7
1313
with:
1414
# Files should be consistent with check:spelling files
1515
files: |

.github/workflows/ci-contrib.yml

Lines changed: 49 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
uses: ./.github/actions/test_gem
6060
with:
6161
gem: "opentelemetry-helpers-${{ matrix.gem }}"
62-
ruby: "jruby-9.4.10.0"
62+
ruby: "jruby-9.4.12.0"
6363

6464
propagators:
6565
strategy:
@@ -69,6 +69,7 @@ jobs:
6969
- ottrace
7070
- vitess
7171
- xray
72+
- google_cloud_trace_context
7273
os:
7374
- ubuntu-latest
7475
name: "propagator-${{ matrix.gem }} / ${{ matrix.os }}"
@@ -103,13 +104,14 @@ jobs:
103104
uses: ./.github/actions/test_gem
104105
with:
105106
gem: "opentelemetry-propagator-${{ matrix.gem }}"
106-
ruby: "jruby-9.4.10.0"
107+
ruby: "jruby-9.4.12.0"
107108

108109
resource-detectors:
109110
strategy:
110111
fail-fast: false
111112
matrix:
112113
gem:
114+
- resource-detector-aws
113115
- resource-detector-azure
114116
- resource-detector-container
115117
- resource-detector-google_cloud_platform
@@ -148,7 +150,7 @@ jobs:
148150
uses: ./.github/actions/test_gem
149151
with:
150152
gem: "opentelemetry-${{ matrix.gem }}"
151-
ruby: "jruby-9.4.10.0"
153+
ruby: "jruby-9.4.12.0"
152154

153155
processors:
154156
strategy:
@@ -191,4 +193,47 @@ jobs:
191193
uses: ./.github/actions/test_gem
192194
with:
193195
gem: "opentelemetry-processor-${{ matrix.gem }}"
194-
ruby: "jruby-9.4.10.0"
196+
ruby: "jruby-9.4.12.0"
197+
198+
samplers:
199+
strategy:
200+
fail-fast: false
201+
matrix:
202+
gem:
203+
- xray
204+
os:
205+
- ubuntu-latest
206+
name: "samplers-${{ matrix.gem }} / ${{ matrix.os }}"
207+
runs-on: ${{ matrix.os }}
208+
steps:
209+
- uses: actions/checkout@v4
210+
- name: "Test Ruby 3.4"
211+
uses: ./.github/actions/test_gem
212+
with:
213+
gem: "opentelemetry-sampler-${{ matrix.gem }}"
214+
ruby: "3.4"
215+
- name: "Test Ruby 3.3"
216+
uses: ./.github/actions/test_gem
217+
with:
218+
gem: "opentelemetry-sampler-${{ matrix.gem }}"
219+
ruby: "3.3"
220+
- name: "Test Ruby 3.2"
221+
uses: ./.github/actions/test_gem
222+
with:
223+
gem: "opentelemetry-sampler-${{ matrix.gem }}"
224+
ruby: "3.2"
225+
- name: "Test Ruby 3.1"
226+
uses: ./.github/actions/test_gem
227+
with:
228+
gem: "opentelemetry-sampler-${{ matrix.gem }}"
229+
ruby: "3.1"
230+
yard: true
231+
rubocop: true
232+
coverage: true
233+
build: true
234+
- name: "Test JRuby"
235+
if: "${{ matrix.os == 'ubuntu-latest' }}"
236+
uses: ./.github/actions/test_gem
237+
with:
238+
gem: "opentelemetry-sampler-${{ matrix.gem }}"
239+
ruby: "jruby-9.4.12.0"

.github/workflows/ci-instrumentation-with-services.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
uses: ./.github/actions/test_gem
5858
with:
5959
gem: "opentelemetry-instrumentation-${{ matrix.gem }}"
60-
ruby: "jruby-9.4.10.0"
60+
ruby: "jruby-9.4.12.0"
6161
services:
6262
memcached:
6363
image: memcached:alpine

.github/workflows/ci-instrumentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,4 +114,4 @@ jobs:
114114
uses: ./.github/actions/test_gem
115115
with:
116116
gem: "opentelemetry-instrumentation-${{ matrix.gem }}"
117-
ruby: "jruby-9.4.10.0"
117+
ruby: "jruby-9.4.12.0"

.github/workflows/ci-markdownlint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
# equivalent cli: markdownlint-cli2 "**/*.md" "#**/CHANGELOG.md" --config .markdownlint.json
1313
- name: "Markdown Lint Check"
1414
uses: DavidAnson/markdownlint-cli2-action@v19
15+
continue-on-error: true
1516
with:
1617
fix: false
1718
globs: |
1819
**/*.md
1920
!**/CHANGELOG.md
20-
continue-on-error: true

.github/workflows/fossa.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: FOSSA scanning
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
fossa:
13+
if: ${{ github.repository == 'open-telemetry/opentelemetry-ruby-contrib' }}
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
17+
18+
- uses: fossas/fossa-action@3ebcea1862c6ffbd5cf1b4d0bd6b3fe7bd6f2cac # v1.7.0
19+
with:
20+
api-key: ${{secrets.FOSSA_API_KEY}}
21+
team: OpenTelemetry

0 commit comments

Comments
 (0)