Skip to content

Commit 382176a

Browse files
authored
chore: sync upstream/main into main (#132)
2 parents 3a59162 + 83bd068 commit 382176a

File tree

172 files changed

+4948
-2042
lines changed

Some content is hidden

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

172 files changed

+4948
-2042
lines changed

.github/workflows/stale.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Mark stale PRs
2+
3+
on:
4+
schedule:
5+
- cron: "12 3 * * *"
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
stale:
13+
permissions:
14+
contents: read
15+
issues: write
16+
pull-requests: write
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f # v10.2.0
20+
with:
21+
repo-token: ${{ secrets.GITHUB_TOKEN }}
22+
days-before-pr-stale: 14
23+
days-before-pr-close: 14
24+
days-before-issue-stale: -1
25+
days-before-issue-close: -1
26+
stale-pr-message: >
27+
This PR has been automatically marked as stale because it has not had
28+
any activity for 14 days. It will be closed if no further activity
29+
occurs within 14 days of this comment.
30+
31+
If you're still working on this, please add a comment or push new commits.
32+
close-pr-message: >
33+
This PR has been closed due to inactivity. Please reopen if you would
34+
like to continue working on it.
35+
exempt-pr-labels: "hold,WIP,blocked-by-spec,do not merge"

CHANGELOG.md

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

14+
## Version 1.40.0/0.61b0 (2026-03-04)
15+
1416
### Added
1517

1618
- Add Python 3.14 support
@@ -57,8 +59,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5759
([#4141](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/4141))
5860
- `opentelemetry-instrumentation-pyramid`: pass request attributes at span creation
5961
([#4139](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/4139))
62+
- `opentelemetry-instrumentation-logging`: Move there the SDK LoggingHandler
63+
([#4210](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/4210))
64+
- Add stale PR GitHub Action
65+
([#4220](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/4220))
6066

6167
### Fixed
68+
69+
- `opentelemetry-instrumentation-flask`: Align `http.server.active_requests` initialization with semantic convention helpers to ensure consistent names, units, and descriptions.
70+
([#4094](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/4094))
71+
- `opentelemetry-instrumentation-asyncio`: Fix environment variables not appearing in Read the Docs documentation
72+
([#4256](https://github.com/open-telemetry/opentelemetry-python-contrib/issues/4256))
6273
- `opentelemetry-instrumentation-mysql`: Refactor MySQL integration test mocks to use concrete DBAPI connection attributes, reducing noisy attribute type warnings.
6374
([#4116](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/4116))
6475
- `opentelemetry-instrumentation-cassandra`: Use `_instruments_any` instead of `_instruments` for driver dependencies so that having either `cassandra-driver` or `scylla-driver` installed is sufficient
@@ -113,10 +124,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
113124
([#4078](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/4171))
114125
- `opentelemetry-instrumentation-aiohttp-server`: fix HTTP error inconsistencies
115126
([#4175](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/4175))
127+
- `opentelemetry-instrumentation-falcon`: Refactor `_handle_exception` to remove pylint disables
128+
([#4207](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/4207))
116129
- `opentelemetry-docker-tests` Fix docker-tests assumption by Postgres-Sqlalchemy case about scope of metrics
117130
([#4258](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/4258))
118131
- `opentelemetry-instrumentation-threading`: fix AttributeError when Thread is run without starting
119132
([#4246](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/4246))
133+
- `opentelemetry-instrumentation-psycopg2`: Fix AttributeError by using instrumented connections weakref, instead of mutating connection object
134+
([#4257](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/4257))
120135

121136
### Breaking changes
122137

CONTRIBUTING.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ Please also read the [OpenTelemetry Contributor Guide](https://github.com/open-t
3131
- [How to Receive Comments](#how-to-receive-comments)
3232
- [How to Get PRs Reviewed](#how-to-get-prs-reviewed)
3333
- [How to Get PRs Merged](#how-to-get-prs-merged)
34+
- [Stale PRs](#stale-prs)
3435
- [Design Choices](#design-choices)
3536
- [Focus on Capabilities, Not Structure Compliance](#focus-on-capabilities-not-structure-compliance)
3637
- [Running Tests Locally](#running-tests-locally)
@@ -241,6 +242,12 @@ A PR is considered to be **ready to merge** when:
241242

242243
Any Approver / Maintainer can merge the PR once it is **ready to merge**.
243244

245+
### Stale PRs
246+
247+
PRs with no activity for 14 days will be automatically marked as stale and closed after a further 14 days of inactivity. To prevent a PR from being marked stale, ensure there is regular activity (commits, comments, reviews, etc).
248+
249+
Project managers can also exempt a PR from this by applying one of the following labels: `hold`, `WIP`, `blocked-by-spec`, `do not merge`.
250+
244251
## Design Choices
245252

246253
As with other OpenTelemetry clients, opentelemetry-python follows the

README-upstream.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,12 @@ For more information about the maintainer role, see the [community repository](h
122122
### Approvers
123123

124124
- [Dylan Russell](https://github.com/dylanrussell), Google
125-
- [Emídio Neto](https://github.com/emdneto), PicPay
125+
- [Emídio Neto](https://github.com/emdneto), Independent
126+
- [Héctor Hernández](https://github.com/hectorhdzg), Microsoft
126127
- [Jeremy Voss](https://github.com/jeremydvoss), Microsoft
128+
- [Keith Decker](https://github.com/keith-decker), Cisco/Splunk
127129
- [Liudmila Molkova](https://github.com/lmolkova), Grafana Labs
130+
- [Lukas Hering](https://github.com/herin049), Capital One
128131
- [Owais Lone](https://github.com/owais), Splunk
129132
- [Pablo Collins](https://github.com/pmcollins), Splunk
130133
- [Sanket Mehta](https://github.com/sanketmehta28), Cisco

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

docs/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@
118118

119119
intersphinx_mapping = {
120120
"python": ("https://docs.python.org/3/", None),
121+
"psycopg": ("https://www.psycopg.org/psycopg3/docs/", None),
122+
"psycopg2": ("https://www.psycopg.org/docs/", None),
121123
"opentracing": (
122124
"https://opentracing-python.readthedocs.io/en/latest/",
123125
None,

docs/instrumentation/asyncio/asyncio.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,8 @@ OpenTelemetry asyncio Instrumentation
55
:members:
66
:undoc-members:
77
:show-inheritance:
8+
9+
.. automodule:: opentelemetry.instrumentation.asyncio.environment_variables
10+
:members:
11+
:undoc-members:
12+
:show-inheritance:

eachdist.ini

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

1818
[stable]
19-
version=1.40.0.dev
19+
version=1.41.0.dev
2020

2121
packages=
2222
opentelemetry-sdk
@@ -35,7 +35,7 @@ packages=
3535
opentelemetry-exporter-credential-provider-gcp
3636

3737
[prerelease]
38-
version=0.61b0.dev
38+
version=0.62b0.dev
3939

4040
packages=
4141
all
@@ -51,6 +51,8 @@ packages=
5151
opentelemetry-resource-detector-azure
5252
opentelemetry-sdk-extension-aws
5353
opentelemetry-propagator-aws-xray
54+
opentelemetry-instrumentation-anthropic
55+
opentelemetry-instrumentation-claude-agent-sdk
5456
opentelemetry-instrumentation-google-genai
5557
opentelemetry-instrumentation-vertexai
5658
opentelemetry-instrumentation-openai-v2

exporter/opentelemetry-exporter-credential-provider-gcp/src/opentelemetry/gcp_credential_provider/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.61b0.dev"
15+
__version__ = "0.62b0.dev"

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

0 commit comments

Comments
 (0)