Skip to content

Commit 8c61aa3

Browse files
committed
Merge remote-tracking branch 'upstream/main' into cp-bridge-for-contrib
# Conflicts: # CHANGELOG.md # instrumentation/spring/spring-boot-autoconfigure/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/OpenTelemetryAutoConfiguration.java
2 parents 5920f40 + 42f8313 commit 8c61aa3

308 files changed

Lines changed: 8730 additions & 13547 deletions

File tree

Some content is hidden

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

.fossa.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,6 @@ targets:
139139
- type: gradle
140140
path: ./
141141
target: ':instrumentation:gwt-2.0:javaagent'
142-
- type: gradle
143-
path: ./
144-
target: ':instrumentation:hbase-client-2.0:javaagent'
145142
- type: gradle
146143
path: ./
147144
target: ':instrumentation:helidon-4.3:javaagent'
@@ -514,6 +511,15 @@ targets:
514511
- type: gradle
515512
path: ./
516513
target: ':instrumentation:graphql-java:graphql-java-common-12.0:library'
514+
- type: gradle
515+
path: ./
516+
target: ':instrumentation:hbase:hbase-client-1.4:javaagent'
517+
- type: gradle
518+
path: ./
519+
target: ':instrumentation:hbase:hbase-client-2.0:javaagent'
520+
- type: gradle
521+
path: ./
522+
target: ':instrumentation:hbase:hbase-client-common-1.4:javaagent'
517523
- type: gradle
518524
path: ./
519525
target: ':instrumentation:hibernate:hibernate-3.3:javaagent'

.github/agents/knowledge/api-deprecation-policy.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@
2121

2222
A rename of any of these surfaces is a breaking change even if no Java symbol moved.
2323

24+
### Replacement stability
25+
26+
A replacement must be at least as stable as the contract being deprecated. Do not direct users of
27+
a stable API to an incubating or experimental API.
28+
2429
## When Are Breaking Changes Allowed?
2530

2631
Only in **non-stable (alpha) modules** — i.e. artifacts whose version has the `-alpha` suffix.

.github/config/.rumdl.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
[global]
44
# disable link text should be descriptive check
55
disable = ["MD059", "line-length", "no-inline-html", "MD041", "MD022", "ul-style", "fenced-code-language"]
6+
# MD060 (table-cell-alignment)
7+
extend-enable = ["MD060"]
68

79
[per-file-ignores]
810
".github/workflows/*.md" = ["MD046"]

.github/config/latest-dep-versions.json

