Skip to content

Commit 6ebecb3

Browse files
committed
Merge branch 'main' into url-template-customizer
2 parents 30b2b6f + 58d1661 commit 6ebecb3

File tree

709 files changed

+9170
-2114
lines changed

Some content is hidden

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

709 files changed

+9170
-2114
lines changed

.fossa.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,9 @@ targets:
187187
- type: gradle
188188
path: ./
189189
target: ':instrumentation:jdbc:library'
190+
- type: gradle
191+
path: ./
192+
target: ':instrumentation:jfinal-3.2:javaagent'
190193
- type: gradle
191194
path: ./
192195
target: ':instrumentation:jmx-metrics:javaagent'
@@ -337,6 +340,12 @@ targets:
337340
- type: gradle
338341
path: ./
339342
target: ':instrumentation:armeria:armeria-grpc-1.14:javaagent'
343+
- type: gradle
344+
path: ./
345+
target: ':instrumentation:async-http-client:async-http-client-1-common:javaagent'
346+
- type: gradle
347+
path: ./
348+
target: ':instrumentation:async-http-client:async-http-client-1.8:javaagent'
340349
- type: gradle
341350
path: ./
342351
target: ':instrumentation:async-http-client:async-http-client-1.9:javaagent'

.github/renovate.json5

Lines changed: 65 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,18 @@
77
ignorePaths: [
88
'instrumentation/**',
99
],
10-
// needed in order to get patch-only updates in package rules below
11-
// unfortunately you can't combine updateTypes and separateMinorPatch in the same package rule
12-
// so we have to apply it globally here, see
13-
// https://github.com/renovatebot/renovate/discussions/8399#discussioncomment-305798
14-
separateMinorPatch: true,
1510
packageRules: [
1611
{
1712
// this is to reduce the number of renovate PRs
1813
matchManagers: [
1914
'github-actions',
2015
'dockerfile',
16+
'regex',
2117
],
2218
extends: [
2319
'schedule:weekly',
2420
],
2521
groupName: 'weekly update',
26-
separateMinorPatch: false, // overrides separateMinorPatch specified above
2722
},
2823
{
2924
matchPackageNames: [
@@ -43,6 +38,14 @@
4338
ignoreUnstable: false,
4439
allowedVersions: '!/\\-SNAPSHOT$/',
4540
},
41+
{
42+
// currently using gradle plugin org.playframework.play 3.1.0 milestone releases
43+
// but don't want to pick up SNAPSHOT releases
44+
matchPackageNames: [
45+
'org.playframework.play:**',
46+
],
47+
allowedVersions: '!/\\-SNAPSHOT$/',
48+
},
4649
{
4750
groupName: 'quarkus packages',
4851
matchPackageNames: [
@@ -143,20 +146,36 @@
143146
matchPackageNames: [
144147
'uk.org.webcompere:system-stubs-jupiter',
145148
],
149+
allowedVersions: '/^2\.0\./',
150+
},
151+
{
152+
// wiremock 3+ requires Java 11+
146153
matchUpdateTypes: [
147154
'major',
148-
'minor',
149155
],
150156
enabled: false,
157+
matchPackageNames: [
158+
'com.github.tomakehurst:wiremock-jre8'
159+
],
151160
},
152161
{
153-
// wiremock 3+ requires Java 11+
162+
// snakeyaml-engine 3+ requires Java 11+
154163
matchUpdateTypes: [
155164
'major',
156165
],
157166
enabled: false,
158167
matchPackageNames: [
159-
'com.github.tomakehurst:wiremock-jre8'
168+
'org.snakeyaml:snakeyaml-engine'
169+
],
170+
},
171+
{
172+
// groovy 5+ requires Java 11+
173+
matchUpdateTypes: [
174+
'major',
175+
],
176+
enabled: false,
177+
matchPackageNames: [
178+
'org.apache.groovy:**'
160179
],
161180
},
162181
{
@@ -170,9 +189,7 @@
170189
enabled: false,
171190
},
172191
{
173-
// intentionally using Spring Boot 2 in this smoke tests
174-
// new versions of Spring Boot 3 are tested with
175-
// https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/dc4330e0a3060bd7d8c4090ad0b8fc4727e68113/settings.gradle.kts#L43-L45
192+
// intentionally using Spring Boot 2 in these smoke tests
176193
matchFileNames: [
177194
'smoke-tests/images/spring-boot/build.gradle.kts',
178195
'smoke-tests-otel-starter/spring-boot-2/build.gradle.kts',
@@ -183,42 +200,24 @@
183200
],
184201
matchPackageNames: [
185202
'org.slf4j:slf4j-api',
186-
'org.springframework.boot:org.springframework.boot.gradle.plugin', // this is for plugin id "org.springframework.boot"
187-
'org.springframework.boot:spring-boot-dependencies',
203+
'org.springframework.boot:**',
188204
],
189205
matchUpdateTypes: [
190206
'major',
191-
'minor',
192207
],
193208
enabled: false,
194209
},
195210
{
196-
// intentionally using Spring Boot 2 in this smoke tests
211+
// intentionally using Logback 1.2 (for Spring Boot 2) in these smoke tests
197212
matchFileNames: [
213+
'smoke-tests/images/spring-boot/build.gradle.kts',
198214
'smoke-tests-otel-starter/spring-boot-2/build.gradle.kts',
199215
'smoke-tests-otel-starter/spring-boot-reactive-2/build.gradle.kts',
200216
],
201-
matchPackageNames: [
202-
'ch.qos.logback:logback-classic',
203-
],
204-
matchUpdateTypes: [
205-
'minor',
206-
],
207-
enabled: false,
208-
},
209-
{
210-
// intentionally using logback 1.2 in this smoke tests
211-
matchFileNames: [
212-
'smoke-tests/images/spring-boot/build.gradle.kts',
213-
],
214-
matchUpdateTypes: [
215-
'major',
216-
'minor',
217-
],
218-
enabled: false,
219217
matchPackageNames: [
220218
'ch.qos.logback:**',
221219
],
220+
allowedVersions: '/^1\.2\./',
222221
},
223222
{
224223
// intentionally using slf4j 1 in this smoke tests
@@ -249,18 +248,26 @@
249248
],
250249
},
251250
{
252-
// intentionally aligning both netty 4.0 and 4.1 version in this convention
251+
// intentionally aligning netty 4.0 versions in this convention
253252
matchFileNames: [
254253
'conventions/src/main/kotlin/otel.java-conventions.gradle.kts',
255254
],
256255
matchPackageNames: [
257256
'io.netty:netty-bom',
258257
],
259-
matchUpdateTypes: [
260-
'major',
261-
'minor',
258+
matchCurrentVersion: '/^4\\.0\\./',
259+
allowedVersions: '/^4\\.0\\./',
260+
},
261+
{
262+
// intentionally aligning netty 4.1 versions in this convention
263+
matchFileNames: [
264+
'conventions/src/main/kotlin/otel.java-conventions.gradle.kts',
262265
],
263-
enabled: false,
266+
matchPackageNames: [
267+
'io.netty:netty-bom',
268+
],
269+
matchCurrentVersion: '/^4\\.1\\./',
270+
allowedVersions: '/^4\\.1\\./',
264271
},
265272
{
266273
// intentionally using scala 2.11 in otel.scala-conventions.gradle.kts
@@ -270,14 +277,10 @@
270277
matchPackageNames: [
271278
'org.scala-lang:scala-library',
272279
],
273-
matchUpdateTypes: [
274-
'major',
275-
'minor',
276-
],
277-
enabled: false,
280+
allowedVersions: '/^2\.11\./',
278281
},
279282
{
280-
// intentionally using Java 11 in some examples
283+
// intentionally testing against specific major Java versions
281284
matchPackageNames: [
282285
'eclipse-temurin',
283286
],
@@ -315,14 +318,10 @@
315318
matchFileNames: [
316319
'dependencyManagement/build.gradle.kts',
317320
],
318-
matchUpdateTypes: [
319-
'major',
320-
'minor',
321-
],
322-
enabled: false,
323321
matchPackageNames: [
324322
'ch.qos.logback:**',
325323
],
324+
allowedVersions: '/^1\.3\./',
326325
},
327326
{
328327
// intentionally using Spring Boot 2 in dependency management (for Java 8 support)
@@ -357,20 +356,31 @@
357356
datasourceTemplate: 'java-version',
358357
managerFilePatterns: [
359358
'.github/workflows/**',
360-
'**/*.gradle.kts'
359+
'**/*.gradle.kts',
361360
],
362361
matchStrings: [
363-
'(?<currentValue>\\d+) # renovate: datasource=java-version',
364-
'"(?<currentValue>\\d+)" // renovate: datasource=java-version',
362+
'(?<currentValue>\\d+) # renovate\\(java-version\\)',
363+
'"(?<currentValue>\\d+)" // renovate\\(java-version\\)',
365364
],
366365
depNameTemplate: 'java',
367366
extractVersionTemplate: '^(?<version>\\d+)',
368367
},
368+
{
369+
customType: 'regex',
370+
datasourceTemplate: 'docker',
371+
managerFilePatterns: [
372+
'**/build.gradle.kts',
373+
],
374+
matchStrings: [
375+
'"(?<depName>eclipse-temurin):(?<currentValue>[^"@]+)@(?<currentDigest>sha256:[0-9a-f]+)"',
376+
'"(?<depName>ibm-semeru-runtimes):(?<currentValue>[^"@]+)@(?<currentDigest>sha256:[0-9a-f]+)"',
377+
],
378+
},
369379
{
370380
customType: 'regex',
371381
datasourceTemplate: 'pypi',
372382
managerFilePatterns: [
373-
'/^.github/workflows//',
383+
'.github/workflows/**',
374384
],
375385
matchStrings: [
376386
'pip install (?<depName>[^=]+)==(?<currentValue>[^\\s]+)',
@@ -380,7 +390,7 @@
380390
customType: 'regex',
381391
datasourceTemplate: 'npm',
382392
managerFilePatterns: [
383-
'/^.github/workflows//',
393+
'.github/workflows/**',
384394
],
385395
matchStrings: [
386396
'npx (?<depName>[^@]+)@(?<currentValue>[^\\s]+)',

.github/repository-settings.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ private admin repo.
1111
- `FLAKY_TEST_REPORTER_ACCESS_KEY` - owned by [@laurit](https://github.com/laurit)
1212
- `GPG_PASSWORD` - stored in OpenTelemetry-Java 1Password
1313
- `GPG_PRIVATE_KEY` - stored in OpenTelemetry-Java 1Password
14-
- `GRADLE_PUBLISH_KEY`
15-
- `GRADLE_PUBLISH_SECRET`
14+
- `GRADLE_PUBLISH_KEY` - owned by [@trask](https://github.com/trask)
15+
- `GRADLE_PUBLISH_SECRET` - owned by [@trask](https://github.com/trask)
1616
- `NVD_API_KEY` - stored in OpenTelemetry-Java 1Password
1717
- Generated at https://nvd.nist.gov/developers/request-an-api-key
1818
- Key is associated with [@trask](https://github.com/trask)'s gmail address

.github/workflows/build-common.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ jobs:
246246
- 11
247247
- 17
248248
- 21
249-
- 25 # renovate: datasource=java-version
249+
- 25 # renovate(java-version)
250250
- 25-deny-unsafe
251251
vm:
252252
- hotspot

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
cache-read-only: ${{ github.event_name == 'pull_request' }}
6464

6565
- name: Initialize CodeQL
66-
uses: github/codeql-action/init@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2
66+
uses: github/codeql-action/init@014f16e7ab1402f30e7c3329d33797e7948572db # v4.31.3
6767
with:
6868
languages: ${{ matrix.language }}
6969
# using "linked" helps to keep up with the linked Kotlin support
@@ -84,6 +84,6 @@ jobs:
8484
--no-build-cache --no-daemon
8585
8686
- name: Perform CodeQL analysis
87-
uses: github/codeql-action/analyze@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2
87+
uses: github/codeql-action/analyze@014f16e7ab1402f30e7c3329d33797e7948572db # v4.31.3
8888
with:
8989
category: "/language:${{matrix.language}}"

.github/workflows/dependency-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ jobs:
1919
- name: 'Checkout Repository'
2020
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2121
- name: 'Dependency Review'
22-
uses: actions/dependency-review-action@40c09b7dc99638e5ddb0bfd91c1673effc064d8a # v4.8.1
22+
uses: actions/dependency-review-action@3c4e3dcb1aa7874d2c16be7d79418e9b7efd6261 # v4.8.2

.github/workflows/ossf-scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ jobs:
4343
# Upload the results to GitHub's code scanning dashboard (optional).
4444
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
4545
- name: "Upload to code-scanning"
46-
uses: github/codeql-action/upload-sarif@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2
46+
uses: github/codeql-action/upload-sarif@014f16e7ab1402f30e7c3329d33797e7948572db # v4.31.3
4747
with:
4848
sarif_file: results.sarif

.github/workflows/reusable-link-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
with:
1515
fetch-depth: 0 # needed for merge-base used in lint:links-in-modified-files
1616

17-
- uses: jdx/mise-action@be3be2260bc02bc3fbf94c5e2fed8b7964baf074 # v3.4.0
17+
- uses: jdx/mise-action@9dc7d5dd454262207dea3ab5a06a3df6afc8ff26 # v3.4.1
1818

1919
- name: Link check - relative links (all files)
2020
if: github.event_name == 'pull_request'

.github/workflows/reusable-pr-smoke-test-images.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
build:
3131
runs-on: ubuntu-latest
3232
env:
33-
LATEST_JAVA_VERSION: 25 # renovate: datasource=java-version
33+
LATEST_JAVA_VERSION: 25 # renovate(java-version)
3434
steps:
3535
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3636

.github/workflows/reusable-publish-smoke-test-images.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
contents: read
3434
packages: write
3535
env:
36-
LATEST_JAVA_VERSION: 25 # renovate: datasource=java-version
36+
LATEST_JAVA_VERSION: 25 # renovate(java-version)
3737
steps:
3838
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3939

0 commit comments

Comments
 (0)