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
Thiyagu55
7c75b3867b
SQLCommenter semicolon bug fix ( #1200 )
2022-07-22 07:52:40 +05:30
Srikanth Chekuri
d75194aed7
Sync with sdk setup from setUpClass to setUp ( #1193 )
2022-07-19 02:02:13 +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
ofek1weiss
ff412c6d40
Added aio-pika instrumentation ( #1095 )
2022-07-02 19:10:09 +05:30
jerevoss
8afbce7533
Fixing inescapable character bug for Windows path string ( #1100 )
2022-06-04 02:54:50 +05:30
oxeye-dorkolog
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
ben-natan
5f7c293e0f
Add instrumentation for remoulade ( #1082 )
2022-05-31 14:05:41 -07:00
Nikolay Sokolik
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
Diego Hurtado
10659f8970
Release 1.12.0rc1-0.31b0 ( #1094 )
2022-05-17 13:18:55 -06:00
Alex Boten
9e539391b2
[opentelemetry-instrumentation] add version flag ( #1065 )
2022-04-27 22:30:14 +05:30
Srikanth Chekuri
b6964ccf3a
Release 1.11.1-0.30b1 ( #1067 )
2022-04-22 02:29:17 +05:30
Aaron Abbott
c90935395f
Prune autoinstrumentation sitecustomize module directory from PYTHONPATH immediately ( #1066 )
2022-04-21 16:22:26 +05:30
Leighton Chen
3ca7e7a5a3
Release 1.11.0-0.30b0 ( #1056 )
2022-04-18 10:04:18 -07:00
RJ Duffner
abdd25f644
Add falcon version 1.4.1 support to opentelemetry-instrumentation-falcon ( #1000 )
2022-04-16 01:54:22 +05:30
Alex Boten
40c1805b11
`opentelemetry-instrumentation-system-metrics` restore package ( #1012 )
2022-04-06 10:54:22 -07:00
RJ Duffner
b8cad79113
Update pymemcache instrumentation to support pymemcache version >= 1.3.5 ( #935 )
2022-04-06 08:55:51 -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
Thiyagu55
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
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
Srikanth Chekuri
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
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
Ran Nozik
0b9e96dae0
Support newer httpx versions ( #866 )
2022-02-04 09:07:31 -08:00
Greg Buehler
0e553419c5
Handle null statuses in http_status_to_status_code ( #823 )
2022-02-02 10:53:43 -08:00
Ran Nozik
2189e81da1
feat: support pymongo v4.0 ( #876 )
2022-02-01 17:16:16 +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
Nathaniel Ruiz Nowell
089c2b8262
Release Botocore Instrumentation as 0.28b0 ( #878 )
2022-01-27 02:05:32 +05:30
Owais Lone
f9b4d2b864
updating changelogs and version to 1.9.0-0.28b0 ( #875 )
2022-01-26 12:00:44 -06:00
Ashutosh Goel
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
ItayGibel-helios
e67a728be5
kafka-python instrumentation ( #814 )
2022-01-10 09:55:52 -08:00
Ran Nozik
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
Owais Lone
0786aa49ad
updating changelogs and version to 1.8.0-0.27b0 ( #835 )
2021-12-17 22:34:57 +05:30
Nikolay Gribanov
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
Owais Lone
a9507b3d1d
updating changelogs and version to 1.7.1-0.26b1 ( #809 )
2021-11-12 01:30:47 +05:30
Owais Lone
e621d637e9
updating changelogs and version to 1.7.0-0.26b0 ( #805 )
2021-11-11 18:55:06 +00:00
Leighton Chen
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
Owais Lone
3137c1fa41
Upgrade black ( #802 )
2021-11-10 20:57:01 +00:00
Owais Lone
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
Diego Hurtado
59933299ef
Use __name__ instead of __file__ ( #794 )
...
Fixes #787
2021-11-09 04:59:03 +05:30
Owais Lone
0c083ff6ea
Support PyMySQL 1.x series ( #792 )
...
Fixes #791
2021-11-06 17:18:50 +05:30
Matt Oberle
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
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
(Eliseo) Nathaniel Ruiz Nowell
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
Nikolay Sokolik
c24c77dd3a
Bugfix/instrument basic publish in pika ( #759 )
2021-10-19 14:02:24 -07:00
Michael Manganiello
433b8565da
opentelemetry-instrument: Fix documented options ( #747 )
2021-10-19 19:18:11 +00:00
Owais Lone
d158a5f3b8
Prepare release v1.6.2 and 0.25b2 ( #762 )
2021-10-20 00:00:28 +05:30
Owais Lone
27e58e5e3a
Re-enable CI generate check and generate bootstrap_gen ( #757 )
...
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2021-10-19 16:38:16 +00:00
alrex
22b069baae
default value is invalid, was renamed ( #755 )
...
* default value is invalid, was renamed
* Update CHANGELOG.md
Co-authored-by: Owais Lone <owais@users.noreply.github.com>
2021-10-19 15:55:41 +00:00
Leighton Chen
f3dde6b628
updating changelogs and version to 1.6.1-0.25b1 ( #751 )
2021-10-18 13:04:04 -07:00
Owais Lone
7cf3cb42cf
Add instrumentation and distro packages ( #738 )
...
Now that SDK does not depend on opentelemetry-instrumentation
anymore and opentelemetry-instrumentation has actual build time
dependencies on the contrib repo, it makes maintanence a lot
easier if we move opentelemetry-instrumentation to contrib repo.
opentelemetry-distro depends on opentelemetry-instrumentation
and is being moved as well. Neither of the two packages are
really part of "core" Otel python anyway.
2021-10-14 20:35:28 +00:00
Diego Hurtado
278149553b
Remove opentelemetry-instrumentation ( #595 )
...
Fixes #592
2021-07-19 09:19:48 -07:00
Srikanth Chekuri
08daa9d194
Make it explicit to install distro to get auto-instrumentation working ( #588 )
2021-07-16 10:08:29 -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
Leighton Chen
56da6d74df
Consistent way of not instrumenting multiple times ( #549 )
2021-07-09 09:55:44 -07:00
Ryan, Siu Long Wa
c100b21fa4
Require aiopg to be less than 1.3.0 ( #560 )
2021-07-01 14:01:25 -07:00
alrex
5b43a5993d
fix missing dep in docs build ( #557 )
2021-06-30 12:49:45 -07:00
(Eliseo) Nathaniel Ruiz Nowell
9c81eda7a8
Include Flask 2.0 as compatible with existing flask instrumentation ( #545 )
2021-06-24 13:30:34 -07:00
Ryan, Siu Long Wa
63e7561931
Update the psycopg2 dependency ( #543 )
2021-06-22 07:47:34 -07:00
Eunice Kim
4be32b542b
Add create context key to contrib ( #502 )
2021-06-11 09:50:06 -07:00
Joshua
9695bcfed3
Add support for HTTPX instrumentation ( #461 )
2021-06-08 08:28:03 -07:00
Owais Lone
5b125b196a
Fix auto-instrumentation dependency conflict detection ( #530 )
2021-06-04 09:49:07 -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
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
9199e3cb3e
Load instrumentors via Distro ( #480 )
...
This commit makes the following changes:
- Introduces a new `load_instrumentor(EntryPoint) -> None:` with a
default implementation method to the `BaseDistro` class.
- The default implementation loads the insrumentor from the provided
entry point and calls applies it without any arguments. (same as before)
- sitecustomize now calls Distro's `load_instrumentor` method to load
and activate an instrumentor instead of doing it directly.
- Added a new `DefaultDistro` implementation which is used if not distro
is found by entry points.
2021-05-04 11:53:08 -07:00
Leighton Chen
78cd776243
Revert typo ( #470 )
2021-04-26 17:26:18 -07:00
Leighton Chen
f2311ddc40
Move opentelemetry-instrumentation from core ( #465 )
2021-04-26 11:35:13 -07:00