Commit Graph

130 Commits

Author SHA1 Message Date
OpenTelemetry Bot afd8428997
Update version to 1.19.0.dev/0.40b0.dev (#1797)
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2023-05-17 10:47:58 -06:00
Rafael Muñoz 27d6706f90
Pass request attributes to Sampler in Django (#1730) 2023-03-31 19:34:57 +05:30
OpenTelemetry Bot e4d8f10ecd
Update version to 1.18.0.dev/0.39b0.dev (#1723) 2023-03-22 22:01:45 +05:30
OpenTelemetry Bot 482804451a
Update version to 1.17.0.dev/0.38b0.dev (#1677)
* Update version to 1.17.0.dev/0.38b0.dev

* Update SHA

---------

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2023-02-17 11:42:54 -06:00
Akochavi 7aa4aec3a6
Audit and test opentelemetry-instrumentation-django NoOpTracerProvider (#1611) 2023-02-13 15:01:48 +00:00
Leighton Chen 3770e574eb
Add ability to exclude some routes explicitly with Django Instrumentation (#1618) 2023-02-03 15:14:28 -08:00
Tom de Bruijn 78874df5c2
Fix install of Python 3.10 on GitHub Actions (#1609)
* Fix install of Python 3.10 on GitHub Actions

In PR #1604 the Python version was upgraded to Python 3.10 to fix a
local issue on M1 MacBooks.

The GitHub Action workflows now exit with the following message for the
docker-tests, spellcheck and lint checks, skipping these checks.

```
lint create: /home/runner/work/opentelemetry-python-contrib/opentelemetry-python-contrib/.tox/lint
SKIPPED: InterpreterNotFound: python3.10
___________________________________ summary ____________________________________
SKIPPED:  lint: InterpreterNotFound: python3.10
  congratulations :)
```

Upgrade the Python version in the GitHub Actions workflow to fix this.

* Fix YAML interpretation of Python 3.10

* Upgrade Docker tests dependencies

Upgrade the asyncpg and psycopg2 packages, they don't work on Python
3.10.

This also fixes running these tests no M1 MacBooks.

* Fix linter issues merged into main

They went unnoticed while the CI didn't fail on the lint task not
working.

---------

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2023-02-03 08:37:24 +05:30
Shalev Roda 1f0dda9865
Add uninstrument test for django (#1557) 2023-01-06 17:34:15 +00:00
Federico Bond c1206d9c08
Fix typo in Django docs (#1562) 2023-01-06 09:54:27 +05:30
Srikanth Chekuri 0f2451be26
Update version to 1.16.0.dev/0.37b0.dev (#1485) 2022-12-10 04:03:22 +05:30
Srikanth Chekuri 71781d3964
updating changelogs and version to 1.15.0-0.36b0 (#1482) 2022-12-10 02:33:51 +05:30
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
Dan Rogers a8cf644960
Add support for regular expression matching and sanitizing of headers in Django. (#1411) 2022-11-02 09:24:33 +05:30
Srikanth Chekuri 38d384a2ae
Add support for py3.11 (#1415) 2022-10-31 21:19:50 +00:00
Leighton Chen 75953f3b25
Use metric semantic conventions (#1380) 2022-10-19 12:31:01 -07:00
Jeremy Voss a47c45e61b
Adding try catch to fix ImproperlyConfigured exception while allowing (#1369) 2022-10-06 13:23:50 +00: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 e5bbf78d07
Update package metadata opentelemetry-instrumentation-django (#1275) 2022-09-14 00:43:20 +05:30
Thiyagu55 32d7ff4082
Flask sqlalchemy psycopg2 integration (#1224) 2022-09-08 20:18:27 +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
Sanket Mehta 7382b5eed9
Restore metrics in django (#1208) 2022-08-24 20:25:32 +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
Thiyagu55 7c75b3867b
SQLCommenter semicolon bug fix (#1200) 2022-07-22 07:52:40 +05:30
Thiyagu55 9e2dbecedc
Adding multiple db connections support for django-instrumentation's sqlcommenter (#1187) 2022-07-14 15:59:34 +05:30
Diego Hurtado ee4083982f
Release 1.12.0rc2-0.32b0 (#1174) 2022-07-04 15:14:50 +02:00
Thiyagu55 ac84e9968f
Integrating sql commenter into otel_django_instrumentation (#896)
* Integrating sql commenter into otel_django_instrumentation

* Added test cases for django

* - Linting changes
- Added Changelog

* - Linting changes

* - Linting changes

* - Linting changes

* - Linting changes

* - Linting changes

* - Linting changes

* - Linting changes

* PR changes

* PR changes

* Linting changes

* Linting changes

* Linting changes

* Linting changes

* PR changes

* PR changes

* PR changes

* linting changes

* PR changes

* linting changes

* PR changes

* PR changes

* PR changes

* PR changes

* PR changes

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2022-06-29 12:06:25 +02:00
Srikanth Chekuri 0007c9046c
Add metric instrumentation for WSGI (#1128) 2022-06-22 03:54:05 +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
Sanket Mehta b1e94d6a6b
Django: Capture custom request/response headers (#1024) 2022-04-05 12:05:48 -07:00
Diego Hurtado 7a0caed36f
updating changelogs and version to 1.10.0-0.29b0 (#995) (#996) 2022-03-10 17:49: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
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
Ashutosh Goel 0e92d6add8
Mark span as internal in presence of another span for tornado and use (#889)
_start_internal_or_server_span function for flask, pyramid and django

Adding changelog entry

Adding unit test and fixing lint errors

Refactoring to use _start_internal_or_server_span function

Removing unwanted imports and variables

Fixing lint errors

adding changes from tox -e generate

Fixing build errors
2022-02-03 14:08:04 +05:30
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
Dan 91d65e033e
Fix Django 1.9 issue preventing use of MIDDLEWARE_CLASSES (#870)
* Update CHANGELOG.md

* Fix Django 1.9 issue preventing use of MIDDLEWARE_CLASSES

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2022-01-22 00:10:32 +05:30
Sanket Mehta d01efe5c50
Develop/condition server span django (#832)
* Code changes and pytests for https://github.com/open-telemetry/opentelemetry-python-contrib/issues/448

* removing unnecessary imports

* removing unnecessary imports

* adding wsgi.py file to get the wsgi application object

* Revert "Updating personal fork from public repo"

* Revert "Updating personal fork from public repo"

* Revert "Updating personal fork from public repo"

* Revert "Updating personal fork from public repo"

* Changing the unit test case by removing WSGI instrumentation and make it from generalised

* removing unnecessary import statements

* Revert "Updating personal fork from public repo"

* resolving failed builds for lint and generate

* removing commented code

* removing blank line

* removed unused variable resp from test_middleware.py and modified the CHANGELOG.md with PR entry

* modified the CHANGELOG.md to removed unnecessary entry

* modified the CHANGELOG.md to add proper PR entry

Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2022-01-07 16:24:09 -06:00
Owais Lone 0786aa49ad
updating changelogs and version to 1.8.0-0.27b0 (#835) 2021-12-17 22:34:57 +05:30
Jakub Wach 07f81461df
lambda instrumentation - support for flush timeout (#825)
* lambda instrumentation - support for flush timeout

* Update instrumentation/opentelemetry-instrumentation-aws-lambda/tests/test_aws_lambda_instrumentation_manual.py

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

* Update instrumentation/opentelemetry-instrumentation-aws-lambda/tests/test_aws_lambda_instrumentation_manual.py

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

* fixing lint

* fixing django lint

Co-authored-by: (Eliseo) Nathaniel Ruiz Nowell <enruizno@uwaterloo.ca>
2021-12-14 18:06:36 +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
Michael Manganiello 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