Commit Graph

107 Commits

Author SHA1 Message Date
Srikanth Chekuri e6a66861aa Update version to 1.16.0.dev/0.37b0.dev 2022-12-10 03:09:34 +05:30
Srikanth Chekuri 71781d3964
updating changelogs and version to 1.15.0-0.36b0 (#1482) 2022-12-10 02:33:51 +05:30
Sebastian Kreft bc57cc029d
fix(asgi-instrumentation): extract target after running the framework (#1461) 2022-12-05 02:00:09 +00:00
Leighton Chen af972a07a9
Create RELEASING.md, Update version to 1.15.0.dev/0.36b0.dev (#1429) 2022-11-03 13:26:58 -07:00
Leighton Chen 05e23cd280
[release/v1.14.x-0.35bx] Prepare release 1.14.0/0.35b0 (#1428) 2022-11-03 10:30:35 -07:00
Leighton Chen 5c67dee23d
Change to use local dev versions (#1425) 2022-11-02 10:19:40 -07:00
Srikanth Chekuri 38d384a2ae
Add support for py3.11 (#1415) 2022-10-31 21:19:50 +00:00
Dan Rogers 9d6ba63e06
Add support for regular expression matching and sanitizing of headers in ASGI. (#1333) 2022-10-24 21:39:11 +05:30
Sebastian Kreft d5369a4431
feat(instrumentation/asgi): add target to metrics (#1323) 2022-10-22 13:29:53 +00:00
Leighton Chen 75953f3b25
Use metric semantic conventions (#1380) 2022-10-19 12:31:01 -07:00
avzis c615fa74da
Add test for asgi using NoOpTracerProvider (#1367) 2022-10-11 08:11:53 +05:30
Srikanth Chekuri b2923e02fa
updating changelogs and version to 1.13.0-0.34b0 (#1352) 2022-09-27 03:12:18 +05:30
Ofek Lev d2d8789880
Update package metadata opentelemetry-instrumentation-asgi (#1266) 2022-09-14 00:50:41 +05:30
Anshul Asawa 56530ebdfc
Metric instrumentation fastapi (#1199) 2022-09-12 20:11:58 +00:00
Gal Bashan 18e056b85a
Codespell ci (#1237) 2022-08-29 15:08:25 +05:30
Diego Hurtado 03d97ffaf9
Remove support for 3.6 (#853) 2022-08-25 23:32:04 +05:30
Rahul Kumar 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
Diego Hurtado 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
Anshul Asawa cbf005be6f
Metric instrumentation asgi (#1197) 2022-08-08 23:27:16 +05:30
Diego Hurtado ee4083982f
Release 1.12.0rc2-0.32b0 (#1174) 2022-07-04 15:14:50 +02:00
Alan Isaac 100ecfeb08
updated type hints for getters and setters (#1106) 2022-05-29 06:02:14 +05:30
Paul "TBBle" Hampson f7409b8b98
Typo fix: caputre => capture (#1108) 2022-05-27 11:27:40 +05:30
Diego Hurtado 10659f8970
Release 1.12.0rc1-0.31b0 (#1094) 2022-05-17 13:18:55 -06:00
Srikanth Chekuri b6964ccf3a
Release 1.11.1-0.30b1 (#1067) 2022-04-22 02:29:17 +05:30
Leighton Chen 3ca7e7a5a3
Release 1.11.0-0.30b0 (#1056) 2022-04-18 10:04:18 -07:00
Sanket Mehta 45448f8bb2
FastAPI: capture custom request response headers in span attributes (#1032) 2022-04-11 11:10:26 -07:00
Sanket Mehta b1bf8d4a54
code change to add custom http and websocket request and response hea… (#1004)
* code change to add custom http and websocket request and response headers as span attributes. Issue: https://github.com/open-telemetry/opentelemetry-python-contrib/issues/919

* adding entry to changelog

* changes after running "tox -e generate" locally

* - added server_span.is_recording() in _get_otel_send() just to make sure the span is recording before adding the attributes to span.
- changed span to current_span to make sure attributes are being added to proper span.

* removed commented code

Co-authored-by: Leighton Chen <lechen@microsoft.com>
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2022-03-28 19:05:08 -06:00
Diego Hurtado 7a0caed36f
updating changelogs and version to 1.10.0-0.29b0 (#995) (#996) 2022-03-10 17:49:49 -06:00
Remi Rampin 7bb29bd9ab
Fix typos (#929) 2022-03-02 14:03:34 -08:00
Alex Boten 22cc215c6c
[build] bump pylint (#923)
* [build] bump pylint

Fixes #632

* apply lint suggestions

* specify encoding
2022-02-16 17:52:00 -06:00
Sanket Mehta 0431d7b62f
adding unit test case for ASGI framework for application wrapped with… (#899)
* adding unit test case for ASGI framework for application wrapped with another framework

* resolving lint errors

* resolving generate build errors

* resolving flake errors

Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2022-02-03 22:40:03 +05:30
Ashutosh Goel c0eba00244
Using _start_internal_or_server_span function in asgi interceptor (#898) 2022-02-03 09:36:15 -06:00
Owais Lone 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
Owais Lone f9b4d2b864
updating changelogs and version to 1.9.0-0.28b0 (#875) 2022-01-26 12:00:44 -06:00
Jakub Wach 4c813c47e4
ASGI: Conditionally create SERVER spans (#843) 2022-01-07 15:12:58 -06:00
Phillip Verheyden 3de29868a9
Add traceresponse headers for asgi apps (FastAPI, Starlette) (#817)
This asgi version is modeled after the original wsgi version in #436 and corresponds to the SERVER span. Also cleans up some of the existing ASGI functionality to reduce complexity and make future contributions more straightforward.
2021-12-25 21:52:28 +00:00
Owais Lone 0786aa49ad
updating changelogs and version to 1.8.0-0.27b0 (#835) 2021-12-17 22:34:57 +05:30
Owais Lone a9507b3d1d
updating changelogs and version to 1.7.1-0.26b1 (#809) 2021-11-12 01:30:47 +05:30
Owais Lone 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
Owais Lone e621d637e9
updating changelogs and version to 1.7.0-0.26b0 (#805) 2021-11-11 18:55:06 +00:00
Diego Hurtado 5f1845d3c6
Use augmented assignment statements (#797)
Fixes #796
2021-11-10 23:42:44 +00:00
Owais Lone 3137c1fa41
Upgrade black (#802) 2021-11-10 20:57:01 +00:00
Alex Boten 335a14c682
adding CI testing for python 3.10 (#742) 2021-10-26 21:43:23 +00:00
Leighton Chen 76a5cda307
Don't set STATUS on SpanKind SERVER for 4XX status (#776) 2021-10-26 11:44:44 -07:00
Michael Manganiello 07c52aad38
Refactor code using pyupgrade for Python 3.6 (#770)
* Refactor code using pyupgrade for Python 3.6

This diff is the result of applying the following command to the
project:

```shell
find . -type f -name "*.py" -exec pyupgrade --py36-plus '{}' +
```

* Simplify yield from
2021-10-24 07:04:06 +05:30
Leighton Chen ae7a415f47
Consolidate instrumentation documentation in docstrings (#754) 2021-10-21 09:54:30 -07:00
Owais Lone 3049b4bfc5
Added asgiref depedency to opentelemetry-instrumentation-asgi (#765)
opentelemetry-instrumentaiton-asgi does not contain an instrumentor for
asgiref. Instead, it implements an ASGI middleware that other
instrumentors import and use. As such, other instrumentors can take a
dependency on this package without asgiref being installed locally. This
commit adds `asgiref` as a dependency to the
opentelemetry-instrumentation-asgi package so the middleware can
function properly when used by another instrumentation.
2021-10-21 02:10:03 +05:30
Owais Lone d158a5f3b8
Prepare release v1.6.2 and 0.25b2 (#762) 2021-10-20 00:00:28 +05:30
Leighton Chen f3dde6b628
updating changelogs and version to 1.6.1-0.25b1 (#751) 2021-10-18 13:04:04 -07:00
alrex 3ebfdb1a54
adding missing python 3.9 classifier (#741) 2021-10-14 21:52:44 +00:00