Skip to content

Commit 057504a

Browse files
authored
Merge branch 'main' into psycopg3-instrumentation
2 parents a897b6c + 8daa8ad commit 057504a

File tree

128 files changed

+1259
-334
lines changed

Some content is hidden

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

128 files changed

+1259
-334
lines changed

.github/component_owners.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,6 @@ components:
7070

7171
instrumentation/opentelemetry-instrumentation-asyncio:
7272
- bourbonkk
73+
74+
instrumentation/opentelemetry-instrumentation-psycopg:
75+
- federicobond

.github/workflows/instrumentations_0.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: e98af82ff0ebe7e687fda265093aa576cd9ba80f
9+
CORE_REPO_SHA: a1253585f66d63e7c05a19f070f3bfe0ab6460c1
1010

1111
jobs:
1212
instrumentations-0:

.github/workflows/instrumentations_1.yml

Lines changed: 2 additions & 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: e98af82ff0ebe7e687fda265093aa576cd9ba80f
9+
CORE_REPO_SHA: a1253585f66d63e7c05a19f070f3bfe0ab6460c1
1010

1111
jobs:
1212
instrumentations-1:
@@ -29,6 +29,7 @@ jobs:
2929
- "wsgi"
3030
- "distro"
3131
- "richconsole"
32+
- "psycopg"
3233
- "prometheus-remote-write"
3334
- "psycopg3"
3435
- "sdkextension-aws"

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,6 @@ jobs:
4545
4646
echo "PRIOR_VERSION_WHEN_PATCH=$prior_version_when_patch" >> $GITHUB_ENV
4747
48-
# check out main branch to verify there won't be problems with merging the change log
49-
# at the end of this workflow
50-
- uses: actions/checkout@v3
51-
with:
52-
ref: main
53-
5448
- run: |
5549
if [[ -z $PRIOR_VERSION_WHEN_PATCH ]]; then
5650
# not making a patch release
@@ -60,6 +54,12 @@ jobs:
6054
fi
6155
fi
6256
57+
# check out main branch to verify there won't be problems with merging the change log
58+
# at the end of this workflow
59+
- uses: actions/checkout@v3
60+
with:
61+
ref: main
62+
6363
# back to the release branch
6464
- uses: actions/checkout@v3
6565

.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: e98af82ff0ebe7e687fda265093aa576cd9ba80f
9+
CORE_REPO_SHA: a1253585f66d63e7c05a19f070f3bfe0ab6460c1
1010

1111
jobs:
1212
misc:

CHANGELOG.md

Lines changed: 22 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+
## Version 1.23.0/0.44b0 (2024-02-23)
11+
1012
- Drop support for 3.7
1113
([#2151](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2151))
1214
- `opentelemetry-resource-detector-azure` Added 10s timeout to VM Resource Detector
@@ -19,6 +21,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1921
([#2136](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2136))
2022
- `opentelemetry-resource-detector-azure` Suppress instrumentation for `urllib` call
2123
([#2178](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2178))
24+
- AwsLambdaInstrumentor handles and re-raises function exception ([#2245](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2245))
25+
26+
### Added
27+
28+
- `opentelemetry-instrumentation-psycopg` Initial release for psycopg 3.x
2229

2330
## Version 1.22.0/0.43b0 (2023-12-14)
2431

@@ -1447,3 +1454,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
14471454

14481455
- `opentelemetry-ext-wsgi` Initial release
14491456
- `opentelemetry-ext-http-requests` Initial release
1457+
1458+
- Drop support for 3.7
1459+
([#2151](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2151))
1460+
- `opentelemetry-resource-detector-azure` Added 10s timeout to VM Resource Detector
1461+
([#2119](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2119))
1462+
- `opentelemetry-instrumentation-asyncpg` Allow AsyncPGInstrumentor to be instantiated multiple times
1463+
([#1791](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1791))
1464+
- `opentelemetry-instrumentation-confluent-kafka` Add support for higher versions until 2.3.0 of confluent_kafka
1465+
([#2132](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2132))
1466+
- `opentelemetry-resource-detector-azure` Changed timeout to 4 seconds due to [timeout bug](https://github.com/open-telemetry/opentelemetry-python/issues/3644)
1467+
([#2136](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2136))
1468+
- `opentelemetry-resource-detector-azure` Suppress instrumentation for `urllib` call
1469+
([#2178](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2178))
1470+
- AwsLambdaInstrumentor handles and re-raises function exception ([#2245](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2245))
1471+

RELEASING.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@
77
* If making a pre-release of stable components (e.g. release candidate),
88
enter the pre-release version number, e.g. `1.9.0rc2`.
99
(otherwise the workflow will pick up the version from `main` and just remove the `.dev` suffix).
10-
* Review and merge the two pull requests that it creates
10+
* Review the two pull requests that it creates.
1111
(one is targeted to the release branch and one is targeted to `main`).
12+
* Merge the one targeted towards the release branch.
13+
* The builds will fail for the `main` pr because of validation rules. Follow the [release workflow](https://github.com/open-telemetry/opentelemetry-python/blob/main/RELEASING.md) for the core repo up until this same point. Change the SHAs of each PR to point at each other to get the `main` builds to pass.
1214

1315
## Preparing a new patch release
1416

_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.44b0.dev"
15+
__version__ = "0.45b0.dev"
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
OpenTelemetry Psycopg Instrumentation
2+
=====================================
3+
4+
.. automodule:: opentelemetry.instrumentation.psycopg
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

docs/instrumentation/psycopg2/psycopg2.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
OpenTelemetry Psycopg Instrumentation
2-
=====================================
1+
OpenTelemetry Psycopg2 Instrumentation
2+
======================================
33

44
.. automodule:: opentelemetry.instrumentation.psycopg2
55
:members:

0 commit comments

Comments
 (0)