Commit Graph

147 Commits

Author SHA1 Message Date
Leighton Chen 75953f3b25
Use metric semantic conventions (#1380) 2022-10-19 12:31:01 -07:00
Srikanth Chekuri b2923e02fa
updating changelogs and version to 1.13.0-0.34b0 (#1352) 2022-09-27 03:12:18 +05:30
Ofek Lev bc63650c2e
Update package metadata (#1302) 2022-09-13 18:41:53 +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
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 ebe6d1804b
Metrics instrumentation flask (#1186) 2022-08-05 07:47:14 +00:00
Srikanth Chekuri d75194aed7
Sync with sdk setup from setUpClass to setUp (#1193) 2022-07-19 02:02:13 +05:30
Diego Hurtado ee4083982f
Release 1.12.0rc2-0.32b0 (#1174) 2022-07-04 15:14:50 +02:00
Srikanth Chekuri 0007c9046c
Add metric instrumentation for WSGI (#1128) 2022-06-22 03:54:05 +05:30
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
Ashutosh Goel 6f620ee142
Refactoring custom header collection API for consistency (#1064) 2022-04-27 11:05:03 +05:30
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
Ashutosh Goel 7deea055dd
Add docs to capture HTTP request/response headers (#1038) 2022-04-12 00:10:59 +05:30
Diego Hurtado 7a0caed36f
updating changelogs and version to 1.10.0-0.29b0 (#995) (#996) 2022-03-10 17:49:49 -06:00
Alex Boten fcba751969
[instrumentation/wsgi] fix NonRecordingSpan bug (#957)
* [instrumentation/wsgi] fix NonRecordingSpan bug

There was a bug caused by accessing `.kind` on a NonRecordingSpan. Added a test to validate the fix.

Fix #956

* fix lint

* use is_recording

* fix lint

* fix lint

* fix lint
2022-03-10 12:02:49 -06:00
Ashutosh Goel 2f5bbc416a
Capture custom request/response headers for wsgi and change in passing response_headers in django, pyramid (#925) 2022-03-07 09:41:46 -08:00
Remi Rampin 7bb29bd9ab
Fix typos (#929) 2022-03-02 14:03:34 -08:00
Sanket Mehta 454f4b1511
code changes to resolve conditional server span creation for WSGI and adding 'attributes' parameter to util function (#903)
* code changes to resolve conditional server span creation for WSGI (https://github.com/open-telemetry/opentelemetry-python-contrib/issues/454)

* Adding entry to changelog.md

* modifying _start_internal_or_server_span() to add attributes as a parameter. Also calling _start_internal_or_server_span() in WSGI instrumentation

* resolving flake8 and typo issues
2022-02-08 22:03:18 -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
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
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 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
Leighton Chen 9f6c97af9f
Release/1.6.0 0.25b0 (#732) 2021-10-13 14:54:52 -07:00
alrex fbb677a01d
use f-strings instead of format (#693)
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2021-09-28 19:12:47 +00:00
alrex 354bdc42d9
update open calls to pass encoding (#684) 2021-09-22 10:16:14 -07:00
Owais Lone 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
Srikanth Chekuri 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
Diego Hurtado 4d0f57bbc5
Release/1.4.0 0.23b0 (#597) 2021-07-19 15:57:58 -07:00
alrex 753e22896a
updating dependency for api/sdk to major version (#567)
Co-authored-by: Leighton Chen <lechen@microsoft.com>
2021-07-09 10:17:18 -07:00
alrex 5b43a5993d
fix missing dep in docs build (#557) 2021-06-30 12:49:45 -07:00
kamalhussain e12917401f
Adding web.py example (#523)
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2021-06-17 08:31:09 -07:00
Ryo Kather 865837f757
Ensure clean http url (#538) 2021-06-11 09:01:52 -07:00
kamalhussain e347fa7541
Update __init__.py (#537) 2021-06-09 09:20:06 -07:00
Leighton Chen 3d7cc64a97
[chore] update main after 0.22b0 release (#528) 2021-06-02 09:16:26 -07:00
Leighton Chen 36c5937770
Release for V1.3.0 and 0.22b0 (#526) 2021-06-01 18:24:03 -07:00
Owais Lone 5d1f3201af
Simplify bootstrap and generate code (#514)
- We now automatically generate bootstrap_gen.py file from the list of instrumentations present in the source tree.
- Bootstrap command now uses consumes this auto-generated list instead of keeping it's own local copy.
- We no longer uninstall packages before installing them as instrumentation package no longer specify libraries as dependencies so the edge cases are no longer there.
- We no longer try to install an incompatible version or force upgrade/downgrade an installed version. This used to leave systems in broken states which should happen no more.
2021-06-01 09:19:09 -07:00
Diego Hurtado 4a8b32b941
Fix error in license files (#521)
Fixes #520
2021-05-28 09:16:58 -07:00
Owais Lone daa72382df
Instrumentation runtime checks (#475) 2021-05-26 22:55:36 -07:00
alrex 639f257f71
[chore] bump 1.3.0.dev0 & 0.22.dev0 versions (#494) 2021-05-12 11:54:18 -07:00
alrex c49e69c0bc
prepare 0.21b0 release (#493) 2021-05-11 20:58:17 -07:00
Owais Lone cb35cc40ab
Generate instrumentation packages setup.py files (#474)
All instrumentations packages have almost exactly same setup.py files.
This commit adds a python script that generates it from a source
template. This dramatically reduces the time and effort required to
update all instrumentation setup.py files, and also reduces chances of
making manual mistakes.
2021-04-29 17:16:41 -07:00
Srikanth Chekuri 3ec77360cb
Update instrumentations to use tracer_provider for creating tracer if given, otherwise use global tracer provider (#402) 2021-04-28 08:36:37 -07:00
Leighton Chen 2ede3a5b87
[chore] Update main after 1.1.0 release (#463) 2021-04-21 08:03:20 -07:00
Srikanth Chekuri 8d0c150b31
Sync with auto generated semantic convention constants (#428) 2021-04-19 23:37:10 -07:00
Owais Lone 308369004c
Added opt-in support to return traceresponse headers for server instrumentations. (#436) 2021-04-19 12:03:31 -07:00
Owais Lone 96b0f592b7
Replaced WSGI name callback with request/response hooks (#424) 2021-04-14 08:18:47 -07:00
Dhruv Vora 658f9ca019
Added link to examples folder in each instrumentation (#438) 2021-04-13 14:56:30 -07:00
Srikanth Chekuri 370952f684
Remove http.status_text from span attributes (#406) 2021-04-08 09:40:20 -07:00
alrex 35774f19f4
bump version to 0.20.dev0 (#396) 2021-04-05 09:17:56 -07:00
alrex 56072a25f0
preparing 1.0.0/0.19b0 release (#384) 2021-03-26 15:22:09 -07:00
Diego Hurtado d89f865221
Sync with Make setters and getters optional (#372) 2021-03-26 10:20:01 -07:00
Marcin Zaremba 795bc867ff
Reimplement the keys method in WSGI CarrierGetter (#379) 2021-03-25 08:46:02 -07:00
alrex ef0f74ec64
remove python 3.5 support (#374) 2021-03-18 08:15:35 -07:00
alrex 9315eb0fb2
use StatusCode from trace instead of trace.status (#366) 2021-03-09 14:33:13 -08:00
Owais Lone f436514554
Replaced Tracer.use_span() with opentelemetry.trace.use_span() (#364) 2021-03-08 09:33:49 -08:00
alrex 10a448ee75
move textmap propagators to opentelemetry.propagators (#355) 2021-03-02 16:47:29 -08:00
Leighton Chen 13e72b1906
[Chore] Update main after 0.18b0 release (#338) 2021-02-16 16:24:28 -08:00
Diego Hurtado 269e0f4de3
Add OpenTracing propagator (#302) 2021-02-16 15:42:13 -08:00
Leighton Chen 9c1f98d250
Update main after 1.0.0rc1 release from core (#333) 2021-02-16 09:35:18 -08:00
Mario Jonke f0adb23143
Remove 'component' span attribute in instrumentations (#301) 2021-01-29 13:15:26 -08:00
alrex f022385e37
update references to main (#306) 2021-01-29 12:09:22 -08:00
alrex 08e82a92d7
[post-release] updating version to 0.18.dev0 (#289) 2021-01-21 09:10:30 -08:00
alrex 2a11aeeafa
[pre-release] Update changelogs, version [0.17b0] (#287) 2021-01-20 16:01:24 -08:00
Owais Lone 472f845381
Upgrade isort and enable black compat mode (#248) 2021-01-05 07:23:53 -08:00
Sergei Malafeev 11a06db3d5
Rename "host.port" attribute to "net.host.port" (#242) 2020-12-11 07:55:11 -08:00
alrex ae70d5abe5
Combine changelogs (#239) 2020-12-08 16:20:29 -08:00
Leighton Chen 3eb27ca466
Return none for Getter if key does not exist (#233) 2020-12-08 08:22:38 -08:00
Alex Boten bcec49cf2e update version to 0.17.dev0 2020-11-25 21:10:39 -08:00
alrex 3e4c5d3aa3
[pre-release] Update changelogs, version [0.16b0] (#217) 2020-11-25 19:44:20 -08:00
Nathaniel Ruiz Nowell 3ae0edb259 Update package links to point to contrib repo 2020-11-18 13:09:44 -08:00
(Eliseo) Nathaniel Ruiz Nowell eb53012a8c
Fix lint by making pkg tests folders namespace pkgs (#131) 2020-11-06 13:11:51 -08:00
(Eliseo) Nathaniel Ruiz Nowell 28c1331e57
Update Contrib packages to 0.16dev0 (#129) 2020-11-05 11:25:37 -08:00
alrex 4e9f2e1e16 [pre-release] Update changelogs, version [0.15b0] (#1320) 2020-11-02 09:00:06 -08:00
Prajilesh N 82c0ae94c6 Converted TextMap propagator getter to a class and added keys method (#1196)
Co-authored-by: alrex <aboten@lightstep.com>
2020-11-01 20:12:47 -08:00
Leighton Chen 913ae1f40f Change status codes from grpc status codes, remove setting status in instrumentations except on ERROR (#1282) 2020-10-28 14:28:58 -07:00
Leighton Chen c9a3a121a5 chore: bump dev version (#1235) 2020-10-13 11:38:09 -07:00
Leighton Chen 7addc1e403 instrumentation/wsgi: Use is_recording flag in wsgi instrumentation (#1122) 2020-09-21 08:38:58 -07:00
alrex 04316cad0b chore: bump dev version (#1131) 2020-09-17 12:21:39 -07:00
alrex 8ee2ff9dac release: updating changelogs and version to 0.13b0 (#1129)
* updating changelogs and version to 0.13b0
2020-09-17 08:23:52 -07:00
alrex daf9b134b6 dropping support for python 3.4 (#1099)
* dropping support for python 3.4
2020-09-14 15:11:56 -07:00
Leighton Chen d1332d2c36 chore: 0.13.dev0 version update (#991) 2020-08-15 18:06:27 -07:00
Abhilash Gnan 59f7e94644 Add HTTP user-agent in WSGI instrumentation (#964) 2020-08-04 09:22:22 -07:00
Leighton Chen d19b464a0a Rename web framework packages from "ext" to "instrumentation" (#961) 2020-08-03 10:10:45 -07:00