Skip to content

Commit 0c9ac2d

Browse files
authored
Merge branch 'main' into feature/camunda_instrumentation
2 parents 1f4d357 + eb7ea9e commit 0c9ac2d

File tree

1,845 files changed

+67927
-14479
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,845 files changed

+67927
-14479
lines changed

.fossa.yml

Lines changed: 36 additions & 3 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'
@@ -343,6 +346,12 @@ targets:
343346
- type: gradle
344347
path: ./
345348
target: ':instrumentation:aws-lambda:aws-lambda-events-2.2:library'
349+
- type: gradle
350+
path: ./
351+
target: ':instrumentation:aws-lambda:aws-lambda-events-3.11:library'
352+
- type: gradle
353+
path: ./
354+
target: ':instrumentation:aws-lambda:aws-lambda-events-common-2.2:library'
346355
- type: gradle
347356
path: ./
348357
target: ':instrumentation:aws-sdk:aws-sdk-1.11:javaagent'
@@ -724,9 +733,18 @@ targets:
724733
- type: gradle
725734
path: ./
726735
target: ':instrumentation:okhttp:okhttp-3.0:library'
736+
- type: gradle
737+
path: ./
738+
target: ':instrumentation:openai:openai-java-1.1:javaagent'
739+
- type: gradle
740+
path: ./
741+
target: ':instrumentation:openai:openai-java-1.1:library'
727742
- type: gradle
728743
path: ./
729744
target: ':instrumentation:opensearch:opensearch-rest-1.0:javaagent'
745+
- type: gradle
746+
path: ./
747+
target: ':instrumentation:opensearch:opensearch-rest-3.0:javaagent'
730748
- type: gradle
731749
path: ./
732750
target: ':instrumentation:opensearch:opensearch-rest-common:javaagent'
@@ -766,6 +784,12 @@ targets:
766784
- type: gradle
767785
path: ./
768786
target: ':instrumentation:opentelemetry-api:opentelemetry-api-1.47:javaagent'
787+
- type: gradle
788+
path: ./
789+
target: ':instrumentation:opentelemetry-api:opentelemetry-api-1.50:javaagent'
790+
- type: gradle
791+
path: ./
792+
target: ':instrumentation:opentelemetry-api:opentelemetry-api-1.52:javaagent'
769793
- type: gradle
770794
path: ./
771795
target: ':instrumentation:pekko:pekko-actor-1.0:javaagent'
@@ -955,9 +979,6 @@ targets:
955979
- type: gradle
956980
path: ./
957981
target: ':instrumentation:vertx:vertx-rx-java-3.5:javaagent'
958-
- type: gradle
959-
path: ./
960-
target: ':instrumentation:vertx:vertx-sql-client-4.0:javaagent'
961982
- type: gradle
962983
path: ./
963984
target: ':instrumentation:vertx:vertx-web-3.0:javaagent'
@@ -1111,9 +1132,21 @@ targets:
11111132
- type: gradle
11121133
path: ./
11131134
target: ':instrumentation:vertx:vertx-http-client:vertx-http-client-4.0:javaagent'
1135+
- type: gradle
1136+
path: ./
1137+
target: ':instrumentation:vertx:vertx-http-client:vertx-http-client-5.0:javaagent'
11141138
- type: gradle
11151139
path: ./
11161140
target: ':instrumentation:vertx:vertx-http-client:vertx-http-client-common:javaagent'
1141+
- type: gradle
1142+
path: ./
1143+
target: ':instrumentation:vertx:vertx-sql-client:vertx-sql-client-4.0:javaagent'
1144+
- type: gradle
1145+
path: ./
1146+
target: ':instrumentation:vertx:vertx-sql-client:vertx-sql-client-5.0:javaagent'
1147+
- type: gradle
1148+
path: ./
1149+
target: ':instrumentation:vertx:vertx-sql-client:vertx-sql-client-common:javaagent'
11171150

