Skip to content

Commit d40e568

Browse files
authored
Merge branch 'main' into main
2 parents 65278f9 + 6c57132 commit d40e568

File tree

80 files changed

+6471
-3067
lines changed

Some content is hidden

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

80 files changed

+6471
-3067
lines changed

.github/component_owners.yml

Lines changed: 24 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,77 +1,23 @@
11
components:
22

3-
docs/instrumentation:
4-
- nemoshlag
5-
6-
7-
instrumentation/opentelemetry-instrumentation-aio-pika:
8-
- ofek1weiss
3+
instrumentation/opentelemetry-instrumentation-aiokafka:
4+
- dimastbk
95

10-
instrumentation/opentelemetry-instrumentation-boto3sqs:
11-
- oxeye-nikolay
12-
- nikosokolik
13-
146
instrumentation/opentelemetry-instrumentation-asyncclick:
157
- jomcgi
168

17-
instrumentation/opentelemetry-instrumentation-kafka-python:
18-
- nozik
19-
20-
instrumentation/opentelemetry-instrumentation-pika:
21-
- oxeye-nikolay
22-
- nikosokolik
23-
24-
instrumentation/opentelemetry-instrumentation-redis:
25-
- sungwonh
26-
27-
instrumentation/opentelemetry-instrumentation-remoulade:
28-
- ben-natan
29-
- machine424
30-
31-
instrumentation/opentelemetry-instrumentation-confluent-kafka:
32-
- oxeye-dorkolog
33-
- dorkolog
34-
35-
propagator/opentelemetry-propagator-aws-xray:
36-
- jj22ee
37-
38-
sdk-extension/opentelemetry-sdk-extension-aws:
39-
- srprash
40-
- jj22ee
41-
42-
instrumentation/opentelemetry-instrumentation-tortoiseorm:
43-
- tonybaloney
9+
instrumentation/opentelemetry-instrumentation-asyncio:
10+
- bourbonkk
4411

45-
instrumentation/opentelemetry-instrumentation-tornado:
46-
- shalevr
12+
instrumentation/opentelemetry-instrumentation-pymssql:
13+
- guillaumep
4714

4815
instrumentation/opentelemetry-instrumentation-urllib:
4916
- shalevr
5017

5118
instrumentation/opentelemetry-instrumentation-urllib3:
5219
- shalevr
5320

54-
instrumentation/opentelemetry-instrumentation-sqlalchemy:
55-
- shalevr
56-
57-
instrumentation/opentelemetry-instrumentation-cassandra:
58-
- mattcontinisio
59-
60-
instrumentation/opentelemetry-instrumentation-asyncio:
61-
- bourbonkk
62-
63-
instrumentation/opentelemetry-instrumentation-psycopg:
64-
- federicobond
65-
66-
instrumentation/opentelemetry-instrumentation-pymssql:
67-
- guillaumep
68-
69-
instrumentation/opentelemetry-instrumentation-aiokafka:
70-
- dimastbk
71-
72-
processor/opentelemetry-processor-baggage:
73-
- codeboten
74-
7521
instrumentation-genai/:
7622
- karthikscale3
7723
- lmolkova
@@ -80,3 +26,21 @@ components:
8026
- nirga
8127
- alizenhom
8228
- codefromthecrypt
29+
30+
processor/opentelemetry-processor-baggage:
31+
- codeboten
32+
33+
propagator/opentelemetry-propagator-aws-xray:
34+
- jj22ee
35+
36+
sdk-extension/opentelemetry-sdk-extension-aws:
37+
- srprash
38+
- jj22ee
39+
40+
util/opentelemetry-util-genai:
41+
- DylanRussell
42+
- keith-decker
43+
44+
instrumentation-genai/opentelemetry-instrumentation-langchain:
45+
- zhirafovod
46+
- wrisa

.github/workflows/misc_0.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ jobs:
157157
- name: Run tests
158158
run: tox -e shellcheck
159159

160-
ruff:
161-
name: ruff
160+
precommit:
161+
name: precommit
162162
runs-on: ubuntu-latest
163163
timeout-minutes: 30
164164
steps:
@@ -174,7 +174,7 @@ jobs:
174174
run: pip install tox-uv
175175

176176
- name: Run tests
177-
run: tox -e ruff
177+
run: tox -e precommit
178178

