Skip to content

Commit 4c1e4b8

Browse files
authored
Merge branch 'main' into psycopg3-instrumentation
2 parents 800ce3b + 47caeab commit 4c1e4b8

File tree

81 files changed

+388
-342
lines changed

Some content is hidden

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

81 files changed

+388
-342
lines changed

.github/workflows/instrumentations_0.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,17 @@ jobs:
1212
instrumentations-0:
1313
env:
1414
# We use these variables to convert between tox and GHA version literals
15-
py37: 3.7
1615
py38: 3.8
1716
py39: 3.9
1817
py310: "3.10"
1918
py311: "3.11"
20-
pypy3: pypy-3.7
19+
pypy3: pypy-3.8
2120
RUN_MATRIX_COMBINATION: ${{ matrix.python-version }}-${{ matrix.package }}-${{ matrix.os }}
2221
runs-on: ${{ matrix.os }}
2322
strategy:
2423
fail-fast: false # ensures the entire test matrix is run, even if one permutation fails
2524
matrix:
26-
python-version: [py37, py38, py39, py310, py311, pypy3]
25+
python-version: [py38, py39, py310, py311, pypy3]
2726
package:
2827
# Do not add more instrumentations here, add them in instrumentations_1.yml.
2928
# The reason for this separation of instrumentations into more than one YAML file is

.github/workflows/instrumentations_1.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,17 @@ jobs:
1212
instrumentations-1:
1313
env:
1414
# We use these variables to convert between tox and GHA version literals
15-
py37: 3.7
1615
py38: 3.8
1716
py39: 3.9
1817
py310: "3.10"
1918
py311: "3.11"
20-
pypy3: pypy-3.7
19+
pypy3: pypy-3.8
2120
RUN_MATRIX_COMBINATION: ${{ matrix.python-version }}-${{ matrix.package }}-${{ matrix.os }}
2221
runs-on: ${{ matrix.os }}
2322
strategy:
2423
fail-fast: false # ensures the entire test matrix is run, even if one permutation fails
2524
matrix:
26-
python-version: [py37, py38, py39, py310, py311, pypy3]
25+
python-version: [py38, py39, py310, py311, pypy3]
2726
package:
2827
- "urllib"
2928
- "urllib3v"

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
# next few steps publish to pypi
6767
- uses: actions/setup-python@v1
6868
with:
69-
python-version: '3.7'
69+
python-version: '3.8'
7070

7171
- name: Build wheels
7272
run: ./scripts/build.sh
@@ -202,4 +202,4 @@ jobs:
202202
gh pr create --title "$message" \
203203
--body "$body" \
204204
--head $branch \
205-
--base main
205+
--base main

CHANGELOG.md

