Skip to content

Commit b43b014

Browse files
committed
2 parents 5012b8d + 1ddba1b commit b43b014

File tree

156 files changed

+1364
-1016
lines changed

Some content is hidden

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

156 files changed

+1364
-1016
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313

1414
### Added
1515

16+
- `opentelemetry-instrumentation-confluent-kafka` Add support for confluent-kafka <=2.7.0
17+
([#3100](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3100))
18+
- Add support to database stability opt-in in `_semconv` utilities and add tests
19+
([#3111](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3111))
20+
21+
### Fixed
22+
23+
- `opentelemetry-instrumentation-httpx` Fix `RequestInfo`/`ResponseInfo` type hints
24+
([#3105](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3105))
25+
26+
27+
## Version 1.29.0/0.50b0 (2024-12-11)
28+
29+
### Added
30+
1631
- `opentelemetry-instrumentation-starlette` Add type hints to the instrumentation
1732
([#3045](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3045))
1833
- `opentelemetry-distro` default to OTLP log exporter.
@@ -50,6 +65,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5065
([#2816](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2816))
5166
- `opentelemetry-instrumentation-sqlalchemy`: Fix a remaining memory leak in EngineTracer
5267
([#3053](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3053))
68+
- `opentelemetry-instrumentation-sqlite3`: Update documentation on explicit cursor support of tracing
69+
([#3088](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3088))
5370

5471
### Breaking changes
5572

CONTRIBUTING.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ You can run `tox` with the following arguments:
6363

6464
* `tox` to run all existing tox commands, including unit tests for all packages
6565
under multiple Python versions
66-
* `tox -e docs` to regenerate the API docs
66+
* `tox -e docs` to regenerate all docs
6767
* `tox -e py312-test-instrumentation-aiopg` to e.g. run the aiopg instrumentation unit tests under a specific
6868
Python version
6969
* `tox -e spellcheck` to run a spellcheck on all the code
@@ -89,7 +89,9 @@ for more detail on available tox commands.
8989

9090
### Troubleshooting
9191

92-
> Some packages may require additional system wide dependencies to be installed. For example, you may need to install `libpq-dev` to run the postgresql client libraries instrumentation tests. or `libsnappy-dev` to run the prometheus exporter tests. If you encounter a build error, please check the installation instructions for the package you are trying to run tests for.
92+
Some packages may require additional system-wide dependencies to be installed. For example, you may need to install `libpq-dev` to run the postgresql client libraries instrumentation tests or `libsnappy-dev` to run the prometheus exporter tests. If you encounter a build error, please check the installation instructions for the package you are trying to run tests for.
93+
94+
For `docs` building, you may need to install `mysql-client` and other required dependencies as necessary. Ensure the Python version used in your local setup matches the version used in the [CI](./.github/workflows/) to maintain compatibility when building the documentation.
9395

9496
### Benchmarks
9597

@@ -278,6 +280,20 @@ Below is a checklist of things to be mindful of when implementing a new instrume
278280
- Testing
279281
- When adding a new instrumentation remember to update `tox.ini` adding appropriate rules in `envlist`, `command_pre` and `commands` sections
280282

283+
### Update supported instrumentation package versions
284+
285+
- Navigate to the **instrumentation package directory:**
286+
- Update **`pyproject.toml`** file by modifying _instruments_ entry in the `[project.optional-dependencies]` section with the new version constraint
287+
- Update `_instruments` variable in instrumentation **`package.py`** file with the new version constraint
288+
- At the **root of the project directory**, run `tox -e generate` to regenerate necessary files
289+
290+
If you're adding support for a new version of the instrumentation package, follow these additional steps:
291+
292+
- At the **instrumentation package directory:** Add new test-requirements.txt file with the respective package version required for testing
293+
- At the **root of the project directory**: Add a new test environment entry for the package version in [tox.ini](./tox.ini) and run `tox -e generate-workflows` to regenerate new workflows accordingly. In the same [tox.ini](./tox.ini) file, search for `opentelemetry-instrumentation-{package}/test-requirements` and add a new line to point to the new test-requirements.txt you created in the previous step so tox can install the correct requirements.
294+
295+
Example PRs: [#2976](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2976), [#2845](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2845)
296+
281297
## Guideline for GenAI instrumentations
282298

283299
Instrumentations that relate to [Generative AI](https://opentelemetry.io/docs/specs/semconv/gen-ai/) systems will be placed in the [instrumentation-genai](./instrumentation-genai) folder. This section covers contributions related to those instrumentations. Please note that the [guidelines for instrumentations](#guideline-for-instrumentations) and [expectations from contributors](#expectations-from-contributors) still apply.

_template/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
__version__ = "0.50b0.dev"
15+
__version__ = "0.51b0.dev"

dev-requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ pytest-cov==4.1.0
99
pytest-vcr==1.0.2
1010
readme-renderer==42.0
1111
bleach==4.1.0 # transient dependency for readme-renderer
12-
protobuf~=3.13
1312
markupsafe>=2.0.1
1413
codespell==2.1.0
1514
requests==2.32.3

docs/nitpick-exceptions.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ py-class=
2929
httpx.SyncByteStream
3030
httpx.AsyncByteStream
3131
httpx.Response
32+
httpx.URL
33+
httpx.Headers
3234
aiohttp.web_request.Request
3335
yarl.URL
3436
cimpl.Producer

eachdist.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ sortfirst=
1616
ext/*
1717

1818
[stable]
19-
version=1.29.0.dev
19+
version=1.30.0.dev
2020

2121
packages=
2222
opentelemetry-sdk
@@ -34,7 +34,7 @@ packages=
3434
opentelemetry-api
3535

3636
[prerelease]
37-
version=0.50b0.dev
37+
version=0.51b0.dev
3838

3939
packages=
4040
all

exporter/opentelemetry-exporter-prometheus-remote-write/src/opentelemetry/exporter/prometheus_remote_write/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
__version__ = "0.50b0.dev"
15+
__version__ = "0.51b0.dev"

exporter/opentelemetry-exporter-richconsole/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ classifiers = [
2727
dependencies = [
2828
"opentelemetry-api ~= 1.12",
2929
"opentelemetry-sdk ~= 1.12",
30-
"opentelemetry-semantic-conventions == 0.50b0.dev",
30+
"opentelemetry-semantic-conventions == 0.51b0.dev",
3131
"rich>=10.0.0",
3232
]
3333

exporter/opentelemetry-exporter-richconsole/src/opentelemetry/exporter/richconsole/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
__version__ = "0.50b0.dev"
15+
__version__ = "0.51b0.dev"
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
openai~=1.54.4
1+
openai~=1.57.3
22

3-
opentelemetry-sdk~=1.28.2
4-
opentelemetry-exporter-otlp-proto-grpc~=1.28.2
3+
opentelemetry-sdk~=1.29.0
4+
opentelemetry-exporter-otlp-proto-grpc~=1.29.0
55
opentelemetry-instrumentation-openai-v2~=2.0b0

0 commit comments

Comments
 (0)