Skip to content

Commit 802882a

Browse files
committed
Merge branch 'refs/heads/main' into messaging_semconv_update
2 parents f18f981 + 922d62d commit 802882a

File tree

1,267 files changed

+42966
-8641
lines changed

Some content is hidden

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

1,267 files changed

+42966
-8641
lines changed

.fossa.yml

Lines changed: 36 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ targets:
7676
- type: gradle
7777
path: ./
7878
target: ':instrumentation:apache-shenyu-2.4:javaagent'
79+
- type: gradle
80+
path: ./
81+
target: ':instrumentation:avaje-jex-3.0:javaagent'
7982
- type: gradle
8083
path: ./
8184
target: ':instrumentation:c3p0-0.9:javaagent'
@@ -271,9 +274,6 @@ targets:
271274
- type: gradle
272275
path: ./
273276
target: ':instrumentation:tapestry-5.4:javaagent'
274-
- type: gradle
275-
path: ./
276-
target: ':instrumentation:tomcat:tomcat-jdbc'
277277
- type: gradle
278278
path: ./
279279
target: ':instrumentation:twilio-6.6:javaagent'
@@ -426,10 +426,10 @@ targets:
426426
target: ':instrumentation:elasticsearch:elasticsearch-rest-7.0:library'
427427
- type: gradle
428428
path: ./
429-
target: ':instrumentation:elasticsearch:elasticsearch-rest-common:javaagent'
429+
target: ':instrumentation:elasticsearch:elasticsearch-rest-common-5.0:javaagent'
430430
- type: gradle
431431
path: ./
432-
target: ':instrumentation:elasticsearch:elasticsearch-rest-common:library'
432+
target: ':instrumentation:elasticsearch:elasticsearch-rest-common-5.0:library'
433433
- type: gradle
434434
path: ./
435435
target: ':instrumentation:elasticsearch:elasticsearch-transport-5.0:javaagent'
@@ -694,12 +694,6 @@ targets:
694694
- type: gradle
695695
path: ./
696696
target: ':instrumentation:netty:netty-3.8:javaagent'
697-
- type: gradle
698-
path: ./
699-
target: ':instrumentation:netty:netty-4-common:javaagent'
700-
- type: gradle
701-
path: ./
702-
target: ':instrumentation:netty:netty-4-common:library'
703697
- type: gradle
704698
path: ./
705699
target: ':instrumentation:netty:netty-4.0:javaagent'
@@ -712,6 +706,12 @@ targets:
712706
- type: gradle
713707
path: ./
714708
target: ':instrumentation:netty:netty-common:library'
709+
- type: gradle
710+
path: ./
711+
target: ':instrumentation:netty:netty-common-4.0:javaagent'
712+
- type: gradle
713+
path: ./
714+
target: ':instrumentation:netty:netty-common-4.0:library'
715715
- type: gradle
716716
path: ./
717717
target: ':instrumentation:okhttp:okhttp-2.2:javaagent'
@@ -724,6 +724,9 @@ targets:
724724
- type: gradle
725725
path: ./
726726
target: ':instrumentation:opensearch:opensearch-rest-1.0:javaagent'
727+
- type: gradle
728+
path: ./
729+
target: ':instrumentation:opensearch:opensearch-rest-3.0:javaagent'
727730
- type: gradle
728731
path: ./
729732
target: ':instrumentation:opensearch:opensearch-rest-common:javaagent'
@@ -763,6 +766,9 @@ targets:
763766
- type: gradle
764767
path: ./
765768
target: ':instrumentation:opentelemetry-api:opentelemetry-api-1.47:javaagent'
769+
- type: gradle
770+
path: ./
771+
target: ':instrumentation:opentelemetry-api:opentelemetry-api-1.50:javaagent'
766772
- type: gradle
767773
path: ./
768774
target: ':instrumentation:pekko:pekko-actor-1.0:javaagent'
@@ -895,6 +901,9 @@ targets:
895901
- type: gradle
896902
path: ./
897903
target: ':instrumentation:spring:spring-kafka-2.7:library'
904+
- type: gradle
905+
path: ./
906+
target: ':instrumentation:spring:spring-pulsar-1.0:javaagent'
898907
- type: gradle
899908
path: ./
900909
target: ':instrumentation:spring:spring-rabbit-1.0:javaagent'
@@ -937,6 +946,9 @@ targets:
937946
- type: gradle
938947
path: ./
939948
target: ':instrumentation:tomcat:tomcat-common:javaagent'
949+
- type: gradle
950+
path: ./
951+
target: ':instrumentation:tomcat:tomcat-jdbc:javaagent'
940952
- type: gradle
941953
path: ./
942954
target: ':instrumentation:vertx:vertx-kafka-client-3.6:javaagent'
@@ -946,9 +958,6 @@ targets:
946958
- type: gradle
947959
path: ./
948960
target: ':instrumentation:vertx:vertx-rx-java-3.5:javaagent'
949-
- type: gradle
950-
path: ./
951-
target: ':instrumentation:vertx:vertx-sql-client-4.0:javaagent'
952961
- type: gradle
953962
path: ./
954963
target: ':instrumentation:vertx:vertx-web-3.0:javaagent'
@@ -1011,7 +1020,7 @@ targets:
10111020
target: ':instrumentation:kafka:kafka-clients:kafka-clients-2.6:library'
10121021
- type: gradle
10131022
path: ./
1014-
target: ':instrumentation:kafka:kafka-clients:kafka-clients-common:library'
1023+
target: ':instrumentation:kafka:kafka-clients:kafka-clients-common-0.11:library'
10151024
- type: gradle
10161025
path: ./
10171026
target: ':instrumentation:log4j:log4j-context-data:log4j-context-data-2.17:javaagent'
@@ -1102,9 +1111,21 @@ targets:
11021111
- type: gradle
11031112
path: ./
11041113
target: ':instrumentation:vertx:vertx-http-client:vertx-http-client-4.0:javaagent'
1114+
- type: gradle
1115+
path: ./
1116+
target: ':instrumentation:vertx:vertx-http-client:vertx-http-client-5.0:javaagent'
11051117
- type: gradle
11061118
path: ./
11071119
target: ':instrumentation:vertx:vertx-http-client:vertx-http-client-common:javaagent'
1120+
- type: gradle
1121+
path: ./
1122+
target: ':instrumentation:vertx:vertx-sql-client:vertx-sql-client-4.0:javaagent'
1123+
- type: gradle
1124+
path: ./
1125+
target: ':instrumentation:vertx:vertx-sql-client:vertx-sql-client-5.0:javaagent'
1126+
- type: gradle
1127+
path: ./
1128+
target: ':instrumentation:vertx:vertx-sql-client:vertx-sql-client-common:javaagent'
11081129