11181151
experimental:
11191152
gradle:

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,10 @@ body:
4848
attributes:
4949
label: Additional context
5050
description: Add any other context about the problem here.
51+
- type: dropdown
52+
attributes:
53+
label: Tip
54+
description: This element is static, used to render a helpful sub-heading for end-users and community members to help prioritize issues. Please leave as is.
55+
options:
56+
- <sub>[React](https://github.blog/news-insights/product-news/add-reactions-to-pull-requests-issues-and-comments/) with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding `+1` or `me too`, to help us triage it. Learn more [here](https://opentelemetry.io/community/end-user/issue-participation/).</sub>
57+
default: 0

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,10 @@ body:
2222
attributes:
2323
label: Additional context
2424
description: Add any other context or screenshots about the feature request here.
25+
- type: dropdown
26+
attributes:
27+
label: Tip
28+
description: This element is static, used to render a helpful sub-heading for end-users and community members to help prioritize issues. Please leave as is.
29+
options:
30+
- <sub>[React](https://github.blog/news-insights/product-news/add-reactions-to-pull-requests-issues-and-comments/) with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding `+1` or `me too`, to help us triage it. Learn more [here](https://opentelemetry.io/community/end-user/issue-participation/).</sub>
31+
default: 0

.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: 24 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: [
@@ -136,6 +143,16 @@
136143
],
137144
enabled: false,
138145
},
146+
{
147+
// wiremock 3+ requires Java 11+
148+
matchUpdateTypes: [
149+
'major',
150+
],
151+
enabled: false,
152+
matchPackageNames: [
153+
'com.github.tomakehurst:wiremock-jre8'
154+
],
155+
},
139156
{
140157
// intentionally using Spring Boot 2 in this smoke tests
141158
// new versions of Spring Boot 3 are tested with
@@ -322,8 +339,8 @@
322339
{
323340
customType: 'regex',
324341
datasourceTemplate: 'pypi',
325-
fileMatch: [
326-
'^.github/workflows/',
342+
managerFilePatterns: [
343+
'/^.github/workflows//',
327344
],
328345
matchStrings: [
329346
'pip install (?<depName>[^=]+)==(?<currentValue>[^\\s]+)',
@@ -332,8 +349,8 @@
332349
{
333350
customType: 'regex',
334351
datasourceTemplate: 'npm',
335-
fileMatch: [
336-
'^.github/workflows/',
352+
managerFilePatterns: [
353+
'/^.github/workflows//',
337354
],
338355
matchStrings: [
339356
'npx (?<depName>[^@]+)@(?<currentValue>[^\\s]+)',

.github/repository-settings.md

Lines changed: 3 additions & 111 deletions
Original file line numberDiff line numberDiff line change
@@ -1,117 +1,8 @@
11
# Repository settings
22

33
This document describes any changes that have been made to the
4-
settings for this repository beyond the [OpenTelemetry default repository
5-
settings](https://github.com/open-telemetry/community/blob/main/docs/how-to-configure-new-repository.md#repository-settings).
6-
7-
## General > Pull Requests
8-
9-
- Allow squash merging > Default to pull request title
10-
11-
- Allow auto-merge
12-
13-
## Actions > General
14-
15-
- Fork pull request workflows from outside collaborators:
16-
"Require approval for first-time contributors who are new to GitHub"
17-
18-
(To reduce friction for new contributors,
19-
as the default is "Require approval for first-time contributors")
20-
21-
- Workflow permissions
22-
- Default permissions granted to the `GITHUB_TOKEN` when running workflows in this repository:
23-
Read repository contents and packages permissions
24-
- Allow GitHub Actions to create and approve pull requests: UNCHECKED
25-
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-
106-
## Branch protections
107-
108-
### `main`, `release/*`, `cloudfoundry`
109-
110-
- Restrict who can push to matching branches: CHECKED
111-
112-
## Code security and analysis
113-
114-
- Secret scanning: Enabled
4+
settings in this repository outside the settings tracked in the
5+
private admin repo.
1156

1167
## Secrets and variables > Actions
1178

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

13324
- `FOSSA_API_KEY`
13425
- `OTELBOT_PRIVATE_KEY`
26+
- `OTELBOT_JAVA_INSTRUMENTATION_PRIVATE_KEY`
13527

13628
### Organization variables
13729

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# this file exists so that Renovate can auto-update docker image versions that are then used elsewhere
2+
3+
FROM lycheeverse/lychee:sha-2aa22f8@sha256:2e3786630482c41f9f2dd081e06d7da1c36d66996e8cf6573409b8bc418d48c4 AS lychee

.github/scripts/link-check.sh

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
export MSYS_NO_PATHCONV=1 # for Git Bash on Windows
6+
7+
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
8+
LYCHEE_CONFIG="$SCRIPT_DIR/../../.lychee.toml"
9+
DEPENDENCIES_DOCKERFILE="$SCRIPT_DIR/dependencies.dockerfile"
10+
11+
# Extract lychee version from dependencies.dockerfile
12+
LYCHEE_VERSION=$(grep "FROM lycheeverse/lychee:" "$DEPENDENCIES_DOCKERFILE" | sed 's/.*FROM lycheeverse\/lychee:\([^ ]*\).*/\1/')
13+
14+
# Build the lychee command with optional GitHub token
15+
CMD="lycheeverse/lychee:$LYCHEE_VERSION --verbose --config $(basename "$LYCHEE_CONFIG")"
16+
17+
# Add GitHub token if available
18+
if [[ -n "$GITHUB_TOKEN" ]]; then
19+
CMD="$CMD --github-token $GITHUB_TOKEN"
20+
fi
21+
22+
# Add the target directory
23+
CMD="$CMD ."
24+
25+
# Determine if we should allocate a TTY
26+
DOCKER_FLAGS="--rm --init"
27+
if [[ -t 0 ]]; then
28+
DOCKER_FLAGS="$DOCKER_FLAGS -it"
29+
else
30+
DOCKER_FLAGS="$DOCKER_FLAGS -i"
31+
fi
32+
33+
# Run lychee with proper signal handling
34+
# shellcheck disable=SC2086
35+
exec docker run $DOCKER_FLAGS -v "$(dirname "$LYCHEE_CONFIG")":/data -w /data $CMD

0 commit comments

Comments
 (0)