Lines changed: 45 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@
6161
"com.ning:async-http-client#1.8.+": "1.8.17",
6262
"com.ning:async-http-client#1.9.+": "1.9.40",
6363
"com.noelios.restlet:com.noelios.restlet#+": "1.1.10",
64-
"com.openai:openai-java#+": "4.42.0",
64+
"com.openai:openai-java#+": "4.43.0",
6565
"com.oracle.database.jdbc:ojdbc8#+": "23.26.2.0.0",
6666
"com.oracle.database.jdbc:ucp#+": "23.26.2.0.0",
6767
"com.rabbitmq:amqp-client#+": "5.34.0",
68-
"com.softwaremill.sttp.tapir:tapir-pekko-http-server_2.12#+": "1.13.27",
69-
"com.softwaremill.sttp.tapir:tapir-pekko-http-server_2.13#+": "1.13.27",
70-
"com.softwaremill.sttp.tapir:tapir-pekko-http-server_3#+": "1.13.27",
68+
"com.softwaremill.sttp.tapir:tapir-pekko-http-server_2.12#+": "1.13.28",
69+
"com.softwaremill.sttp.tapir:tapir-pekko-http-server_2.13#+": "1.13.28",
70+
"com.softwaremill.sttp.tapir:tapir-pekko-http-server_3#+": "1.13.28",
7171
"com.sparkjava:spark-core#+": "2.9.4",
7272
"com.squareup.okhttp3:okhttp#+": "5.4.0",
7373
"com.squareup.okhttp:okhttp#+": "2.7.5",
@@ -120,7 +120,7 @@
120120
"com.typesafe.play:play_2.11#2.7.+": "2.7.9",
121121
"com.typesafe.play:play_2.12#+": "2.8.22",
122122
"com.typesafe.play:play_2.13#+": "2.9.11",
123-
"com.vaadin:flow-server#+": "25.2.2",
123+
"com.vaadin:flow-server#+": "25.2.4",
124124
"com.vaadin:vaadin-spring-boot-starter#14.11.+": "14.11.14",
125125
"com.xuxueli:xxl-job-core#+": "3.4.2",
126126
"com.xuxueli:xxl-job-core#2.2.+": "2.2.0",
@@ -194,7 +194,7 @@
194194
"io.projectreactor:reactor-test#+": "3.8.6",
195195
"io.quarkus.platform:quarkus-bom#3.5.+": "3.5.3",
196196
"io.quarkus.platform:quarkus-bom#3.9.+": "3.9.5",
197-
"io.quarkus:quarkus-rest#+": "3.37.2",
197+
"io.quarkus:quarkus-rest#+": "3.37.3",
198198
"io.quarkus:quarkus-resteasy-reactive#+": "3.15.7",
199199
"io.r2dbc:r2dbc-spi#+": "1.0.0.RELEASE",
200200
"io.ratpack:ratpack-core#+": "1.9.0",
@@ -207,42 +207,42 @@
207207
"io.reactivex:rxjava#+": "1.3.8",
208208
"io.undertow:undertow-core#+": "2.4.2.Final",
209209
"io.undertow:undertow-servlet-jakarta#+": "2.2.20.Final",
210-
"io.vertx:vertx-circuit-breaker#+": "5.1.4",
210+
"io.vertx:vertx-circuit-breaker#+": "5.1.5",
211211
"io.vertx:vertx-circuit-breaker#3.+": "3.9.16",
212-
"io.vertx:vertx-circuit-breaker#4.+": "4.5.29",
213-
"io.vertx:vertx-codegen#+": "5.1.4",
212+
"io.vertx:vertx-circuit-breaker#4.+": "4.5.30",
213+
"io.vertx:vertx-codegen#+": "5.1.5",
214214
"io.vertx:vertx-codegen#3.+": "3.9.16",
215-
"io.vertx:vertx-codegen#4.+": "4.5.29",
215+
"io.vertx:vertx-codegen#4.+": "4.5.30",
216216
"io.vertx:vertx-codegen#5.0.+": "5.0.12",
217-
"io.vertx:vertx-core#+": "5.1.4",
217+
"io.vertx:vertx-core#+": "5.1.5",
218218
"io.vertx:vertx-core#3.+": "3.9.16",
219-
"io.vertx:vertx-core#4.+": "4.5.29",
219+
"io.vertx:vertx-core#4.+": "4.5.30",
220220
"io.vertx:vertx-docgen#+": "3.5.1",
221221
"io.vertx:vertx-docgen#3.+": "3.5.1",
222-
"io.vertx:vertx-jdbc-client#+": "5.1.4",
222+
"io.vertx:vertx-jdbc-client#+": "5.1.5",
223223
"io.vertx:vertx-jdbc-client#3.+": "3.9.16",
224-
"io.vertx:vertx-jdbc-client#4.+": "4.5.29",
224+
"io.vertx:vertx-jdbc-client#4.+": "4.5.30",
225225
"io.vertx:vertx-jdbc-client#5.0.+": "5.0.12",
226-
"io.vertx:vertx-kafka-client#+": "5.1.4",
226+
"io.vertx:vertx-kafka-client#+": "5.1.5",
227227
"io.vertx:vertx-kafka-client#3.+": "3.9.16",
228-
"io.vertx:vertx-kafka-client#4.+": "4.5.29",
229-
"io.vertx:vertx-lang-kotlin-coroutines#+": "5.1.4",
230-
"io.vertx:vertx-pg-client#+": "5.1.4",
231-
"io.vertx:vertx-pg-client#4.+": "4.5.29",
228+
"io.vertx:vertx-kafka-client#4.+": "4.5.30",
229+
"io.vertx:vertx-lang-kotlin-coroutines#+": "5.1.5",
230+
"io.vertx:vertx-pg-client#+": "5.1.5",
231+
"io.vertx:vertx-pg-client#4.+": "4.5.30",
232232
"io.vertx:vertx-pg-client#5.0.+": "5.0.12",
233-
"io.vertx:vertx-redis-client#+": "5.1.4",
234-
"io.vertx:vertx-rx-java2#+": "5.1.4",
233+
"io.vertx:vertx-redis-client#+": "5.1.5",
234+
"io.vertx:vertx-rx-java2#+": "5.1.5",
235235
"io.vertx:vertx-rx-java2#3.+": "3.9.16",
236-
"io.vertx:vertx-rx-java2#4.+": "4.5.29",
237-
"io.vertx:vertx-sql-client#+": "5.1.4",
238-
"io.vertx:vertx-sql-client#4.+": "4.5.29",
236+
"io.vertx:vertx-rx-java2#4.+": "4.5.30",
237+
"io.vertx:vertx-sql-client#+": "5.1.5",
238+
"io.vertx:vertx-sql-client#4.+": "4.5.30",
239239
"io.vertx:vertx-sql-client#5.0.+": "5.0.12",
240-
"io.vertx:vertx-web#+": "5.1.4",
240+
"io.vertx:vertx-web#+": "5.1.5",
241241
"io.vertx:vertx-web#3.+": "3.9.16",
242-
"io.vertx:vertx-web#4.+": "4.5.29",
243-
"io.vertx:vertx-web-client#+": "5.1.4",
242+
"io.vertx:vertx-web#4.+": "4.5.30",
243+
"io.vertx:vertx-web-client#+": "5.1.5",
244244
"io.vertx:vertx-web-client#3.+": "3.9.16",
245-
"io.vertx:vertx-web-client#4.+": "4.5.29",
245+
"io.vertx:vertx-web-client#4.+": "4.5.30",
246246
"jakarta.el:jakarta.el-api#4.+": "4.0.0",
247247
"jakarta.faces:jakarta.faces-api#+": "3.0.0",
248248
"jakarta.faces:jakarta.faces-api#3.+": "3.0.0",
@@ -298,8 +298,10 @@
298298
"org.apache.dubbo:dubbo-config-api#+": "3.3.6",
299299
"org.apache.geode:geode-core#+": "2.0.2",
300300
"org.apache.hbase:hbase-client#+": "2.6.6",
301+
"org.apache.hbase:hbase-client#1.+": "1.7.2",
301302
"org.apache.hbase:hbase-client#2.4.+": "2.4.18",
302303
"org.apache.hbase:hbase-shaded-client#+": "2.4.18",
304+
"org.apache.hbase:hbase-shaded-client#1.+": "1.7.2",
303305
"org.apache.hbase:hbase-shaded-client#2.4.+": "2.4.18",
304306
"org.apache.httpcomponents.client5:httpclient5#+": "5.6.2",
305307
"org.apache.httpcomponents:httpasyncclient#+": "4.1.5",
@@ -393,7 +395,7 @@
393395
"org.glassfish.jersey.core:jersey-server#2.+": "2.48",
394396
"org.glassfish.jersey.inject:jersey-hk2#+": "4.0.2",
395397
"org.glassfish.jersey.inject:jersey-hk2#2.+": "2.48",
396-
"org.glassfish:jakarta.faces#+": "4.1.9",
398+
"org.glassfish:jakarta.faces#+": "4.1.10",
397399
"org.glassfish:jakarta.faces#3.+": "3.0.5",
398400
"org.glassfish:javax.faces#+": "2.4.0",
399401
"org.glassfish:javax.faces#2.+": "2.4.0",
@@ -559,20 +561,20 @@
559561
"redis.clients:jedis#2.+": "2.10.2",
560562
"redis.clients:jedis#3.+": "3.10.0",
561563
"software.amazon.awssdk.crt:aws-crt#+": "0.47.3",
562-
"software.amazon.awssdk:aws-core#+": "2.47.5",
563-
"software.amazon.awssdk:aws-json-protocol#+": "2.47.5",
564-
"software.amazon.awssdk:bedrockruntime#+": "2.47.5",
565-
"software.amazon.awssdk:dynamodb#+": "2.47.5",
566-
"software.amazon.awssdk:ec2#+": "2.47.5",
567-
"software.amazon.awssdk:kinesis#+": "2.47.5",
568-
"software.amazon.awssdk:lambda#+": "2.47.5",
569-
"software.amazon.awssdk:rds#+": "2.47.5",
570-
"software.amazon.awssdk:s3#+": "2.47.5",
571-
"software.amazon.awssdk:secretsmanager#+": "2.47.5",
572-
"software.amazon.awssdk:ses#+": "2.47.5",
573-
"software.amazon.awssdk:sfn#+": "2.47.5",
574-
"software.amazon.awssdk:sns#+": "2.47.5",
575-
"software.amazon.awssdk:sqs#+": "2.47.5",
564+
"software.amazon.awssdk:aws-core#+": "2.48.1",
565+
"software.amazon.awssdk:aws-json-protocol#+": "2.48.1",
566+
"software.amazon.awssdk:bedrockruntime#+": "2.48.1",
567+
"software.amazon.awssdk:dynamodb#+": "2.48.1",
568+
"software.amazon.awssdk:ec2#+": "2.48.1",
569+
"software.amazon.awssdk:kinesis#+": "2.48.1",
570+
"software.amazon.awssdk:lambda#+": "2.48.1",
571+
"software.amazon.awssdk:rds#+": "2.48.1",
572+
"software.amazon.awssdk:s3#+": "2.48.1",
573+
"software.amazon.awssdk:secretsmanager#+": "2.48.1",
574+
"software.amazon.awssdk:ses#+": "2.48.1",
575+
"software.amazon.awssdk:sfn#+": "2.48.1",
576+
"software.amazon.awssdk:sns#+": "2.48.1",
577+
"software.amazon.awssdk:sqs#+": "2.48.1",
576578
"tech.powerjob:powerjob-official-processors#+": "5.1.2",
577579
"tech.powerjob:powerjob-worker#+": "5.1.2"
578580
}

