74 Commits

Author SHA1 Message Date
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
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
7c75b3867b SQLCommenter semicolon bug fix (#1200) 2022-07-22 07:52:40 +05:30
d75194aed7 Sync with sdk setup from setUpClass to setUp (#1193) 2022-07-19 02:02:13 +05:30
9e2dbecedc Adding multiple db connections support for django-instrumentation's sqlcommenter (#1187) 2022-07-14 15:59:34 +05:30
ee4083982f Release 1.12.0rc2-0.32b0 (#1174) 2022-07-04 15:14:50 +02:00
ff412c6d40 Added aio-pika instrumentation (#1095) 2022-07-02 19:10:09 +05:30
8afbce7533 Fixing inescapable character bug for Windows path string (#1100) 2022-06-04 02:54:50 +05:30
a8b9829f76 Support confluent kafka (#1111)
* add kafka instrumentation

* add confluent kafka instrumentation

* fix tests

* change documentation

* lint fix

* fix lint

Co-authored-by: Nikolay Sokolik <81902191+oxeye-nikolay@users.noreply.github.com>
2022-06-03 14:26:40 +01:00
5f7c293e0f Add instrumentation for remoulade (#1082) 2022-05-31 14:05:41 -07:00
8a7a3f1993 Feature/add boto3 sqs instrumentation (#1081)
* Add Boto3SQS Instrumentation

* Add basic tests

* Add context setting list

* Fix linting

* CR and lint fixes

* Add newline

* Run tox generate

* Change the dependency version

* Fix linting

* PR fixes. Remove walrus operator and use the `start_as_current_span`

* Run lint and generate

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2022-05-25 12:01:31 +02:00
10659f8970 Release 1.12.0rc1-0.31b0 (#1094) 2022-05-17 13:18:55 -06:00
9e539391b2 [opentelemetry-instrumentation] add version flag (#1065) 2022-04-27 22:30:14 +05:30
b6964ccf3a Release 1.11.1-0.30b1 (#1067) 2022-04-22 02:29:17 +05:30
c90935395f Prune autoinstrumentation sitecustomize module directory from PYTHONPATH immediately (#1066) 2022-04-21 16:22:26 +05:30
3ca7e7a5a3 Release 1.11.0-0.30b0 (#1056) 2022-04-18 10:04:18 -07:00
abdd25f644 Add falcon version 1.4.1 support to opentelemetry-instrumentation-falcon (#1000) 2022-04-16 01:54:22 +05:30
40c1805b11 opentelemetry-instrumentation-system-metrics restore package (#1012) 2022-04-06 10:54:22 -07:00
b8cad79113 Update pymemcache instrumentation to support pymemcache version >= 1.3.5 (#935) 2022-04-06 08:55:51 -07:00
7a0caed36f updating changelogs and version to 1.10.0-0.29b0 (#995) (#996) 2022-03-10 17:49:49 -06:00
dbb35a2946 Sqlcommenter integration into SQLAlchemy (#924)
* Integrating sqlcommenter into psycopg2

* Integrating sqlcommenter into psycopg2 - Converted public local variable into private

* Added test cases for sqlcommenter & PR Changes

* Code refactoring for generate sqlcommenter

* Added testcase for sqlcommenter integration into sqlalchemy

* updated change log

* updated to accept latest logs

* Updated lint changes

* Fixed errors due to linting

* Fixed linting errors

* Fixed linting errors

* Fixed linting errors

* Update CHANGELOG.md

* Update CHANGELOG.md

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2022-03-08 23:57:00 -06:00
22cc215c6c [build] bump pylint (#923)
* [build] bump pylint

Fixes #632

* apply lint suggestions

* specify encoding
2022-02-16 17:52:00 -06:00
d54b61e687 feat(instrumentation-dbapi): add experimental sql commenter capability (#908)
* feat(instrumentation-dbapi): add experimental sql commenter capability

* Update instrumentation/opentelemetry-instrumentation-dbapi/src/opentelemetry/instrumentation/dbapi/__init__.py

Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>

* Fix lint

* Add CHANGELOG entry

* Fix lint

* Fix lint again

Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2022-02-11 10:14:26 -06:00
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
0b9e96dae0 Support newer httpx versions (#866) 2022-02-04 09:07:31 -08:00
0e553419c5 Handle null statuses in http_status_to_status_code (#823) 2022-02-02 10:53:43 -08:00
2189e81da1 feat: support pymongo v4.0 (#876) 2022-02-01 17:16:16 +05:30
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
089c2b8262 Release Botocore Instrumentation as 0.28b0 (#878) 2022-01-27 02:05:32 +05:30
f9b4d2b864 updating changelogs and version to 1.9.0-0.28b0 (#875) 2022-01-26 12:00:44 -06:00
8bb1e74ccf Conditionally create server spans for falcon (#867)
* Making span as internal for falcon in presence of a span in current context

* Updating changelog

* Fixing lint and generate build failures

* Resolving comments: Converting snippet to re-usable function

* Fixing build failures

* Resolving comments: Creating wrapper for start span to make internal/server span

* Rerun docker tests

* Resolving comments: Refactoring
2022-01-21 10:24:01 -06:00
e67a728be5 kafka-python instrumentation (#814) 2022-01-10 09:55:52 -08:00
26aa17f8e9 Support older pika versions (#837)
* feat: support older pika versions

* update tox.ini

* update changelog

* take version from pika

* avoid exception when property name changes

* add callback attr name test
2021-12-26 03:03:22 +05:30
0786aa49ad updating changelogs and version to 1.8.0-0.27b0 (#835) 2021-12-17 22:34:57 +05:30
e6dff7e5d1 Add support instrumentation for Tornado 5.1.1 (#812)
* Add support instrumentation for Tornado 5.1.1

* update CHANGELOG.md
2021-11-17 17:34:25 +00:00
a9507b3d1d updating changelogs and version to 1.7.1-0.26b1 (#809) 2021-11-12 01:30:47 +05:30
e621d637e9 updating changelogs and version to 1.7.0-0.26b0 (#805) 2021-11-11 18:55:06 +00:00
2dd9bd12ea Pass in auto-instrumentation version to configurator (#783)
* version

* Update CHANGELOG.md

Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2021-11-11 11:48:46 +00:00
3137c1fa41 Upgrade black (#802) 2021-11-10 20:57:01 +00:00
f4d09f956a Remove special support for celery from sitecustomize (#799)
This is not required anymore after merging https://github.com/open-telemetry/opentelemetry-python/pull/2242
2021-11-10 17:17:36 +05:30
59933299ef Use __name__ instead of __file__ (#794)
Fixes #787
2021-11-09 04:59:03 +05:30
0c083ff6ea Support PyMySQL 1.x series (#792)
Fixes #791
2021-11-06 17:18:50 +05:30
6912c3963d Add setuptools instrumentation install requirement (#781)
The `setuptools` package is not part of the stdlib, but often available
in the system environment (it is a buildtime requirement).

`pkg_resources` (a package provided by `setuptools`) is used as
a runtime requirement in `opentelemetry-instrumentation`. Explicitly
listing `setuptools` as a requirement protects instrumentation from
breaking with import errors in cases where `setuptools` is not available
system-wide.

For example:

* A multi-stage Docker build where the final image does not contain
buildtime requirements.
* A build system that packages the runtime dependencies into a single
binary.

This commit pins `setuptools >= 16.0` because that is the first release
that included all 5 imports instrumentation currently relies on.

Co-authored-by: Matt Oberle <mattoberle@users.noreply.github.com>
2021-10-28 04:23:10 +05:30
335a14c682 adding CI testing for python 3.10 (#742) 2021-10-26 21:43:23 +00:00
76a5cda307 Don't set STATUS on SpanKind SERVER for 4XX status (#776) 2021-10-26 11:44:44 -07:00
dbc6a86bf1 Add instrumentation for AWS Lambda Service - pkg metadata files (Part 1/2) (#739)
* Add instrumentation for AWS Lambda Service

* Add AWS Lambda package metadata files
2021-10-26 20:58:12 +05:30
c24c77dd3a Bugfix/instrument basic publish in pika (#759) 2021-10-19 14:02:24 -07:00
433b8565da opentelemetry-instrument: Fix documented options (#747) 2021-10-19 19:18:11 +00:00
d158a5f3b8 Prepare release v1.6.2 and 0.25b2 (#762) 2021-10-20 00:00:28 +05:30