Skip to content

Commit 96871bc

Browse files
authored
Merge branch 'main' into 2761-tornado-websocket
2 parents 1edb21e + 6977da3 commit 96871bc

File tree

180 files changed

+2852
-963
lines changed

Some content is hidden

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

180 files changed

+2852
-963
lines changed

.github/workflows/core_contrib_test_0.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ jobs:
158158
- name: Run tests
159159
run: tox -e py39-test-instrumentation-google-genai-latest -- -ra
160160

161-
py39-test-resource-detector-container:
162-
name: resource-detector-container
161+
py39-test-resource-detector-containerid:
162+
name: resource-detector-containerid
163163
runs-on: ubuntu-latest
164164
timeout-minutes: 30
165165
steps:
@@ -179,7 +179,7 @@ jobs:
179179
run: pip install tox-uv
180180

181181
- name: Run tests
182-
run: tox -e py39-test-resource-detector-container -- -ra
182+
run: tox -e py39-test-resource-detector-containerid -- -ra
183183

184184
py39-test-resource-detector-azure-0:
185185
name: resource-detector-azure-0

.github/workflows/lint_0.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ jobs:
8585
- name: Run tests
8686
run: tox -e lint-instrumentation-google-genai
8787

88-
lint-resource-detector-container:
89-
name: resource-detector-container
88+
lint-resource-detector-containerid:
89+
name: resource-detector-containerid
9090
runs-on: ubuntu-latest
9191
timeout-minutes: 30
9292
steps:
@@ -102,7 +102,7 @@ jobs:
102102
run: pip install tox-uv
103103

104104
- name: Run tests
105-
run: tox -e lint-resource-detector-container
105+
run: tox -e lint-resource-detector-containerid
106106

107107
lint-resource-detector-azure:
108108
name: resource-detector-azure

.github/workflows/test_0.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -636,8 +636,8 @@ jobs:
636636
- name: Run tests
637637
run: tox -e py313-test-instrumentation-google-genai-latest -- -ra
638638

639-
py39-test-resource-detector-container_ubuntu-latest:
640-
name: resource-detector-container 3.9 Ubuntu
639+
py39-test-resource-detector-containerid_ubuntu-latest:
640+
name: resource-detector-containerid 3.9 Ubuntu
641641
runs-on: ubuntu-latest
642642
timeout-minutes: 30
643643
steps:
@@ -653,10 +653,10 @@ jobs:
653653
run: pip install tox-uv
654654

655655
- name: Run tests
656-
run: tox -e py39-test-resource-detector-container -- -ra
656+
run: tox -e py39-test-resource-detector-containerid -- -ra
657657

658-
py310-test-resource-detector-container_ubuntu-latest:
659-
name: resource-detector-container 3.10 Ubuntu
658+
py310-test-resource-detector-containerid_ubuntu-latest:
659+
name: resource-detector-containerid 3.10 Ubuntu
660660
runs-on: ubuntu-latest
661661
timeout-minutes: 30
662662
steps:
@@ -672,10 +672,10 @@ jobs:
672672
run: pip install tox-uv
673673

674674
- name: Run tests
675-
run: tox -e py310-test-resource-detector-container -- -ra
675+
run: tox -e py310-test-resource-detector-containerid -- -ra
676676

677-
py311-test-resource-detector-container_ubuntu-latest:
678-
name: resource-detector-container 3.11 Ubuntu
677+
py311-test-resource-detector-containerid_ubuntu-latest:
678+
name: resource-detector-containerid 3.11 Ubuntu
679679
runs-on: ubuntu-latest
680680
timeout-minutes: 30
681681
steps:
@@ -691,10 +691,10 @@ jobs:
691691
run: pip install tox-uv
692692

693693
- name: Run tests
694-
run: tox -e py311-test-resource-detector-container -- -ra
694+
run: tox -e py311-test-resource-detector-containerid -- -ra
695695

696-
py312-test-resource-detector-container_ubuntu-latest:
697-
name: resource-detector-container 3.12 Ubuntu
696+
py312-test-resource-detector-containerid_ubuntu-latest:
697+
name: resource-detector-containerid 3.12 Ubuntu
698698
runs-on: ubuntu-latest
699699
timeout-minutes: 30
700700
steps:
@@ -710,10 +710,10 @@ jobs:
710710
run: pip install tox-uv
711711

712712
- name: Run tests
713-
run: tox -e py312-test-resource-detector-container -- -ra
713+
run: tox -e py312-test-resource-detector-containerid -- -ra
714714

715-
py313-test-resource-detector-container_ubuntu-latest:
716-
name: resource-detector-container 3.13 Ubuntu
715+
py313-test-resource-detector-containerid_ubuntu-latest:
716+
name: resource-detector-containerid 3.13 Ubuntu
717717
runs-on: ubuntu-latest
718718
timeout-minutes: 30
719719
steps:
@@ -729,10 +729,10 @@ jobs:
729729
run: pip install tox-uv
730730