.github/renovate.json5

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@
3636
],
3737
groupName: 'weekly update',
3838
},
39+
{
40+
// gh-aw updates need a dedicated branch so CI can regenerate their workflow lockfiles
41+
matchPackageNames: [
42+
'github/gh-aw',
43+
],
44+
groupName: 'gh-aw',
45+
},
3946
{
4047
// do not update these workflow lockfiles
4148
matchManagers: [
@@ -397,6 +404,18 @@
397404
},
398405
],
399406
customManagers: [
407+
{
408+
customType: 'regex',
409+
datasourceTemplate: 'github-releases',
410+
depNameTemplate: 'github/gh-aw',
411+
versioningTemplate: 'semver-coerced',
412+
managerFilePatterns: [
413+
'.github/workflows/build-common.yml',
414+
],
415+
matchStrings: [
416+
'gh extension install github/gh-aw --pin (?<currentValue>v\\d+\\.\\d+\\.\\d+)',
417+
],
418+
},
400419
// commented out to see whether weekly update passes without this block
401420
// {
402421
// customType: 'regex',

.github/scripts/instrumentations.sh

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,10 @@ readonly INSTRUMENTATIONS=(
114114
"grpc-1.6:javaagent:testStableSemconv"
115115
"grpc-1.6:javaagent:testExperimental"
116116
"gwt-2.0:javaagent:test"
117-
"hbase-client-2.0:javaagent:test"
118-
"hbase-client-2.0:javaagent:testStableSemconv"
117+
"hbase:hbase-client-1.4:javaagent:test"
118+
"hbase:hbase-client-1.4:javaagent:testStableSemconv"
119+
"hbase:hbase-client-2.0:javaagent:test"
120+
"hbase:hbase-client-2.0:javaagent:testStableSemconv"
119121
"helidon-4.3:javaagent:test"
120122
"hibernate:hibernate-3.3:javaagent:test"
121123
"hibernate:hibernate-3.3:javaagent:testExperimental"
@@ -197,9 +199,13 @@ readonly INSTRUMENTATIONS=(
197199
"lettuce:lettuce-4.0:javaagent:test"
198200
"lettuce:lettuce-4.0:javaagent:testExperimental"
199201
"lettuce:lettuce-4.0:javaagent:testStableSemconv"
202+
"lettuce:lettuce-4.0:javaagent:testConnectionTelemetryEnabled"
203+
"lettuce:lettuce-4.0:javaagent:testConnectionTelemetryEnabledStableSemconv"
200204
"lettuce:lettuce-5.0:javaagent:test"
201205
"lettuce:lettuce-5.0:javaagent:testExperimental"
202206
"lettuce:lettuce-5.0:javaagent:testStableSemconv"
207+
"lettuce:lettuce-5.0:javaagent:testConnectionTelemetryEnabled"
208+
"lettuce:lettuce-5.0:javaagent:testConnectionTelemetryEnabledStableSemconv"
203209
"lettuce:lettuce-5.0:javaagent:testV3Preview"
204210
"lettuce:lettuce-5.1:javaagent:test"
205211
"mongo:mongo-3.1:javaagent:test"

.github/workflows/auto-license-report.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ jobs:
7474
with:
7575
client-id: ${{ vars.OTELBOT_JAVA_INSTRUMENTATION_CLIENT_ID }}
7676
private-key: ${{ secrets.OTELBOT_JAVA_INSTRUMENTATION_PRIVATE_KEY }}
77+
permission-contents: write
7778

7879
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
7980
if: steps.check-patch.outputs.exists == 'true'
Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
name: Auto-update gh-aw lockfiles
2+
3+
on:
4+
push:
5+
branches:
6+
- 'renovate/**'
7+
paths:
8+
- '.github/workflows/build-common.yml'
9+
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
13+
14+
permissions:
15+
contents: read
16+
17+
jobs:
18+
generate:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
22+
with:
23+
persist-credentials: false
24+
25+
- name: Regenerate agentic workflow lockfiles
26+
env:
27+
GH_TOKEN: ${{ github.token }}
28+
run: |
29+
version=$(sed -nE 's/.*gh extension install github\/gh-aw --pin (v[0-9]+\.[0-9]+\.[0-9]+).*/\1/p' \
30+
.github/workflows/build-common.yml)
31+
if [[ ! $version =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
32+
echo "Unable to read a single pinned gh-aw version: $version" >&2
33+
exit 1
34+
fi
35+
gh extension install github/gh-aw --pin "$version"
36+
gh aw compile --action-tag "$version" --approve --no-check-update
37+
38+
- name: Create generated-files patch
39+
run: |
40+
files=(
41+
.github/aw/actions-lock.json
42+
.github/workflows/*.lock.yml
43+
)
44+
git add -N -- "${files[@]}"
45+
git diff --binary -- "${files[@]}" > gh-aw-lockfiles.patch
46+
47+
- name: Upload generated-files patch
48+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
49+
with:
50+
name: gh-aw-lockfiles
51+
path: gh-aw-lockfiles.patch
52+
53+
apply:
54+
runs-on: ubuntu-latest
55+
needs: generate
56+
steps:
57+
- name: Download generated-files patch
58+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
59+
with:
60+
name: gh-aw-lockfiles
61+
path: ${{ runner.temp }}
62+
63+
- name: Check patch
64+
id: patch
65+
working-directory: ${{ runner.temp }}
66+
run: |
67+
if [ ! -s gh-aw-lockfiles.patch ]; then
68+
exit 0
69+
fi
70+
while IFS= read -r path; do
71+
case "$path" in
72+
.github/aw/actions-lock.json |
73+
.github/workflows/*.lock.yml) ;;
74+
*)
75+
echo "Unexpected path in generated patch: $path" >&2
76+
exit 1
77+
;;
78+
esac
79+
done < <(git apply --numstat gh-aw-lockfiles.patch | cut -f3)
80+
echo "exists=true" >> "$GITHUB_OUTPUT"
81+
82+
- name: Create otelbot token
83+
if: steps.patch.outputs.exists == 'true'
84+
id: otelbot-token
85+
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
86+
with:
87+
client-id: ${{ vars.OTELBOT_JAVA_INSTRUMENTATION_CLIENT_ID }}
88+
private-key: ${{ secrets.OTELBOT_JAVA_INSTRUMENTATION_PRIVATE_KEY }}
89+
permission-contents: write
90+
permission-workflows: write
91+
92+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
93+
if: steps.patch.outputs.exists == 'true'
94+
with:
95+
persist-credentials: false
96+
97+
- name: Apply patch and push
98+
if: steps.patch.outputs.exists == 'true'
99+
env:
100+
GH_TOKEN: ${{ steps.otelbot-token.outputs.token }}
101+
run: |
102+
gh auth setup-git
103+
git apply --index "${{ runner.temp }}/gh-aw-lockfiles.patch"
104+
.github/scripts/use-cla-approved-bot.sh
105+
git commit -m "Update gh-aw lockfiles"
106+
git push

.github/workflows/auto-update-otel-sdk.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ jobs:
9090
with:
9191
client-id: ${{ vars.OTELBOT_CLIENT_ID }}
9292
private-key: ${{ secrets.OTELBOT_PRIVATE_KEY }}
93+
permission-pull-requests: write
9394

9495
- name: Create pull request against main
9596
if: success() || failure()

.github/workflows/backport.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
with:
3535
client-id: ${{ vars.OTELBOT_CLIENT_ID }}
3636
private-key: ${{ secrets.OTELBOT_PRIVATE_KEY }}
37+
permission-pull-requests: write
3738

3839
- name: Create pull request
3940
env:

0 commit comments

Comments
 (0)