Skip to content

Commit daab344

Browse files
authored
Merge branch 'main' into asyncpg-snippet
2 parents 6e922e6 + 139d787 commit daab344

File tree

159 files changed

+2086
-653
lines changed

Some content is hidden

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

159 files changed

+2086
-653
lines changed

CHANGELOG.md

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

14+
### Fixed
15+
16+
- `opentelemetry-instrumentation` Fix client address is set to server address in new semconv
17+
([#3354](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3354))
18+
19+
## Version 1.31.0/0.52b0 (2025-03-12)
20+
1421
### Added
1522

1623
- `opentelemetry-instrumentation-openai-v2` Update doc for OpenAI Instrumentation to support OpenAI Compatible Platforms
@@ -34,13 +41,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3441
- Loosen `opentelemetry-instrumentation-starlette[instruments]` specifier
3542
([#3304](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3304))
3643

37-
3844
### Fixed
3945

4046
- `opentelemetry-instrumentation-redis` Add missing entry in doc string for `def _instrument`
4147
([#3247](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3247))
48+
- `opentelemetry-instrumentation-botocore` sns-extension: Change destination name attribute
49+
to match topic ARN and redact phone number from attributes
50+
([#3249](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3249))
4251
- `opentelemetry-instrumentation-asyncpg` Fix fallback for empty queries.
4352
([#3253](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3253))
53+
- `opentelemetry-instrumentation` Fix a traceback in sqlcommenter when psycopg connection pooling is enabled.
54+
([#3309](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3309))
4455
- `opentelemetry-instrumentation-threading` Fix broken context typehints
4556
([#3322](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3322))
4657
- `opentelemetry-instrumentation-requests` always record span status code in duration metric
@@ -105,7 +116,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
105116
### Breaking changes
106117

107118
- `opentelemetry-exporter-prometheus-remote-write` updated protobuf required version from 4.21 to 5.26 and regenerated protobufs
108-
([#3219](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3219))
119+
([#3219](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3219))
109120
- `opentelemetry-instrumentation-sqlalchemy` including sqlcomment in `db.statement` span attribute value is now opt-in
110121
([#3112](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3112))
111122
- `opentelemetry-instrumentation-dbapi` including sqlcomment in `db.statement` span attribute value is now opt-in

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

dev-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
pylint==3.0.2
22
httpretty==1.1.4
3-
pyright==v1.1.390
3+
pyright==v1.1.396
44
sphinx==7.1.2
55
sphinx-rtd-theme==2.0.0rc4
66
sphinx-autodoc-typehints==1.25.2

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.31.0.dev
19+
version=1.32.0.dev
2020

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

3636
[prerelease]
37-
version=0.52b0.dev
37+
version=0.53b0.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.52b0.dev"
15+
__version__ = "0.53b0.dev"

exporter/opentelemetry-exporter-richconsole/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ classifiers = [
2828
dependencies = [
2929
"opentelemetry-api ~= 1.12",
3030
"opentelemetry-sdk ~= 1.12",
31-
"opentelemetry-semantic-conventions == 0.52b0.dev",
31+
"opentelemetry-semantic-conventions == 0.53b0.dev",
3232
"rich>=10.0.0",
3333
]
3434

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.52b0.dev"
15+
__version__ = "0.53b0.dev"

instrumentation-genai/opentelemetry-instrumentation-google-genai/CHANGELOG.md

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

88
## Unreleased
99

10+
- Restructure tests to keep in line with repository conventions ([#3344](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3344))
11+
1012
## Version 0.1b0 (2025-03-05)
1113

1214
- Add support for async and streaming.

instrumentation-genai/opentelemetry-instrumentation-google-genai/TODOS.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ Here are some TODO items required to achieve stability for this package:
1313
- Additional cleanup/improvement tasks such as:
1414
- Adoption of 'wrapt' instead of 'functools.wraps'
1515
- Bolstering test coverage
16-
- Migrate tests to use VCR.py
1716

1817
## Future
1918

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Copyright The OpenTelemetry Authors
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
import google.auth.credentials
16+
17+
18+
class FakeCredentials(google.auth.credentials.AnonymousCredentials):
19+
def refresh(self, request):
20+
pass

0 commit comments

Comments
 (0)