Skip to content

Commit 1a485a8

Browse files
authored
Merge branch 'main' into fix-asgi-middleware
2 parents a5db685 + 3708604 commit 1a485a8

File tree

174 files changed

+21652
-1912
lines changed

Some content is hidden

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

174 files changed

+21652
-1912
lines changed

.github/workflows/core_contrib_test_0.yml

Lines changed: 37 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ env:
1919

2020
jobs:
2121

22-
py38-test-instrumentation-openai-v2-0:
23-
name: instrumentation-openai-v2-0
22+
py38-test-instrumentation-openai-v2-oldest:
23+
name: instrumentation-openai-v2-oldest
2424
runs-on: ubuntu-latest
2525
steps:
2626
- name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }}
@@ -39,10 +39,10 @@ jobs:
3939
run: pip install tox-uv
4040

4141
- name: Run tests
42-
run: tox -e py38-test-instrumentation-openai-v2-0 -- -ra
42+
run: tox -e py38-test-instrumentation-openai-v2-oldest -- -ra
4343

44-
py38-test-instrumentation-openai-v2-1:
45-
name: instrumentation-openai-v2-1
44+
py38-test-instrumentation-openai-v2-latest:
45+
name: instrumentation-openai-v2-latest
4646
runs-on: ubuntu-latest
4747
steps:
4848
- name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }}
@@ -61,10 +61,10 @@ jobs:
6161
run: pip install tox-uv
6262

6363
- name: Run tests
64-
run: tox -e py38-test-instrumentation-openai-v2-1 -- -ra
64+
run: tox -e py38-test-instrumentation-openai-v2-latest -- -ra
6565

66-
py38-test-instrumentation-vertexai-0:
67-
name: instrumentation-vertexai-0
66+
py38-test-instrumentation-vertexai-oldest:
67+
name: instrumentation-vertexai-oldest
6868
runs-on: ubuntu-latest
6969
steps:
7070
- name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }}
@@ -83,10 +83,10 @@ jobs:
8383
run: pip install tox-uv
8484

8585
- name: Run tests
86-
run: tox -e py38-test-instrumentation-vertexai-0 -- -ra
86+
run: tox -e py38-test-instrumentation-vertexai-oldest -- -ra
8787

88-
py38-test-instrumentation-vertexai-1:
89-
name: instrumentation-vertexai-1
88+
py38-test-instrumentation-vertexai-latest:
89+
name: instrumentation-vertexai-latest
9090
runs-on: ubuntu-latest
9191
steps:
9292
- name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }}
@@ -105,7 +105,7 @@ jobs:
105105
run: pip install tox-uv
106106

107107
- name: Run tests
108-
run: tox -e py38-test-instrumentation-vertexai-1 -- -ra
108+
run: tox -e py38-test-instrumentation-vertexai-latest -- -ra
109109

110110
py38-test-resource-detector-container:
111111
name: resource-detector-container
@@ -877,8 +877,8 @@ jobs:
877877
- name: Run tests
878878
run: tox -e py38-test-instrumentation-requests -- -ra
879879

880-
py38-test-instrumentation-starlette:
881-
name: instrumentation-starlette
880+
py38-test-instrumentation-starlette-oldest:
881+
name: instrumentation-starlette-oldest
882882
runs-on: ubuntu-latest
883883
steps:
884884
- name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }}
@@ -897,7 +897,29 @@ jobs:
897897
run: pip install tox-uv
898898

899899
- name: Run tests
900-
run: tox -e py38-test-instrumentation-starlette -- -ra
900+
run: tox -e py38-test-instrumentation-starlette-oldest -- -ra
901+
902+
py38-test-instrumentation-starlette-latest:
903+
name: instrumentation-starlette-latest
904+
runs-on: ubuntu-latest
905+
steps:
906+
- name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }}
907+
uses: actions/checkout@v4
908+
with:
909+
repository: open-telemetry/opentelemetry-python-contrib
910+
ref: ${{ env.CONTRIB_REPO_SHA }}
911+
912+
- name: Set up Python 3.8
913+
uses: actions/setup-python@v5
914+
with:
915+
python-version: "3.8"
916+
architecture: "x64"
917+
918+
- name: Install tox
919+
run: pip install tox-uv
920+
921+
- name: Run tests
922+
run: tox -e py38-test-instrumentation-starlette-latest -- -ra
901923

902924
py38-test-instrumentation-jinja2:
903925
name: instrumentation-jinja2

.github/workflows/fossa.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
16+
17+
- uses: fossas/fossa-action@93a52ecf7c3ac7eb40f5de77fd69b1a19524de94 # v1.5.0
18+
with:
19+
api-key: ${{secrets.FOSSA_API_KEY}}
20+
team: OpenTelemetry

.github/workflows/lint_0.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,24 @@ jobs:
5252
- name: Run tests
5353
run: tox -e lint-instrumentation-vertexai
5454

55+
lint-instrumentation-google-genai:
56+
name: instrumentation-google-genai
57+
runs-on: ubuntu-latest
58+
steps:
59+
- name: Checkout repo @ SHA - ${{ github.sha }}
60+
uses: actions/checkout@v4
61+
62+
- name: Set up Python 3.13
63+
uses: actions/setup-python@v5
64+
with:
65+
python-version: "3.13"
66+
67+
- name: Install tox
68+
run: pip install tox-uv
69+
70+
- name: Run tests
71+
run: tox -e lint-instrumentation-google-genai
72+
5573
lint-resource-detector-container:
5674
name: resource-detector-container
5775
runs-on: ubuntu-latest

.github/workflows/package-prepare-patch-release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,12 @@ on:
99
- opentelemetry-resource-detector-azure
1010
- opentelemetry-sdk-extension-aws
1111
- opentelemetry-instrumentation-openai-v2
12+
- opentelemetry-instrumentation-vertexai
13+
- opentelemetry-instrumentation-google-genai
1214
description: 'Package to be released'
1315
required: true
16+
run-name: "[Package][${{ inputs.package }}] Prepare patch release"
17+
1418
jobs:
1519
prepare-patch-release:
1620
runs-on: ubuntu-latest

.github/workflows/package-prepare-release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,12 @@ on:
99
- opentelemetry-resource-detector-azure
1010
- opentelemetry-sdk-extension-aws
1111
- opentelemetry-instrumentation-openai-v2
12+
- opentelemetry-instrumentation-vertexai
13+
- opentelemetry-instrumentation-google-genai
1214
description: 'Package to be released'
1315
required: true
1416

17+
run-name: "[Package][${{ inputs.package }}] Prepare release"
1518
jobs:
1619
prereqs:
1720
runs-on: ubuntu-latest

.github/workflows/package-release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@ on:
99
- opentelemetry-resource-detector-azure
1010
- opentelemetry-sdk-extension-aws
1111
- opentelemetry-instrumentation-openai-v2
12+
- opentelemetry-instrumentation-vertexai
13+
- opentelemetry-instrumentation-google-genai
1214
description: 'Package to be released'
1315
required: true
16+
run-name: "[Package][${{ inputs.package }}] Release"
1417
jobs:
1518
release:
1619
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)