179179
typecheck:
180180
name: typecheck

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111
- opentelemetry-instrumentation-openai-v2
1212
- opentelemetry-instrumentation-vertexai
1313
- opentelemetry-instrumentation-google-genai
14+
- opentelemetry-util-genai
1415
description: 'Package to be released'
1516
required: true
1617
permissions:
@@ -48,7 +49,7 @@ jobs:
4849
4950
version=$(./scripts/eachdist.py version --package ${{ inputs.package }})
5051
51-
version_file=$(find $path -type f -path "*version*.py")
52+
version_file=$(find $path -type f -path "**/version.py")
5253
file_count=$(echo "$version_file" | wc -l)
5354
5455
if [ "$file_count" -ne 1 ]; then

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111
- opentelemetry-instrumentation-openai-v2
1212
- opentelemetry-instrumentation-vertexai
1313
- opentelemetry-instrumentation-google-genai
14+
- opentelemetry-util-genai
1415
description: 'Package to be released'
1516
required: true
1617

@@ -60,7 +61,7 @@ jobs:
6061
6162
version=${version_dev%.dev}
6263
63-
version_file=$(find $path -type f -path "*version*.py")
64+
version_file=$(find $path -type f -path "**/version.py")
6465
file_count=$(echo "$version_file" | wc -l)
6566
6667
if [ "$file_count" -ne 1 ]; then

.github/workflows/package-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111
- opentelemetry-instrumentation-openai-v2
1212
- opentelemetry-instrumentation-vertexai
1313
- opentelemetry-instrumentation-google-genai
14+
- opentelemetry-util-genai
1415
description: 'Package to be released'
1516
required: true
1617
permissions:

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,9 @@ repos:
1313
rev: 0.6.0
1414
hooks:
1515
- id: uv-lock
16+
- repo: https://github.com/rstcheck/rstcheck
17+
rev: 77490ffa33bfc0928975ae3cf904219903db755d # frozen: v6.2.5
18+
hooks:
19+
- id: rstcheck
20+
additional_dependencies: ['rstcheck[sphinx]']
21+
args: ["--report-level", "warning"]

.rstcheck.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[rstcheck]
2+
ignore_directives = automodule

CHANGELOG.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111
1212
## Unreleased
1313

14+
### Fixed
15+
16+
### Added
17+
- `opentelemetry-instrumentation`: botocore: Add support for AWS Secrets Manager semantic convention attribute
18+
([#3765](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3765))
19+
- Add `rstcheck` to pre-commit to stop introducing invalid RST
20+
([#3777](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3777))
21+
22+
1423
## Version 1.37.0/0.58b0 (2025-09-11)
1524

1625
### Fixed
@@ -40,8 +49,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4049

4150
### Added
4251

43-
- `opentelemetry-util-genai` Add a utility to parse the `OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT` environment variable.
44-
Add `gen_ai_latest_experimental` as a new value to the Sem Conv stability flag ([#3716](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3716)).
4552
- `opentelemetry-instrumentation-confluent-kafka` Add support for confluent-kafka <=2.11.0
4653
([#3685](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3685))
4754
- `opentelemetry-instrumentation-system-metrics`: Add `cpython.gc.collected_objects` and `cpython.gc.uncollectable_objects` metrics

CONTRIBUTING.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,9 @@ You can run `tox` with the following arguments:
8484
* `tox -e lint-some-package` to run lint checks on `some-package`
8585
* `tox -e generate-workflows` to run creation of new CI workflows if tox environments have been updated
8686
* `tox -e ruff` to run ruff linter and formatter checks against the entire codebase
87+
* `tox -e precommit` to run all `pre-commit` actions
8788

88-
`ruff check` and `ruff format` are executed when `tox -e ruff` is run. We strongly recommend you to configure [pre-commit](https://pre-commit.com/) locally to run `ruff` automatically before each commit by installing it as git hooks. You just need to [install pre-commit](https://pre-commit.com/#install) in your environment:
89+
`ruff check` and `ruff format` are executed when `tox -e ruff` is run. We strongly recommend you to configure [pre-commit](https://pre-commit.com/) locally to run `ruff` and `rstcheck` automatically before each commit by installing it as git hooks. You just need to [install pre-commit](https://pre-commit.com/#install) in your environment:
8990

9091
```console
9192
pip install pre-commit -c dev-requirements.txt

_template/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
OpenTelemetry <REPLACE ME> Instrumentation
2-
===========================
2+
==========================================
33

44
|pypi|
55

@@ -20,5 +20,5 @@ Installation
2020
References
2121
----------
2222

23-
* `OpenTelemetry <REPLACE ME>/ Tracing <https://opentelemetry-python-contrib.readthedocs.io/en/latest/instrumentation/<REPLACE ME>/<REPLACE ME>.html>`_
23+
* `OpenTelemetry REPLACE ME/ Tracing <https://opentelemetry-python-contrib.readthedocs.io/en/latest/instrumentation/REPLACE ME/REPLACE ME.html>`_
2424
* `OpenTelemetry Project <https://opentelemetry.io/>`_

0 commit comments

Comments
 (0)