86 Commits

Author SHA1 Message Date
bc57cc029d fix(asgi-instrumentation): extract target after running the framework (#1461) 2022-12-05 02:00:09 +00:00
47512c84b9 fix: No module named httpx (#1441) 2022-11-15 06:17:14 +05:30
496d6581cc Add support for regular expression matching and sanitizing of headers in FastAPI. (#1403) 2022-11-07 22:23:08 +05:30
af972a07a9 Create RELEASING.md, Update version to 1.15.0.dev/0.36b0.dev (#1429) 2022-11-03 13:26:58 -07:00
05e23cd280 [release/v1.14.x-0.35bx] Prepare release 1.14.0/0.35b0 (#1428) 2022-11-03 10:30:35 -07:00
5c67dee23d Change to use local dev versions (#1425) 2022-11-02 10:19:40 -07:00
38d384a2ae Add support for py3.11 (#1415) 2022-10-31 21:19:50 +00:00
b2923e02fa updating changelogs and version to 1.13.0-0.34b0 (#1352) 2022-09-27 03:12:18 +05:30
0b69786c30 fix flaky test in fastapi (#1344) 2022-09-21 01:29:35 +05:30
2b7a0057da uninstruemnt existing instances before uninstrumenting fastapi class (#1258) 2022-09-19 07:25:07 +00:00
791dc6b11f Update package metadata opentelemetry-instrumentation-fastapi (#1278)
* Update package metadata

* Update instrumentation/opentelemetry-instrumentation-fastapi/pyproject.toml

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2022-09-14 01:49:01 +05:30
56530ebdfc Metric instrumentation fastapi (#1199) 2022-09-12 20:11:58 +00:00
4c2382338d fix check of is_otel_instrumented (#1313) 2022-09-09 10:58:31 -07:00
18e056b85a Codespell ci (#1237) 2022-08-29 15:08:25 +05:30
03d97ffaf9 Remove support for 3.6 (#853) 2022-08-25 23:32:04 +05:30
85e532816c Added the Licence and Manifest file
Co-authored-by: Sunil Sunilshidrayi.wali@fmr.com
Co-authored-by: Rahuldimri rahul.dimri@fmr.com
2022-08-25 12:39:44 +05:30
7625b82dff Release 1.12.0-0.33b0 (#1223)
* Release 1.12.0-0.33b0

* Update API and SDK versions to 1.12
2022-08-09 21:32:17 +02:00
ee4083982f Release 1.12.0rc2-0.32b0 (#1174) 2022-07-04 15:14:50 +02:00
f7409b8b98 Typo fix: caputre => capture (#1108) 2022-05-27 11:27:40 +05:30
10659f8970 Release 1.12.0rc1-0.31b0 (#1094) 2022-05-17 13:18:55 -06:00
b6964ccf3a Release 1.11.1-0.30b1 (#1067) 2022-04-22 02:29:17 +05:30
26a8aa184f Starlette: capture custom request response headers in span attributes (#1046) 2022-04-18 23:42:38 +05:30
3ca7e7a5a3 Release 1.11.0-0.30b0 (#1056) 2022-04-18 10:04:18 -07:00
45448f8bb2 FastAPI: capture custom request response headers in span attributes (#1032) 2022-04-11 11:10:26 -07:00
7a0caed36f updating changelogs and version to 1.10.0-0.29b0 (#995) (#996) 2022-03-10 17:49:49 -06:00
7bb29bd9ab Fix typos (#929) 2022-03-02 14:03:34 -08:00
c8020cbea5 updating changelogs and version to 1.9.1-0.28b1 (#887)
* updating changelogs and version to 1.9.1-0.28b1

* Update CHANGELOG.md

Co-authored-by: Nathaniel Ruiz Nowell <enruizno@uwaterloo.ca>

* Update CHANGELOG.md

Co-authored-by: Nathaniel Ruiz Nowell <enruizno@uwaterloo.ca>

Co-authored-by: Nathaniel Ruiz Nowell <enruizno@uwaterloo.ca>
2022-01-31 09:40:29 +00:00
f9b4d2b864 updating changelogs and version to 1.9.0-0.28b0 (#875) 2022-01-26 12:00:44 -06:00
4c813c47e4 ASGI: Conditionally create SERVER spans (#843) 2022-01-07 15:12:58 -06:00
0786aa49ad updating changelogs and version to 1.8.0-0.27b0 (#835) 2021-12-17 22:34:57 +05:30
a9507b3d1d updating changelogs and version to 1.7.1-0.26b1 (#809) 2021-11-12 01:30:47 +05:30
7cf29b4000 Rename opentelemetry-test to opentelemetry-test-utils (#807)
* updating changelogs and version to 1.7.0-0.26b0

* Rename opentelemetry-test to opentelemetry-test-utils
2021-11-11 19:11:12 +00:00
e621d637e9 updating changelogs and version to 1.7.0-0.26b0 (#805) 2021-11-11 18:55:06 +00:00
d4ad8f57be Add support for generic OTEL_PYTHON_EXCLUDED_URLS variable (#790)
* Add support for generic OTEL_PYTHON_EXCLUDED_URLS variable

Use `OTEL_PYTHON_EXCLUDED_URLS` environment variable as a fallback of
`OTEL_PYTHON_{instrumentation}_EXCLUDED_URLS`.

* Only use generic variable when instrumentation-specific is not set

* Change wording on docs

Co-authored-by: Leighton Chen <lechen@microsoft.com>
2021-11-10 22:44:02 +00:00
3137c1fa41 Upgrade black (#802) 2021-11-10 20:57:01 +00:00
335a14c682 adding CI testing for python 3.10 (#742) 2021-10-26 21:43:23 +00:00
ae7a415f47 Consolidate instrumentation documentation in docstrings (#754) 2021-10-21 09:54:30 -07:00
d158a5f3b8 Prepare release v1.6.2 and 0.25b2 (#762) 2021-10-20 00:00:28 +05:30
f3dde6b628 updating changelogs and version to 1.6.1-0.25b1 (#751) 2021-10-18 13:04:04 -07:00
3ebfdb1a54 adding missing python 3.9 classifier (#741) 2021-10-14 21:52:44 +00:00
9f6c97af9f Release/1.6.0 0.25b0 (#732) 2021-10-13 14:54:52 -07:00
354bdc42d9 update open calls to pass encoding (#684) 2021-09-22 10:16:14 -07:00
b6e49ba66d Remove unused imports (#646)
* Remove unused imports

Fixes #645

* Fix lint

* Import trace_tween_factory

* Fix lint

* Fix lint

* Fix pylint

* Try without using the symbol

* Fix isort

* Revert "Fix isort"

This reverts commit 4dbd91450b4ee099fd09ab1ca0fb8ae9c10bdcfa.

* Revert "Try without using the symbol"

This reverts commit d94f95564671a3155edf44bf71bf58f22ca309f0.
2021-09-01 19:38:02 +02:00
ffc2a2ff4c More consistent assertion methods (#641)
* More consistent assertion methods

* Updated core SHA
2021-08-30 22:46:18 +02:00
d4668bcbc7 Release/1.5.0 0.24b0 (#628)
* updating changelogs and version to 1.4.0-0.24.dev0

* updating changelogs and version to 1.5.0-0.24b0

* Update CHANGELOG.md

Co-authored-by: Leighton Chen <lechen@microsoft.com>

* Update CHANGELOG.md

Co-authored-by: Leighton Chen <lechen@microsoft.com>

Co-authored-by: Leighton Chen <lechen@microsoft.com>
2021-08-26 14:54:46 +05:30
9c4eb69ab8 Allow instrumentation of newer FastAPI versions (#602)
* Allow instrumentation of newer FastAPI versions

Since the introduction of the `_instruments` runtime checks in #475, the
FastAPI instrumentation has stopped working for versions >= `0.59.0`.
However the current test suite passes even for the latest released
version at the moment (`0.67.0`).

It seems this isn't related to a limitation in the instrumentation code,
but actually because of it being created when `0.58` was the latest version:
7bec76a220.

* Add changelog entry

Co-authored-by: Owais Lone <owais@users.noreply.github.com>
2021-08-25 03:34:26 +05:30
05944cb645 docs: Update instrumentation example in readme (#615) 2021-08-13 12:35:30 -07:00
a04fb0e019 Back to develop after 0.23b0 release (#606)
* Back to develop after 0.23b0 release

* Update SHA

* Update SHA

Co-authored-by: Leighton Chen <lechen@microsoft.com>
2021-07-27 11:26:43 -06:00
c5c6977584 Add hooks for aiohttp, asgi, starlette, fastAPI, urllib, urllib3 (#576) 2021-07-26 14:34:50 -07:00
4d0f57bbc5 Release/1.4.0 0.23b0 (#597) 2021-07-19 15:57:58 -07:00