Skip to content

Commit 4baec16

Browse files
authored
Merge branch 'main' into add-aiokafka-batch
2 parents af2927e + 4d6893e commit 4baec16

File tree

155 files changed

+2382
-863
lines changed

Some content is hidden

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

155 files changed

+2382
-863
lines changed

CHANGELOG.md

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

1919
### Fixed
2020

21+
- `opentelemetry-instrumentation-fastapi`: fix wrapping of middlewares
22+
([#3012](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3012))
23+
24+
### Breaking changes
25+
26+
- `opentelemetry-instrumentation-botocore` Use `cloud.region` instead of `aws.region` span attribute as per semantic conventions.
27+
([#3474](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3474))
28+
- `opentelemetry-instrumentation-fastapi`: Drop support for FastAPI versions earlier than `0.92`
29+
([#3012](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3012))
30+
31+
## Version 1.33.0/0.54b0 (2025-05-09)
32+
33+
### Added
34+
35+
- `opentelemetry-instrumentation-requests` Support explicit_bucket_boundaries_advisory in duration metrics
36+
([#3464](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3464))
37+
- `opentelemetry-instrumentation-redis` Add support for redis client-specific instrumentation.
38+
([#3143](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3143))
39+
40+
### Fixed
41+
2142
- `opentelemetry-instrumentation` Catch `ModuleNotFoundError` when the library is not installed
2243
and log as debug instead of exception
2344
([#3423](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3423))
@@ -34,6 +55,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3455
- `opentelemetry-instrumentation-botocore` Capture server attributes for botocore API calls
3556
([#3448](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3448))
3657

58+
3759
## Version 1.32.0/0.53b0 (2025-04-10)
3860

3961
### Added

RELEASING.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
(otherwise the workflow will pick up the version from `main` and just remove the `.dev` suffix).
1010
* Review the two pull requests that it creates.
1111
(one is targeted to the release branch and one is targeted to `main`).
12-
* The builds will fail for both the `main` and release pr because of validation rules. Follow the [release workflow](https://github.com/open-telemetry/opentelemetry-python/blob/main/RELEASING.md) for the core repo up until this same point. Change the SHAs of each PR to point at each other to get the `main` and release builds to pass.
12+
* The builds will fail for the release PR because of validation rules. Follow the [release workflow](https://github.com/open-telemetry/opentelemetry-python/blob/main/RELEASING.md) for the core repo up until this same point.
13+
* Close and reopen the PR so that the workflow will take into account the label automation we have in place
1314
* Merge the release PR.
1415
* Merge the PR to main (this can be done separately from [making the release](#making-the-release))
1516

_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.54b0.dev"
15+
__version__ = "0.55b0.dev"

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@
122122
"https://opentelemetry-python.readthedocs.io/en/latest/",
123123
None,
124124
),
125+
"redis": ("https://redis-py.readthedocs.io/en/latest/", None),
125126
}
126127

127128
# http://www.sphinx-doc.org/en/master/config.html#confval-nitpicky
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
OpenTelemetry Redis Instrumentation
2-
===================================
1+
.. include:: ../../../instrumentation/opentelemetry-instrumentation-redis/README.rst
2+
:end-before: References
3+
4+
Usage
5+
-----
36

47
.. automodule:: opentelemetry.instrumentation.redis
58
:members:
69
:undoc-members:
7-
:show-inheritance:
10+
:show-inheritance:

docs/nitpick-exceptions.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ py-class=
4444
psycopg.Connection
4545
psycopg.AsyncConnection
4646
ObjectProxy
47+
fastapi.applications.FastAPI
4748

4849
any=
4950
; API

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.33.0.dev
19+
version=1.34.0.dev
2020

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

3636
[prerelease]
37-
version=0.54b0.dev
37+
version=0.55b0.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.54b0.dev"
15+
__version__ = "0.55b0.dev"

exporter/opentelemetry-exporter-prometheus-remote-write/test-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ asgiref==3.8.1
22
certifi==2024.7.4
33
charset-normalizer==3.3.2
44
# We can drop this after bumping baseline to pypy-39
5-
cramjam==2.1.0; platform_python_implementation == "PyPy"
5+
cramjam==2.8.0; platform_python_implementation == "PyPy"
66
cramjam==2.8.4; platform_python_implementation != "PyPy"
77
Deprecated==1.2.14
88
idna==3.7

exporter/opentelemetry-exporter-prometheus-remote-write/tests/test_prometheus_remote_write_exporter.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# limitations under the License.
1414

1515
import unittest
16+
from platform import python_implementation
1617
from unittest.mock import patch
1718

1819
import pytest
@@ -282,6 +283,10 @@ def test_invalid_tls_config_key_only_param(self):
282283
)
283284

284285

286+
@pytest.mark.skipif(
287+
python_implementation() == "PyPy",
288+
reason="Fails with pypy 3.8, bump cramjam when 3.9 is baseline",
289+
)
285290
# Ensures export is successful with valid export_records and config
286291
@patch("requests.post")
287292
def test_valid_export(mock_post, prom_rw, metric):

0 commit comments

Comments
 (0)