Skip to content

Commit da02e96

Browse files
committed
Merge branch 'main' into metrics-instrumentation-celery
2 parents 4f1a7b5 + 4a859e3 commit da02e96

File tree

36 files changed

+980
-464
lines changed

36 files changed

+980
-464
lines changed

.github/component_owners.yml

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

4747
instrumentation/opentelemetry-instrumentation-urllib3:
4848
- shalevr
49+
50+
instrumentation/opentelemetry-instrumentation-sqlalchemy:
51+
- shalevr

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ jobs:
125125
--title "Version ${STABLE_VERSION}/${UNSTABLE_VERSION}" \
126126
--notes-file /tmp/release-notes.txt \
127127
--discussion-category announcements \
128-
v$STABLE_VERSION
128+
v$UNSTABLE_VERSION
129129
130130
- uses: actions/checkout@v3
131131
with:

.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: d0bb12b34b0c487198c935001636b6163485a50f
9+
CORE_REPO_SHA: 2d1f0b9f5fce62549d1338882f37b91b95881c75
1010

1111
jobs:
1212
build:

CHANGELOG.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,35 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
- Add metric instrumentation for celery
1111
([#1679](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1679))
12+
-
13+
- Add metrics instrumentation for sqlalchemy
14+
([#1645](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1645))
15+
16+
- Fix exception in Urllib3 when dealing with filelike body.
17+
([#1399](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1399))
18+
19+
### Added
20+
21+
- Add connection attributes to sqlalchemy connect span
22+
([#1608](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1608))
23+
- Add support for enabling Redis sanitization from environment variable
24+
([#1690](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1690))
25+
26+
### Fixed
27+
28+
- Fix Flask instrumentation to only close the span if it was created by the same thread.
29+
([#1654](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1654))
30+
- `opentelemetry-instrumentation-system-metrics` Fix initialization of the instrumentation class when configuration is provided
31+
([#1438](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1439))
32+
>>>>>>> main
1233
1334
## Version 1.16.0/0.37b0 (2023-02-17)
1435

1536
### Added
1637

1738
- Support `aio_pika` 9.x (([#1670](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1670])
1839
- `opentelemetry-instrumentation-redis` Add `sanitize_query` config option to allow query sanitization. ([#1572](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1572))
19-
- `opentelemetry-instrumentation-elasticsearch` Add optional db.statement query sanitization.
40+
- `opentelemetry-instrumentation-elasticsearch` Add optional db.statement query sanitization.
2041
([#1598](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1598))
2142
- `opentelemetry-instrumentation-celery` Record exceptions as events on the span.
2243
([#1573](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1573))

RELEASING.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Preparing a new major or minor release
44

5-
* Run the [Prepare release branch workflow](https://github.com/open-telemetry/opentelemetry-python/actions/workflows/prepare-release-branch.yml).
5+
* Run the [Prepare release branch workflow](https://github.com/open-telemetry/opentelemetry-python-contrib/actions/workflows/prepare-release-branch.yml).
66
* Press the "Run workflow" button, and leave the default branch `main` selected.
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`.
@@ -13,21 +13,21 @@
1313
## Preparing a new patch release
1414

1515
* Backport pull request(s) to the release branch.
16-
* Run the [Backport workflow](https://github.com/open-telemetry/opentelemetry-python/actions/workflows/backport.yml).
16+
* Run the [Backport workflow](https://github.com/open-telemetry/opentelemetry-python-contrib/actions/workflows/backport.yml).
1717
* Press the "Run workflow" button, then select the release branch from the dropdown list,
1818
e.g. `release/v1.9.x`, then enter the pull request number that you want to backport,
1919
then click the "Run workflow" button below that.
2020
* Review and merge the backport pull request that it generates.
2121
* Merge a pull request to the release branch updating the `CHANGELOG.md`.
2222
* The heading for the unreleased entries should be `## Unreleased`.
23-
* Run the [Prepare patch release workflow](https://github.com/open-telemetry/opentelemetry-python/actions/workflows/prepare-patch-release.yml).
23+
* Run the [Prepare patch release workflow](https://github.com/open-telemetry/opentelemetry-python-contrib/actions/workflows/prepare-patch-release.yml).
2424
* Press the "Run workflow" button, then select the release branch from the dropdown list,
2525
e.g. `release/v1.9.x`, and click the "Run workflow" button below that.
2626
* Review and merge the pull request that it creates for updating the version.
2727

2828
## Making the release
2929

30-
* Run the [Release workflow](https://github.com/open-telemetry/opentelemetry-python/actions/workflows/release.yml).
30+
* Run the [Release workflow](https://github.com/open-telemetry/opentelemetry-python-contrib/actions/workflows/release.yml).
3131
* Press the "Run workflow" button, then select the release branch from the dropdown list,
3232
e.g. `release/v1.9.x`, and click the "Run workflow" button below that.
3333
* This workflow will publish the artifacts and publish a GitHub release with release notes based on the change log.
@@ -69,9 +69,9 @@
6969
## After the release
7070

7171
* Check PyPI
72-
* This should be handled automatically on release by the [publish action](https://github.com/open-telemetry/opentelemetry-python/blob/main/.github/workflows/publish.yml).
73-
* Check the [action logs](https://github.com/open-telemetry/opentelemetry-python/actions?query=workflow%3APublish) to make sure packages have been uploaded to PyPI
74-
* Check the release history (e.g. https://pypi.org/project/opentelemetry-api/#history) on PyPI
72+
* This should be handled automatically on release by the [publish action](https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/.github/workflows/release.yml).
73+
* Check the [action logs](https://github.com/open-telemetry/opentelemetry-python-contrib/actions/workflows/release.yml) to make sure packages have been uploaded to PyPI
74+
* Check the release history (e.g. https://pypi.org/project/opentelemetry-instrumentation/#history) on PyPI
7575
* If for some reason the action failed, see [Publish failed](#publish-failed) below
7676
* Move stable tag
7777
* Run the following (TODO automate):

docs-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ aiopg>=0.13.0,<1.3.0
2424
asyncpg>=0.12.0
2525
boto~=2.0
2626
botocore~=1.0
27+
boto3~=1.0
2728
celery>=4.0
2829
confluent-kafka>= 1.8.2,< 2.0.0
2930
elasticsearch>=2.0,<9.0

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def getlistcfg(strval):
126126
]
127127

128128

129-
ignore_categories = ["py-class", "py-func", "py-exc", "any"]
129+
ignore_categories = ["py-class", "py-func", "py-exc", "py-obj", "any"]
130130

131131
for category in ignore_categories:
132132
if category in mcfg:
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.. include:: ../../../instrumentation/opentelemetry-instrumentation-boto3sqs/README.rst
2+
3+
.. automodule:: opentelemetry.instrumentation.boto3sqs
4+
:members:
5+
:undoc-members:
6+
:show-inheritance:

docs/nitpick-exceptions.ini

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ py-class=
1313
opentelemetry.sdk.trace.id_generator.IdGenerator
1414
opentelemetry.instrumentation.confluent_kafka.ProxiedProducer
1515
opentelemetry.instrumentation.confluent_kafka.ProxiedConsumer
16+
opentelemetry.instrumentation.instrumentor.BaseInstrumentor
1617
; - AwsXRayIdGenerator
1718
TextMapPropagator
1819
CarrierT
@@ -54,7 +55,16 @@ any=
5455
; - instrumentation.*
5556
Setter
5657
httpx
57-
;
58+
instrument
59+
__iter__
60+
list.__iter__
61+
__getitem__
62+
list.__getitem__
63+
SQS.ReceiveMessage
64+
65+
py-obj=
66+
opentelemetry.propagators.textmap.CarrierT
67+
5868
py-func=
5969
poll
6070
flush

0 commit comments

Comments
 (0)