Skip to content

Commit 7a4c3cd

Browse files
authored
Merge branch 'main' into antonpirker/run-tests-in-python-313
2 parents b4683b5 + 68b20f9 commit 7a4c3cd

File tree

148 files changed

+2148
-568
lines changed

Some content is hidden

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

148 files changed

+2148
-568
lines changed

.github/workflows/instrumentations_0.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- 'release/*'
77
pull_request:
88
env:
9-
CORE_REPO_SHA: 141a6a2e473ef7f0ec4915dfb71e3c0fa595283e
9+
CORE_REPO_SHA: f31903a03721ce90c338be33131222d4cba37325
1010

1111
jobs:
1212
instrumentations-0:
@@ -116,6 +116,6 @@ jobs:
116116
path: |
117117
.tox
118118
~/.cache/pip
119-
key: v7-build-tox-cache-${{ env.RUN_MATRIX_COMBINATION }}-${{ hashFiles('tox.ini', 'gen-requirements.txt', 'dev-requirements.txt') }}
119+
key: v7-build-tox-cache-${{ env.RUN_MATRIX_COMBINATION }}-${{ hashFiles('gen-requirements.txt', 'dev-requirements.txt') }}
120120
- name: run tox
121121
run: tox -f ${{ matrix.python-version }}-${{ matrix.package }} -- -ra

.github/workflows/instrumentations_1.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- 'release/*'
77
pull_request:
88
env:
9-
CORE_REPO_SHA: 141a6a2e473ef7f0ec4915dfb71e3c0fa595283e
9+
CORE_REPO_SHA: f31903a03721ce90c338be33131222d4cba37325
1010

1111
jobs:
1212
instrumentations-1:
@@ -39,6 +39,7 @@ jobs:
3939
- "resource-detector-azure"
4040
- "resource-detector-container"
4141
- "util-http"
42+
- "fastapi-slim"
4243
os: [ubuntu-20.04]
4344
exclude:
4445
- python-version: pypy3
@@ -60,6 +61,6 @@ jobs:
6061
path: |
6162
.tox
6263
~/.cache/pip
63-
key: v7-build-tox-cache-${{ env.RUN_MATRIX_COMBINATION }}-${{ hashFiles('tox.ini', 'gen-requirements.txt', 'dev-requirements.txt') }}
64+
key: v7-build-tox-cache-${{ env.RUN_MATRIX_COMBINATION }}-${{ hashFiles('gen-requirements.txt', 'dev-requirements.txt') }}
6465
- name: run tox
6566
run: tox -f ${{ matrix.python-version }}-${{ matrix.package }} -- -ra

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- 'release/*'
77
pull_request:
88
env:
9-
CORE_REPO_SHA: 141a6a2e473ef7f0ec4915dfb71e3c0fa595283e
9+
CORE_REPO_SHA: f31903a03721ce90c338be33131222d4cba37325
1010

1111
jobs:
1212
lint-3_12:

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- 'release/*'
77
pull_request:
88
env:
9-
CORE_REPO_SHA: 141a6a2e473ef7f0ec4915dfb71e3c0fa595283e
9+
CORE_REPO_SHA: f31903a03721ce90c338be33131222d4cba37325
1010

1111
jobs:
1212
misc:

CHANGELOG.md

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

88
## Unreleased
99

10+
## Version 1.26.0/0.47b0 (2024-07-23)
11+
1012
### Added
1113

14+
- `opentelemetry-instrumentation-flask` Add `http.route` and `http.target` to metric attributes
15+
([#2621](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2621))
16+
- `opentelemetry-instrumentation-aws-lambda` Enable global propagator for AWS instrumentation
17+
([#2708](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2708))
1218
- `opentelemetry-instrumentation-sklearn` Deprecated the sklearn instrumentation
1319
([#2708](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2708))
1420
- `opentelemetry-instrumentation-pyramid` Record exceptions raised when serving a request
@@ -37,17 +43,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3743
([#2673](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2673))
3844
- `opentelemetry-instrumentation-django` Add `http.target` to Django duration metric attributes
3945
([#2624](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2624))
46+
- `opentelemetry-instrumentation-urllib3` Implement new semantic convention opt-in migration
47+
([#2715](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2715))
48+
- `opentelemetry-instrumentation-django` Implement new semantic convention opt-in with stable http semantic conventions
49+
([#2714](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2714))
4050

4151
### Breaking changes
4252

4353
- `opentelemetry-instrumentation-asgi`, `opentelemetry-instrumentation-fastapi`, `opentelemetry-instrumentation-starlette` Use `tracer` and `meter` of originating components instead of one from `asgi` middleware
4454
([#2580](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2580))
4555
- Populate `{method}` as `HTTP` on `_OTHER` methods from scope for `asgi` middleware
4656
([#2610](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2610))
47-
- Populate `{method}` as `HTTP` on `_OTHER` methods from scope for `fastapi` middleware
57+
- Populate `{method}` as `HTTP` on `_OTHER` methods from scope for `fastapi` middleware
4858
([#2682](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2682))
59+
- `opentelemetry-instrumentation-urllib3` Populate `{method}` as `HTTP` on `_OTHER` methods for span name
60+
([#2715](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2715))
61+
- Populate `{method}` as `HTTP` on `_OTHER` methods from scope for `fastapi` instrumentation
62+
([#2682](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2682))
63+
- Populate `{method}` as `HTTP` on `_OTHER` methods from scope for `django` middleware
64+
([#2714](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2714))
65+
- `opentelemetry-instrumentation-httpx`, `opentelemetry-instrumentation-aiohttp-client`,
66+
`opentelemetry-instrumentation-requests` Populate `{method}` as `HTTP` on `_OTHER` methods
67+
([#2726](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2726))
68+
- `opentelemetry-instrumentation-fastapi` Add dependency support for fastapi-slim
69+
([#2702](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2702))
4970

5071
### Fixed
72+
5173
- Handle `redis.exceptions.WatchError` as a non-error event in redis instrumentation
5274
([#2668](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2668))
5375
- `opentelemetry-instrumentation-httpx` Ensure httpx.get or httpx.request like methods are instrumented
@@ -73,7 +95,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7395
([#2153](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2153))
7496
- `opentelemetry-instrumentation-asgi` Removed `NET_HOST_NAME` AND `NET_HOST_PORT` from active requests count attribute
7597
([#2610](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2610))
76-
- `opentelemetry-instrumentation-asgi` Bugfix: Middleware did not set status code attribute on duration metrics for non-recording spans.
98+
- `opentelemetry-instrumentation-asgi` Bugfix: Middleware did not set status code attribute on duration metrics for non-recording spans.
7799
([#2627](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2627))
78100

79101

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

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.26.0.dev
19+
version=1.27.0.dev
2020

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

3636
[prerelease]
37-
version=0.47b0.dev
37+
version=0.48b0.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.47b0.dev"
15+
__version__ = "0.48b0.dev"

exporter/opentelemetry-exporter-richconsole/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ classifiers = [
2727
dependencies = [
2828
"opentelemetry-api ~= 1.12",
2929
"opentelemetry-sdk ~= 1.12",
30-
"opentelemetry-semantic-conventions == 0.47b0.dev",
30+
"opentelemetry-semantic-conventions == 0.48b0.dev",
3131
"rich>=10.0.0",
3232
]
3333

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

0 commit comments

Comments
 (0)