Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
eb013ca
Backport 1.45.1/0.66b1 changelog (#5143)
otelbot[bot] Oct 6, 2026
fb9b22e
exceptions: Update opentelemetry-api dependency version specifier (#5…
emdneto Oct 6, 2026
8cbe9ab
fix(falcon,tornado): use the semconv unit {request} for `http.server.…
RichardoMrMu Oct 6, 2026
886ae86
opentelemetry-instrumentation-wsgi: expose captured request headers t…
ghdtjdwn Oct 7, 2026
5bca992
opamp: bump supported protobuf to < 8 as the exporters (#5151)
xrmx Oct 7, 2026
d3f80bc
Update opentelemetry-opamp-client version to v0.5b0 (#5153)
otelbot[bot] Oct 7, 2026
130f67e
prometheus-remote-write: fix inverted insecure_skip_verify TLS option…
subham-hq Oct 7, 2026
15b42bb
opentelemetry-instrumentation-sqlalchemy: stop appending the database…
henry3260 Oct 8, 2026
fba0b77
Capture headers before sampling in django instrumentation (#5073)
anuraaga Oct 8, 2026
bdd6343
opentelemetry-instrumentation-logging: switch from using InMemoryLogE…
herin049 Oct 8, 2026
77dd2d0
pull_request_template: simplify by removing some not so used sections…
xrmx Oct 9, 2026
a953ae2
Add baggage propagation tests for Flask and WSGI instrumentations (#4…
jojinkb Oct 12, 2026
aa5fba1
fix(aiopg): honor instrumentation suppression (#5175)
pmcollins Oct 13, 2026
063a5a1
opentelemetry-instrumentation-tornado: sanitize captured headers and …
ghdtjdwn Oct 14, 2026
c247471
opentelemetry-instrumentation-threading: apply functools.wraps to the…
henry3260 Oct 14, 2026
144b03a
aws-lambda: Mark HTTP server error responses as span errors (#5082)
miruky Oct 14, 2026
5e23f93
opentelemetry-instrumentation-sqlalchemy: Support SQLAlchemy 2.1 and …
herin049 Oct 14, 2026
b6ec9d7
Capture headers before sampling in aiohttp-server instrumentation (#5…
anuraaga Oct 15, 2026
8a28139
misc: update CI to only run tests with oldest and latest CPython vers…
herin049 Oct 15, 2026
5d579d2
Capture headers before sampling in falcon instrumentation (#5160)
anuraaga Oct 16, 2026
71a5c2c
Capture headers before sampling in flask instrumentation (#5161)
anuraaga Oct 16, 2026
5749970
Capture headers before sampling in pyramid instrumentation (#5162)
anuraaga Oct 16, 2026
d46763f
Capture headers before sampling in tornado instrumentation (#5163)
anuraaga Oct 16, 2026
1e2d644
fix(dbapi): avoid IndexError in get_operation_name for comment/whites…
Atishyy27 Oct 16, 2026
4c01267
Capture headers before sampling in ASGI instrumentation (#5158)
anuraaga Oct 16, 2026
20f8baa
fix(boto3sqs): pass delete_message_batch without Entries to botocore …
chrikrah Oct 16, 2026
de43f81
fix(sdk-extension-aws): report Lambda faas.max_memory in bytes (#5141)
agosmou Oct 16, 2026
dc02717
build(deps): bump certifi from 2026.6.17 to 2026.10.19 (#5197)
dependabot[bot] Oct 22, 2026
1b785bb
sqlalchemy: modernize db.client.connection.count metric (#5063)
ahmed5145 Oct 22, 2026
824c8d0
opentelemetry-instrumentation: expose BaseInstrumentor and BaseDistro…
federicobond Oct 22, 2026
33a6c45
Bump certifi to latest (#5205)
xrmx Oct 23, 2026
b8f6f5b
fix(celery): normalize Kombu routing span attributes (#5105)
EM-Tim Oct 23, 2026
f2fc9d1
fix(tortoiseorm): avoid IndexError in _do_execute for empty/whitespac…
JoeyPatricio Oct 23, 2026
52c4104
opamp-client: vendor a backported uuidv7 implementation from CPython …
xrmx Oct 25, 2026
0648e98
Pin vcrpy in the botocore test requirements (#5225)
ocelotl Oct 25, 2026
ae7865b
ci: skip the changelog check for dependabot (#5227)
ocelotl Oct 26, 2026
d72d6d4
docs: update RELEASING.md to reserve new package names via PyPI UI (#…
aabmass Oct 26, 2026
21ea6c4
fix: make _instruments match the instruments extra in botocore and to…
ocelotl Oct 26, 2026
282271d
Update opentelemetry-opamp-client version to v0.6b0 (#5239)
otelbot[bot] Oct 26, 2026
5b37ae6
`opentelemetry-instrumentation-dbapi`: emit database metrics by defau…
emdneto Oct 26, 2026
335482b
refactor(instrumentation): batch span attribute updates (#5156)
emdneto Oct 26, 2026
c0a236f
opamp-client: assign sequence numbers and instance UID at send time (…
strawgate Oct 26, 2026
0f2b1a7
fix(celery): populate origin and hostname as distinct span attributes…
ahmed5145 Oct 26, 2026
3e87daa
celery: wait for the recorded metric instead of result.ready() in the…
henry3260 Oct 26, 2026
4ae524e
opentelemetry-instrumentation-asgi: set error.type when the applicati…
chrikrah Oct 26, 2026
29245bb
chore: Move inactive members to emeritus (#5131)
opentelemetrybot Oct 26, 2026
d69e38c
fix(logging): stop duplicating injected trace context in log attribut…
RichardoMrMu Oct 26, 2026
0715515
fix(asyncpg): accept query arguments passed by keyword (#5088)
git-jxj Oct 27, 2026
2fbb8a5
Add patchgen generator and runtime patching support
aabmass Oct 1, 2026
d225d0f
Migrate urllib3 instrumentation to patchgen
aabmass Oct 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .changelog/4827.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-instrumentation-celery`: `celery.hostname` on worker spans now reports the executing worker instead of being overwritten by the message `origin`; the publisher's nodename is emitted separately as `celery.origin`
1 change: 1 addition & 0 deletions .changelog/4934.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-instrumentation-dbapi`: avoid `IndexError` in `get_operation_name` for comment-only or whitespace-only statements
1 change: 1 addition & 0 deletions .changelog/5011.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-instrumentation-threading`: keep submitted callable metadata in `submit`
1 change: 1 addition & 0 deletions .changelog/5016.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-instrumentation-celery`: fix flaky metrics tests and restore PyPy test coverage
1 change: 1 addition & 0 deletions .changelog/5031.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-instrumentation-asgi`: set `error.type` on an uncaught exception
1 change: 1 addition & 0 deletions .changelog/5032.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-instrumentation-wsgi`: make captured request headers available to samplers
1 change: 1 addition & 0 deletions .changelog/5043.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-instrumentation-sqlalchemy`: do not append the database name to `db.operation.name` and `db.operation`; the span name keeps the `<operation> <target>` form
1 change: 1 addition & 0 deletions .changelog/5063.changed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[BREAKING] `opentelemetry-instrumentation-sqlalchemy`: emit `db.client.connection.count`, replacing the deprecated `db.client.connections.usage` metric
1 change: 1 addition & 0 deletions .changelog/5065.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-instrumentation-tortoiseorm`: avoid `IndexError` in `_do_execute` for empty or whitespace-only statements and strip a leading `/* ... */` comment from the span name
1 change: 1 addition & 0 deletions .changelog/5073.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-instrumentation-django`: make captured request headers available to samplers
1 change: 1 addition & 0 deletions .changelog/5077.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-instrumentation-logging`: stop exporting the injected `otelSpanID`, `otelTraceID`, `otelTraceSampled` and `otelServiceName` attributes on emitted log records, where the trace context is already carried by the `trace_id`, `span_id` and `trace_flags` fields
1 change: 1 addition & 0 deletions .changelog/5082.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-instrumentation-aws-lambda`: mark HTTP 5xx responses as errors
1 change: 1 addition & 0 deletions .changelog/5088.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-instrumentation-asyncpg`: support queries passed by keyword
1 change: 1 addition & 0 deletions .changelog/5105.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-instrumentation-celery`: normalize Kombu routing objects in span attributes
1 change: 1 addition & 0 deletions .changelog/5120.changed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-instrumentation-sqlalchemy`: Support SQLAlchemy 2.1 and drop support for SQLAlchemy < 1.4.3
1 change: 1 addition & 0 deletions .changelog/5125.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-instrumentation-falcon`,`opentelemetry-instrumentation-tornado`: use the semconv unit `{request}` for `http.server.active_requests`
1 change: 1 addition & 0 deletions .changelog/5133.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-instrumentation-logging`: switch from using `InMemoryLogExporter` to `InMemoryLogRecordExporter` in tests
1 change: 1 addition & 0 deletions .changelog/5134.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-exporter-prometheus-remote-write`: fix inverted `insecure_skip_verify` TLS option; `True` now skips certificate verification
1 change: 1 addition & 0 deletions .changelog/5156.changed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-instrumentation-asgi`, `opentelemetry-instrumentation-dbapi`, `opentelemetry-instrumentation-django`, `opentelemetry-instrumentation-falcon`, `opentelemetry-instrumentation-flask`, `opentelemetry-instrumentation-httpx`, `opentelemetry-instrumentation-redis`, `opentelemetry-instrumentation-requests`, `opentelemetry-instrumentation-sqlalchemy`, `opentelemetry-instrumentation-tornado`, `opentelemetry-instrumentation-tortoiseorm`: batch span attribute updates
1 change: 1 addition & 0 deletions .changelog/5157.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-instrumentation-dbapi`: emit database metrics by default with schema 1.33.0
1 change: 1 addition & 0 deletions .changelog/5158.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-instrumentation-asgi`: make captured request headers available to samplers
1 change: 1 addition & 0 deletions .changelog/5159.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-instrumentation-aiohttp-server`: make captured request headers available to samplers
1 change: 1 addition & 0 deletions .changelog/5160.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-instrumentation-falcon`: make captured request headers available to samplers
1 change: 1 addition & 0 deletions .changelog/5161.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-instrumentation-flask`: make captured request headers available to samplers
1 change: 1 addition & 0 deletions .changelog/5162.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-instrumentation-pyramid`: make captured request headers available to samplers
1 change: 1 addition & 0 deletions .changelog/5163.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-instrumentation-tornado`: make captured request headers available to samplers
1 change: 1 addition & 0 deletions .changelog/5169.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-instrumentation-boto3sqs`: let `delete_message_batch` without `Entries` raise botocore's `ParamValidationError` instead of a `TypeError`
1 change: 1 addition & 0 deletions .changelog/5170.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-instrumentation-tornado`: sanitize captured headers and match header names with regexes
1 change: 1 addition & 0 deletions .changelog/5175.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-instrumentation-aiopg`: honor instrumentation suppression for database spans and metrics
1 change: 1 addition & 0 deletions .changelog/5201.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-instrumentation`: make `BaseInstrumentor` and `BaseDistro` visible to type checkers
1 change: 1 addition & 0 deletions .changelog/5232.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-instrumentation-tortoiseorm`: declare `pydantic >= 1.10.2` in `_instruments` so the dependency conflict check verifies it
23 changes: 7 additions & 16 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)
Fixes #(issue number)

## Type of change

Expand All @@ -13,22 +13,13 @@ Please delete options that are not relevant.
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update

# How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

- [ ] Test A

# Does This PR Require a Core Repo Change?

- [ ] Yes. - Link to PR:
- [ ] No.

# Checklist:

See [contributing.md](https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/CONTRIBUTING.md) for styleguide, changelog guidelines, and more.

- [ ] Followed the style guidelines of this project
- [ ] Changelogs have been updated
- [ ] Unit tests have been added
- [ ] Documentation has been updated
- [ ] I am a human and not a bot
- [ ] I have run `tox -e precommit`
- [ ] I have run `tox -e typecheck`
- [ ] I have run the relevant tests and linting tox environments
- [ ] This requires the following PR in core:

1 change: 1 addition & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
github.event_name != 'merge_group' &&
!contains(github.event.pull_request.labels.*.name, 'Skip Changelog')
&& github.actor != 'otelbot[bot]'
&& github.actor != 'dependabot[bot]'

steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/core_contrib_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2747,8 +2747,8 @@ jobs:
- name: Run tests
run: tox -e py310-test-instrumentation-grpc-1-wrapt2 -- -ra

py310-test-instrumentation-sqlalchemy-1:
name: instrumentation-sqlalchemy-1
py310-test-instrumentation-sqlalchemy-oldest:
name: instrumentation-sqlalchemy-oldest
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
Expand Down Expand Up @@ -2777,10 +2777,10 @@ jobs:
run: pip install tox-uv

- name: Run tests
run: tox -e py310-test-instrumentation-sqlalchemy-1 -- -ra
run: tox -e py310-test-instrumentation-sqlalchemy-oldest -- -ra

py310-test-instrumentation-sqlalchemy-2:
name: instrumentation-sqlalchemy-2
py310-test-instrumentation-sqlalchemy-latest:
name: instrumentation-sqlalchemy-latest
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
Expand Down Expand Up @@ -2809,7 +2809,7 @@ jobs:
run: pip install tox-uv

- name: Run tests
run: tox -e py310-test-instrumentation-sqlalchemy-2 -- -ra
run: tox -e py310-test-instrumentation-sqlalchemy-latest -- -ra

py310-test-instrumentation-redis:
name: instrumentation-redis
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,36 @@ def get_tox_envs(tox_ini_path: Path) -> list:
return core_config_set.load("env_list")


def _get_pr_tox_envs(tox_envs: list) -> set:
"""Return the test envs that run on pull requests.

For each test variant (the tox env without its Python factor), only PyPy
and the oldest and newest CPython versions run on pull requests. The
remaining CPython versions only run in the merge queue.
"""
variant_tox_envs = defaultdict(list)
pr_tox_envs = set()

for tox_env in tox_envs:
tox_test_env_match = _tox_test_env_regex.match(tox_env)
if tox_test_env_match is None:
continue

python_version = tox_test_env_match.group("python_version")
if python_version == "pypy3":
pr_tox_envs.add(tox_env)
continue

variant = tox_env.split("-", 1)[1]
variant_tox_envs[variant].append((int(python_version[2:]), tox_env))

for versioned_tox_envs in variant_tox_envs.values():
pr_tox_envs.add(min(versioned_tox_envs)[1])
pr_tox_envs.add(max(versioned_tox_envs)[1])

return pr_tox_envs


def get_test_job_datas(tox_envs: list, operating_systems: list) -> list:
os_alias = {"ubuntu-latest": "Ubuntu", "windows-latest": "Windows"}

Expand All @@ -51,6 +81,8 @@ def get_test_job_datas(tox_envs: list, operating_systems: list) -> list:
"py314": "3.14",
}

pr_tox_envs = _get_pr_tox_envs(tox_envs)

test_job_datas = []

for operating_system in operating_systems:
Expand Down Expand Up @@ -82,6 +114,7 @@ def get_test_job_datas(tox_envs: list, operating_systems: list) -> list:
"python_version": aliased_python_version,
"tox_env": tox_env,
"os": operating_system,
"run_on_pr": tox_env in pr_tox_envs,
}
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ jobs:
{{ job_data.name }}:
name: {{ job_data.ui_name }}
runs-on: {{ job_data.os }}
{%- if not job_data.run_on_pr %}
if: {% raw %}${{ github.event_name != 'pull_request' }}{% endraw %}
{%- endif %}
timeout-minutes: 30
steps:
- name: Checkout repo @ SHA - ${% raw %}{{ github.sha }}{% endraw %}
Expand Down
Loading
Loading