731731
- name: Run tests
732-
run: tox -e py313-test-resource-detector-container -- -ra
732+
run: tox -e py313-test-resource-detector-containerid -- -ra
733733

734-
pypy3-test-resource-detector-container_ubuntu-latest:
735-
name: resource-detector-container pypy-3.9 Ubuntu
734+
pypy3-test-resource-detector-containerid_ubuntu-latest:
735+
name: resource-detector-containerid pypy-3.9 Ubuntu
736736
runs-on: ubuntu-latest
737737
timeout-minutes: 30
738738
steps:
@@ -748,7 +748,7 @@ jobs:
748748
run: pip install tox-uv
749749

750750
- name: Run tests
751-
run: tox -e pypy3-test-resource-detector-container -- -ra
751+
run: tox -e pypy3-test-resource-detector-containerid -- -ra
752752

753753
py39-test-resource-detector-azure-0_ubuntu-latest:
754754
name: resource-detector-azure-0 3.9 Ubuntu

CHANGELOG.md

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

1414
### Fixed
1515

16+
- `opentelemetry-resource-detector-containerid`: make it more quiet on platforms without cgroups
17+
([#3579](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3579))
18+
19+
## Version 1.34.0/0.55b0 (2025-06-04)
20+
21+
### Fixed
22+
1623
- `opentelemetry-instrumentation-system-metrics`: fix loading on Google Cloud Run
1724
([#3533](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3533))
1825
- `opentelemetry-instrumentation-fastapi`: fix wrapping of middlewares
1926
([#3012](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3012))
2027
- `opentelemetry-instrumentation-starlette` Remove max version constraint on starlette
2128
([#3456](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3456))
29+
- `opentelemetry-instrumentation-starlette` Fix memory leak and double middleware
30+
([#3529](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3529))
2231
- `opentelemetry-instrumentation-urllib3`: proper bucket boundaries in stable semconv http duration metrics
2332
([#3518](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3518))
2433
- `opentelemetry-instrumentation-urllib`: proper bucket boundaries in stable semconv http duration metrics
@@ -37,20 +46,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3746
([#3520](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3520))
3847
- `opentelemetry-instrumentation-botocore` Ensure spans end on early stream closure for Bedrock Streaming APIs
3948
([#3481](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3481))
49+
- `opentelemetry-instrumentation-sqlalchemy` Respect suppress_instrumentation functionality
50+
([#3477](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3477))
51+
- `opentelemetry-instrumentation-botocore`: fix handling of tool input in Bedrock ConverseStream
52+
([#3544](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3544))
4053
- `opentelemetry-instrumentation-botocore` Add type check when extracting tool use from Bedrock request message content
4154
([#3548](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3548))
55+
- `opentelemetry-instrumentation-dbapi` Respect suppress_instrumentation functionality ([#3460](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3460))
56+
- `opentelemetry-resource-detector-container` Correctly parse container id when using systemd and cgroupsv1
57+
([#3429](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3429))
4258

4359
### Breaking changes
4460

4561
- `opentelemetry-instrumentation-botocore` Use `cloud.region` instead of `aws.region` span attribute as per semantic conventions.
4662
([#3474](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3474))
4763
- `opentelemetry-instrumentation-fastapi`: Drop support for FastAPI versions earlier than `0.92`
4864
([#3012](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3012))
65+
- `opentelemetry-resource-detector-container`: rename package name to `opentelemetry-resource-detector-containerid`
66+
([#3536](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3536))
4967

5068
### Added
69+
5170
- `opentelemetry-instrumentation-aiohttp-client` Add support for HTTP metrics
5271
([#3517](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3517))
53-
72+
- `opentelemetry-instrumentation-httpx` Add support for HTTP metrics
73+
([#3513](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3513))
74+
- `opentelemetry-instrumentation` Allow re-raising exception when instrumentation fails
75+
([#3545](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3545))
76+
- `opentelemetry-instrumentation-aiokafka` Add instrumentation of `consumer.getmany` (batch)
77+
([#3257](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3257))
78+
5479
### Deprecated
5580

5681
- Drop support for Python 3.8, bump baseline to Python 3.9.

README.md

Lines changed: 25 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,16 @@ We meet weekly on Thursday at 9AM PT. The meeting is subject to change depending
111111

112112
Meeting notes are available as a public [Google doc](https://docs.google.com/document/d/1CIMGoIOZ-c3-igzbd6_Pnxx1SjAkjwqoYSUWxPY8XIs/edit). For edit access, get in touch on [GitHub Discussions](https://github.com/open-telemetry/opentelemetry-python/discussions).
113113

114-
Approvers ([@open-telemetry/python-approvers](https://github.com/orgs/open-telemetry/teams/python-approvers)):
114+
### Maintainers
115+
116+
- [Aaron Abbott](https://github.com/aabmass), Google
117+
- [Leighton Chen](https://github.com/lzchen), Microsoft
118+
- [Riccardo Magliocchetti](https://github.com/xrmx), Elastic
119+
- [Shalev Roda](https://github.com/shalevr), Cisco
120+
121+
For more information about the maintainer role, see the [community repository](https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md#maintainer).
122+
123+
### Approvers
115124

116125
- [Emídio Neto](https://github.com/emdneto), PicPay
117126
- [Jeremy Voss](https://github.com/jeremydvoss), Microsoft
@@ -121,34 +130,29 @@ Approvers ([@open-telemetry/python-approvers](https://github.com/orgs/open-telem
121130
- [Srikanth Chekuri](https://github.com/srikanthccv), signoz.io
122131
- [Tammy Baylis](https://github.com/tammy-baylis-swi), SolarWinds
123132

124-
Emeritus Approvers:
125-
126-
- [Ashutosh Goel](https://github.com/ashu658), Cisco
127-
- [Héctor Hernández](https://github.com/hectorhdzg), Microsoft
128-
- [Nikolay Sokolik](https://github.com/oxeye-nikolay), Oxeye
129-
- [Nikolay Sokolik](https://github.com/nikosokolik), Oxeye
130-
- [Nathaniel Ruiz Nowell](https://github.com/NathanielRN), AWS
131-
132-
*Find more about the approver role in [community repository](https://github.com/open-telemetry/community/blob/main/community-membership.md#approver).*
133+
For more information about the approver role, see the [community repository](https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md#approver).
133134

134-
Maintainers ([@open-telemetry/python-maintainers](https://github.com/orgs/open-telemetry/teams/python-maintainers)):
135-
136-
- [Aaron Abbott](https://github.com/aabmass), Google
137-
- [Leighton Chen](https://github.com/lzchen), Microsoft
138-
- [Riccardo Magliocchetti](https://github.com/xrmx), Elastic
139-
- [Shalev Roda](https://github.com/shalevr), Cisco
140-
141-
Emeritus Maintainers:
135+
### Emeritus Maintainers
142136

143137
- [Alex Boten](https://github.com/codeboten), Lightstep
144138
- [Diego Hurtado](https://github.com/ocelotl), Lightstep
145139
- [Owais Lone](https://github.com/owais), Splunk
146140
- [Yusuke Tsutsumi](https://github.com/toumorokoshi), Google
147141

148-
*Find more about the maintainer role in [community repository](https://github.com/open-telemetry/community/blob/main/community-membership.md#maintainer).*
142+
For more information about the emeritus role, see the [community repository](https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md#emeritus-maintainerapprovertriager).
143+
144+
### Emeritus Approvers
145+
146+
- [Ashutosh Goel](https://github.com/ashu658), Cisco
147+
- [Héctor Hernández](https://github.com/hectorhdzg), Microsoft
148+
- [Nikolay Sokolik](https://github.com/oxeye-nikolay), Oxeye
149+
- [Nikolay Sokolik](https://github.com/nikosokolik), Oxeye
150+
- [Nathaniel Ruiz Nowell](https://github.com/NathanielRN), AWS
151+
152+
For more information about the emeritus role, see the [community repository](https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md#emeritus-maintainerapprovertriager).
149153

150-
### Thanks to all the people who already contributed
154+
### Thanks to all of our contributors!
151155

152156
<a href="https://github.com/open-telemetry/opentelemetry-python-contrib/graphs/contributors">
153-
<img src="https://contributors-img.web.app/image?repo=open-telemetry/opentelemetry-python-contrib" />
157+
<img alt="Repo contributors" src="https://contrib.rocks/image?repo=open-telemetry/opentelemetry-python-contrib" />
154158
</a>

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

docs/conf.py

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

128128
# http://www.sphinx-doc.org/en/master/config.html#confval-nitpicky

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ install <https://pip.pypa.io/en/stable/reference/pip_install/#editable-installs>
5252
pip install -e ./instrumentation/opentelemetry-instrumentation-botocore
5353
pip install -e ./instrumentation-genai/opentelemetry-instrumentation-openai-v2
5454
pip install -e ./sdk-extension/opentelemetry-sdk-extension-aws
55-
pip install -e ./resource/opentelemetry-resource-detector-container
55+
pip install -e ./resource/opentelemetry-resource-detector-containerid
5656
5757
5858
.. toctree::
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
OpenTelemetry Python - Resource Detector for Containers
22
=======================================================
33

4-
.. automodule:: opentelemetry.resource.detector.container
4+
.. automodule:: opentelemetry.resource.detector.containerid
55
:members:
66
:undoc-members:
77
:show-inheritance:

eachdist.ini

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

1818
[stable]
19-
version=1.34.0.dev
19+
version=1.35.0.dev
2020

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

3636
[prerelease]
37-
version=0.55b0.dev
37+
version=0.56b0.dev
3838

3939
packages=
4040
all
@@ -43,7 +43,7 @@ packages=
4343
opentelemetry-instrumentation
4444
opentelemetry-contrib-instrumentations
4545
opentelemetry-distro
46-
opentelemetry-resource-detector-container
46+
opentelemetry-resource-detector-containerid
4747

4848
[exclude_release]
4949
packages=

0 commit comments

Comments
 (0)