+8
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+
- Drop uspport for 3.7
11+
([#2151](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2151))
1012
- `opentelemetry-resource-detector-azure` Added 10s timeout to VM Resource Detector
1113
([#2119](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2119))
14+
- `opentelemetry-instrumentation-asyncpg` Allow AsyncPGInstrumentor to be instantiated multiple times
15+
([#1791](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1791))
16+
- `opentelemetry-instrumentation-confluent-kafka` Add support for higher versions until 2.3.0 of confluent_kafka
17+
([#2132](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2132))
1218
- `opentelemetry-resource-detector-azure` Changed timeout to 4 seconds due to [timeout bug](https://github.com/open-telemetry/opentelemetry-python/issues/3644)
1319
([#2136](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2136))
1420

@@ -52,6 +58,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5258
([#1948](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1948))
5359
- Added schema_url (`"https://opentelemetry.io/schemas/1.11.0"`) to all metrics and traces
5460
([#1977](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1977))
61+
- Add support for configuring ASGI middleware header extraction via runtime constructor parameters
62+
([#2026](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2026))
5563

5664
### Fixed
5765

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ You can run `tox` with the following arguments:
4040
- `tox` to run all existing tox commands, including unit tests for all packages
4141
under multiple Python versions
4242
- `tox -e docs` to regenerate the API docs
43-
- `tox -e py37-test-instrumentation-aiopg` to e.g. run the aiopg instrumentation unit tests under a specific
43+
- `tox -e py311-test-instrumentation-aiopg` to e.g. run the aiopg instrumentation unit tests under a specific
4444
Python version
4545
- `tox -e spellcheck` to run a spellcheck on all the code
4646
- `tox -e lint` to run lint checks on all code

_template/pyproject.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dynamic = ["version"]
1212
description = "<REPLACE ME>"
1313
readme = "README.rst"
1414
license = "Apache-2.0"
15-
requires-python = ">=3.7"
15+
requires-python = ">=3.8"
1616
authors = [
1717
{ name = "OpenTelemetry Authors", email = "cncf-opentelemetry-contributors@lists.cncf.io" },
1818
]
@@ -22,7 +22,6 @@ classifiers = [
2222
"License :: OSI Approved :: Apache Software License",
2323
"Programming Language :: Python",
2424
"Programming Language :: Python :: 3",
25-
"Programming Language :: Python :: 3.7",
2625
"Programming Language :: Python :: 3.8",
2726
"Programming Language :: Python :: 3.9",
2827
"Programming Language :: Python :: 3.10",

docs-requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ botocore~=1.0
2727
boto3~=1.0
2828
cassandra-driver~=3.25
2929
celery>=4.0
30-
confluent-kafka>= 1.8.2,<= 2.2.0
30+
confluent-kafka>= 1.8.2,<= 2.3.0
3131
elasticsearch>=2.0,<9.0
3232
flask~=2.0
3333
falcon~=2.0

exporter/opentelemetry-exporter-prometheus-remote-write/pyproject.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ dynamic = ["version"]
99
description = "Prometheus Remote Write Metrics Exporter for OpenTelemetry"
1010
readme = "README.rst"
1111
license = "Apache-2.0"
12-
requires-python = ">=3.7"
12+
requires-python = ">=3.8"
1313
authors = [
1414
{ name = "OpenTelemetry Authors", email = "cncf-opentelemetry-contributors@lists.cncf.io" },
1515
]
@@ -19,7 +19,6 @@ classifiers = [
1919
"License :: OSI Approved :: Apache Software License",
2020
"Programming Language :: Python",
2121
"Programming Language :: Python :: 3",
22-
"Programming Language :: Python :: 3.7",
2322
"Programming Language :: Python :: 3.8",
2423
"Programming Language :: Python :: 3.9",
2524
"Programming Language :: Python :: 3.10",

exporter/opentelemetry-exporter-richconsole/pyproject.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ dynamic = ["version"]
88
description = "Rich Console Exporter for OpenTelemetry"
99
readme = "README.rst"
1010
license = "Apache-2.0"
11-
requires-python = ">=3.7"
11+
requires-python = ">=3.8"
1212
authors = [
1313
{ name = "OpenTelemetry Authors", email = "cncf-opentelemetry-contributors@lists.cncf.io" },
1414
]
@@ -18,7 +18,6 @@ classifiers = [
1818
"License :: OSI Approved :: Apache Software License",
1919
"Programming Language :: Python",
2020
"Programming Language :: Python :: 3",
21-
"Programming Language :: Python :: 3.7",
2221
"Programming Language :: Python :: 3.8",
2322
"Programming Language :: Python :: 3.9",
2423
"Programming Language :: Python :: 3.10",

instrumentation/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
| [opentelemetry-instrumentation-botocore](./opentelemetry-instrumentation-botocore) | botocore ~= 1.0 | No
1414
| [opentelemetry-instrumentation-cassandra](./opentelemetry-instrumentation-cassandra) | cassandra-driver ~= 3.25,scylla-driver ~= 3.25 | No
1515
| [opentelemetry-instrumentation-celery](./opentelemetry-instrumentation-celery) | celery >= 4.0, < 6.0 | No
16-
| [opentelemetry-instrumentation-confluent-kafka](./opentelemetry-instrumentation-confluent-kafka) | confluent-kafka >= 1.8.2, <= 2.2.0 | No
16+
| [opentelemetry-instrumentation-confluent-kafka](./opentelemetry-instrumentation-confluent-kafka) | confluent-kafka >= 1.8.2, <= 2.3.0 | No
1717
| [opentelemetry-instrumentation-dbapi](./opentelemetry-instrumentation-dbapi) | dbapi | No
1818
| [opentelemetry-instrumentation-django](./opentelemetry-instrumentation-django) | django >= 1.10 | Yes
1919
| [opentelemetry-instrumentation-elasticsearch](./opentelemetry-instrumentation-elasticsearch) | elasticsearch >= 2.0 | No

instrumentation/opentelemetry-instrumentation-aio-pika/pyproject.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ dynamic = ["version"]
88
description = "OpenTelemetry Aio-pika instrumentation"
99
readme = "README.rst"
1010
license = "Apache-2.0"
11-
requires-python = ">=3.7"
11+
requires-python = ">=3.8"
1212
authors = [
1313
{ name = "OpenTelemetry Authors", email = "cncf-opentelemetry-contributors@lists.cncf.io" },
1414
]
@@ -18,7 +18,6 @@ classifiers = [
1818
"License :: OSI Approved :: Apache Software License",
1919
"Programming Language :: Python",
2020
"Programming Language :: Python :: 3",
21-
"Programming Language :: Python :: 3.7",
2221
"Programming Language :: Python :: 3.8",
2322
"Programming Language :: Python :: 3.9",
2423
"Programming Language :: Python :: 3.10",

instrumentation/opentelemetry-instrumentation-aiohttp-client/pyproject.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ dynamic = ["version"]
88
description = "OpenTelemetry aiohttp client instrumentation"
99
readme = "README.rst"
1010
license = "Apache-2.0"
11-
requires-python = ">=3.7"
11+
requires-python = ">=3.8"
1212
authors = [
1313
{ name = "OpenTelemetry Authors", email = "cncf-opentelemetry-contributors@lists.cncf.io" },
1414
]
@@ -18,7 +18,6 @@ classifiers = [
1818
"License :: OSI Approved :: Apache Software License",
1919
"Programming Language :: Python",
2020
"Programming Language :: Python :: 3",
21-
"Programming Language :: Python :: 3.7",
2221
"Programming Language :: Python :: 3.8",
2322
"Programming Language :: Python :: 3.9",
2423
"Programming Language :: Python :: 3.10",

instrumentation/opentelemetry-instrumentation-aiohttp-server/pyproject.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ dynamic = ["version"]
88
description = "Aiohttp server instrumentation for OpenTelemetry"
99
readme = "README.rst"
1010
license = "Apache-2.0"
11-
requires-python = ">=3.7"
11+
requires-python = ">=3.8"
1212
authors = [
1313
{ name = "OpenTelemetry Authors", email = "cncf-opentelemetry-contributors@lists.cncf.io"}
1414
]
@@ -18,7 +18,6 @@ classifiers = [
1818
"License :: OSI Approved :: Apache Software License",
1919
"Programming Language :: Python",
2020
"Programming Language :: Python :: 3",
21-
"Programming Language :: Python :: 3.7",
2221
"Programming Language :: Python :: 3.8",
2322
"Programming Language :: Python :: 3.9",
2423
"Programming Language :: Python :: 3.10",

instrumentation/opentelemetry-instrumentation-aiopg/pyproject.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ dynamic = ["version"]
88
description = "OpenTelemetry aiopg instrumentation"
99
readme = "README.rst"
1010
license = "Apache-2.0"
11-
requires-python = ">=3.7"
11+
requires-python = ">=3.8"
1212
authors = [
1313
{ name = "OpenTelemetry Authors", email = "cncf-opentelemetry-contributors@lists.cncf.io" },
1414
]
@@ -18,7 +18,6 @@ classifiers = [
1818
"License :: OSI Approved :: Apache Software License",
1919
"Programming Language :: Python",
2020
"Programming Language :: Python :: 3",
21-
"Programming Language :: Python :: 3.7",
2221
"Programming Language :: Python :: 3.8",
2322
"Programming Language :: Python :: 3.9",
2423
"Programming Language :: Python :: 3.10",

instrumentation/opentelemetry-instrumentation-asgi/pyproject.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ dynamic = ["version"]
88
description = "ASGI instrumentation for OpenTelemetry"
99
readme = "README.rst"
1010
license = "Apache-2.0"
11-
requires-python = ">=3.7"
11+
requires-python = ">=3.8"
1212
authors = [
1313
{ name = "OpenTelemetry Authors", email = "cncf-opentelemetry-contributors@lists.cncf.io" },
1414
]
@@ -18,7 +18,6 @@ classifiers = [
1818
"License :: OSI Approved :: Apache Software License",
1919
"Programming Language :: Python",
2020
"Programming Language :: Python :: 3",
21-
"Programming Language :: Python :: 3.7",
2221
"Programming Language :: Python :: 3.8",
2322
"Programming Language :: Python :: 3.9",
2423
"Programming Language :: Python :: 3.10",

0 commit comments

Comments
 (0)