11091130
experimental:
11101131
gradle:

.github/graal-native-docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
mongodb:
3-
image: mongo:4.0
3+
image: mongo:4.2
44
ports:
55
- "27017:27017"
66

.github/renovate.json5

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
{
22
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
33
extends: [
4-
'config:recommended',
5-
'docker:pinDigests',
6-
'helpers:pinGitHubActionDigests',
4+
'config:best-practices',
5+
'helpers:pinGitHubActionDigestsToSemver',
76
],
87
ignorePaths: [
98
'instrumentation/**',
@@ -28,9 +27,11 @@
2827
},
2928
{
3029
matchPackageNames: [
30+
'io.opentelemetry.contrib:opentelemetry-azure-resources',
3131
'io.opentelemetry.contrib:opentelemetry-aws-resources',
3232
'io.opentelemetry.contrib:opentelemetry-aws-xray-propagator',
3333
'io.opentelemetry.contrib:opentelemetry-gcp-resources',
34+
'io.opentelemetry.contrib:opentelemetry-cloudfoundry-resources',
3435
'io.opentelemetry.contrib:opentelemetry-baggage-processor',
3536
'io.opentelemetry.proto:opentelemetry-proto',
3637
'io.opentelemetry.semconv:opentelemetry-semconv',
@@ -78,6 +79,12 @@
7879
'com.gradleup.shadow{/,}**',
7980
],
8081
},
82+
{
83+
groupName: 'guava packages',
84+
matchPackageNames: [
85+
'com.google.guava{/,}**',
86+
],
87+
},
8188
{
8289
groupName: 'jackson packages',
8390
matchPackageNames: [
@@ -322,8 +329,8 @@
322329
{
323330
customType: 'regex',
324331
datasourceTemplate: 'pypi',
325-
fileMatch: [
326-
'^.github/workflows/',
332+
managerFilePatterns: [
333+
'/^.github/workflows//',
327334
],
328335
matchStrings: [
329336
'pip install (?<depName>[^=]+)==(?<currentValue>[^\\s]+)',
@@ -332,8 +339,8 @@
332339
{
333340
customType: 'regex',
334341
datasourceTemplate: 'npm',
335-
fileMatch: [
336-
'^.github/workflows/',
342+
managerFilePatterns: [
343+
'/^.github/workflows//',
337344
],
338345
matchStrings: [
339346
'npx (?<depName>[^@]+)@(?<currentValue>[^\\s]+)',

.github/repository-settings.md

Lines changed: 45 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -23,91 +23,53 @@ settings](https://github.com/open-telemetry/community/blob/main/docs/how-to-conf
2323
Read repository contents and packages permissions
2424
- Allow GitHub Actions to create and approve pull requests: UNCHECKED
2525

26-
## Rules > Rulesets
27-
28-
### `main` and release branches
29-
30-
- Targeted branches:
31-
- `main`
32-
- `release/*`
33-
- Branch rules
34-
- Restrict deletions: CHECKED
35-
- Require a pull request before merging: CHECKED
36-
- Required approvals: 1
37-
- Require review from Code Owners: CHECKED
38-
- Allowed merge methods: Squash
39-
- Require status checks to pass
40-
- Do not require status checks on creation: CHECKED
41-
- Status checks that are required
42-
- EasyCLA
43-
- `required-status-check`
44-
- `gradle-wrapper-validation`
45-
- Block force pushes: CHECKED
46-
- Require code scanning results: CHECKED
47-
- CodeQL
48-
- Security alerts: High or higher
49-
- Alerts: Errors
50-
51-
> [!NOTE]
52-
> This repository can't "require linear history" because there is an old merge commit on `main`
53-
> (and so also on the release branches).
54-
55-
### `cloudfoundry` branch
56-
57-
- Targeted branches:
58-
- `cloudfoundry`
59-
- Branch rules
60-
- Restrict deletions: CHECKED
61-
- Require linear history: CHECKED
62-
- Require a pull request before merging: CHECKED
63-
- Required approvals: 1
64-
- Require review from Code Owners: CHECKED
65-
- Allowed merge methods: Squash
66-
- Require status checks to pass
67-
- EasyCLA
68-
- Block force pushes: CHECKED
69-
70-
### `gh-pages` branch
71-
72-
- Targeted branches:
73-
- `gh-pages`
74-
- Branch rules
75-
- Restrict deletions: CHECKED
76-
- Require linear history: CHECKED
77-
- Block force pushes: CHECKED
78-
79-
### Old-style release branches
80-
81-
- Targeted branches:
82-
- `v0.*`
83-
- `v1.*`
84-
- Branch rules
85-
- Restrict creations: CHECKED
86-
- Restrict updates: CHECKED
87-
- Restrict deletions: CHECKED
88-
89-
### Restrict branch creation
90-
91-
- Targeted branches
92-
- Exclude:
93-
- `release/*`
94-
- `renovate/**/*`
95-
- `otelbot/**/*`
96-
- `revert-*/**/*` (these are created when using the GitHub UI to revert a PR)
97-
- Restrict creations: CHECKED
98-
99-
### Restrict updating tags
100-
101-
- Targeted tags
102-
- All tags
103-
- Restrict updates: CHECKED
104-
- Restrict deletions: CHECKED
105-
10626
## Branch protections
10727

108-
### `main`, `release/*`, `cloudfoundry`
28+
The order of branch protection rules
29+
[can be important](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/managing-a-branch-protection-rule#about-branch-protection-rules).
30+
The branch protection rules below should be added before the `**/**` branch protection rule
31+
(this may require deleting the `**/**` rule and recreating it at the end).
32+
33+
### `main`
34+
35+
- Require branches to be up to date before merging: UNCHECKED
36+
37+
(PR jobs take too long, and leaving this unchecked has not been a significant problem)
38+
39+
- Status checks that are required:
40+
41+
- EasyCLA
42+
- required-status-check
43+
- gradle-wrapper-validation
44+
- CodeQL
45+
46+
### `release/*`
47+
48+
Same settings as above for [`main`](#main).
49+
50+
### `v0.*` and `v1.*` (old-style release branches)
51+
52+
- Lock branch: CHECKED
53+
54+
- Do not allow bypassing the above settings: CHECKED
55+
56+
### `cloudfoundry`
57+
58+
Same settings as above for [`main`](#main),
59+
except for the `required-status-check` required status check.
60+
61+
### `renovate/**/*` and `otelbot/**/*`
62+
63+
Same settings as
64+
for [`dependabot/**/*`](https://github.com/open-telemetry/community/blob/main/docs/how-to-configure-new-repository.md#branch-protection-rule-dependabot)
65+
66+
### `gh-pages`
67+
68+
- Everything UNCHECKED
10969

110-
- Restrict who can push to matching branches: CHECKED
70+
(This branch is currently only used for directly pushing benchmarking results from the
71+
[Nightly overhead benchmark](https://github.com/open-telemetry/opentelemetry-java-instrumentation/actions/workflows/nightly-benchmark-overhead.yml)
72+
job)
11173

11274
## Code security and analysis
11375

@@ -132,6 +94,7 @@ settings](https://github.com/open-telemetry/community/blob/main/docs/how-to-conf
13294

13395
- `FOSSA_API_KEY`
13496
- `OTELBOT_PRIVATE_KEY`
97+
- `OTELBOT_JAVA_INSTRUMENTATION_PRIVATE_KEY`
13598

13699
### Organization variables
137100

0 commit comments

Comments
 (0)