Commit Graph

1319 Commits

Author SHA1 Message Date
Leighton Chen c74c6d346e Rename web framework packages from "ext" to "instrumentation" (#961) 2020-08-03 10:10:45 -07:00
Leighton Chen 1c970e614f Rename web framework packages from "ext" to "instrumentation" (#961) 2020-08-03 10:10:45 -07:00
Leighton Chen b372486958 Rename web framework packages from "ext" to "instrumentation" (#961) 2020-08-03 10:10:45 -07:00
Leighton Chen 76d1cee3fc Rename web framework packages from "ext" to "instrumentation" (#961) 2020-08-03 10:10:45 -07:00
Leighton Chen d19b464a0a Rename web framework packages from "ext" to "instrumentation" (#961) 2020-08-03 10:10:45 -07:00
Leighton Chen cf9b0de2c1 Rename web framework packages from "ext" to "instrumentation" (#961) 2020-08-03 10:10:45 -07:00
Leighton Chen 53de79b0aa Rename web framework packages from "ext" to "instrumentation" (#961) 2020-08-03 10:10:45 -07:00
Leighton Chen 0c1b456be1 Rename web framework packages from "ext" to "instrumentation" (#961) 2020-08-03 10:10:45 -07:00
Leighton Chen 9367a2588d Rename exporter packages from "ext" to "exporter" (#953) 2020-07-29 10:03:46 -07:00
Leighton Chen 83f5bf2a49 Rename exporter packages from "ext" to "exporter" (#953) 2020-07-29 10:03:46 -07:00
Leighton Chen 1b9d22dbf7 Rename exporter packages from "ext" to "exporter" (#953) 2020-07-29 10:03:46 -07:00
Diego Hurtado cf1d993468 Move duplicated code to a dependency (#942) 2020-07-28 15:04:31 -07:00
sartx ae9172599c ext/aiopg: Add instrumentation for aiopg (#801)
Co-authored-by: Leighton Chen <lechen@microsoft.com>
Co-authored-by: Alex Boten <aboten@lightstep.com>
2020-07-24 08:35:38 -07:00
Andrew Xue 52c2719b7a remove google exporter files (#918) 2020-07-16 13:12:44 -07:00
Andrew Xue 77455cebcd remove google exporter files (#918) 2020-07-16 13:12:44 -07:00
Connor Adams 8a5df4997c instrumentation/grpc: Testing for gRPC Client Interceptor (#896) 2020-07-16 08:43:04 -07:00
alrex 7d80d468e2 chore: update bootstrap with new instrumentations (#913) 2020-07-15 10:18:33 -07:00
Yusuke Tsutsumi 757f88f0af fastapi instrumentation (#890)
Co-authored-by: Leighton Chen <lechen@microsoft.com>
2020-07-14 23:49:12 -07:00
alrex 5c59ea0831 chore: migrate to circleci (#828) 2020-07-13 16:03:34 -07:00
Yusuke Tsutsumi aab6c9c00b chore: Making eachdist release catch more deps (#867)
In the last release, eachdist missed updating dependencies
on ext-datadog, which has a slightly different, but valid,
way of specifying the version (omitting some spaces).

Making the eachdist regex more lenient to catch other valid
version specifications.

Also modifying the ext-datadog dependency specification to
match the format of all the others.

Co-authored-by: Leighton Chen <lechen@microsoft.com>
2020-07-02 09:45:56 -07:00
Aaron Abbott 4438ae703c Script to regenerate proto code + pyi stubs (#823) 2020-06-22 10:47:07 -07:00
HiveTraum 6cc1e5a6a2 Instrumentation for asyncpg (#814)
Co-authored-by: Yusuke Tsutsumi <yusuke@tsutsumi.io>
2020-06-17 15:27:13 -07:00
Tahir H. Butt 83d8accf66 Add instrumentation for Celery (#780)
Ported from the DataDog instrumentation.

Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
Co-authored-by: Mauricio Vásquez <mauricio@kinvolk.io>
Co-authored-by: alrex <alrex.boten@gmail.com>
2020-06-16 22:13:23 -07:00
Owais Lone 277bcee29a Initial elasticsearch instrumentation (#747)
This commit adds auto-instrumentation for elasticsearch. The
instrumentation has been mostly ported over from OpenTracing
elasticsearch instrumentation.

Co-authored-by: Yusuke Tsutsumi <yusuke@tsutsumi.io>
Co-authored-by: alrex <aboten@lightstep.com>
2020-06-16 22:09:43 -07:00
Owais Lone 4e1cb880c1 Initial elasticsearch instrumentation (#747)
This commit adds auto-instrumentation for elasticsearch. The
instrumentation has been mostly ported over from OpenTracing
elasticsearch instrumentation.

Co-authored-by: Yusuke Tsutsumi <yusuke@tsutsumi.io>
Co-authored-by: alrex <aboten@lightstep.com>
2020-06-16 22:09:43 -07:00
alrex d219699d0b chore: moving code to prepare the release to eachdist (#808) 2020-06-16 15:51:56 -07:00
Tahir H. Butt bf5006e1e2 fix(tests): install asgi early (#831)
The lint job raising an error at installation:

ERROR: Could not find a version that satisfies the requirement opentelemetry-ext-asgi==0.10.dev0 (from opentelemetry-instrumentation-starlette==0.10.dev0) (from versions: 0.8b0, 0.9b0)
ERROR: No matching distribution found for opentelemetry-ext-asgi==0.10.dev0 (from opentelemetry-instrumentation-starlette==0.10.dev0)

The opentelemetry-ext-asgi should be installed before depending modules.
2020-06-16 10:37:10 -07:00
Yusuke Tsutsumi b2aa82cd95 starlette instrumentation (#777)
adding an initial starlette instrumentation.

tox does exact match on fields delimited by a dash. Thus,
any instrumentation that includes "instrumentation" in the name
would collide with testing of the "opentelemetry-instrumentation"
package.

Renaming opentelemetry-instrumentation to opentelemetry-instrumentation-base to fix that.

Co-authored-by: Leighton Chen <lechen@microsoft.com>
Co-authored-by: alrex <aboten@lightstep.com>
2020-06-15 13:59:57 -07:00
Yusuke Tsutsumi 244e709bf0 starlette instrumentation (#777)
adding an initial starlette instrumentation.

tox does exact match on fields delimited by a dash. Thus,
any instrumentation that includes "instrumentation" in the name
would collide with testing of the "opentelemetry-instrumentation"
package.

Renaming opentelemetry-instrumentation to opentelemetry-instrumentation-base to fix that.

Co-authored-by: Leighton Chen <lechen@microsoft.com>
Co-authored-by: alrex <aboten@lightstep.com>
2020-06-15 13:59:57 -07:00
Eric Mustin 14289122c2 pymemcache: Add pymemcache instrumentation (#772)
initial implementation
2020-06-12 07:45:28 -07:00
Andrew Xue 34f0e88967 chore: add test coverage for Cloud Monitoring exporter (#804)
Previously cloud monitoring was missing coverage.
2020-06-11 14:41:22 -07:00
Andrew Xue 9d3118ee7d chore: add test coverage for Cloud Monitoring exporter (#804)
Previously cloud monitoring was missing coverage.
2020-06-11 14:41:22 -07:00
Andrew Xue a74c16af9a chore: add opentelemetry-test as a dependancy (#809)
opentelemetry-test was not listed as a test dependency in the asgi instrumentation.
2020-06-10 20:15:47 -07:00
Diego Hurtado 9486b2d4d3 ext/otlp: Add OTLP span exporter (#787)
Co-authored-by: Leighton Chen <lechen@microsoft.com>
Co-authored-by: alrex <aboten@lightstep.com>
2020-06-10 16:44:29 -07:00
Yusuke Tsutsumi d672ca2cb0 chore: installation of test packages in eachdist (#794)
eachdist.py did not support the installation of test packages,
(as defined by the extra_requires:test package group). As a
result, test packages were being added to dev-requirements.txt

By having eachdist.py develop install test packages, and moving
develop/test package definitions to the individual instrumentations,
it is easier to determine which packages require which dependencies
for testing purposes, and enables support for existing dependencies
that follow the extra_requires:test pattern.
2020-06-10 16:14:33 -07:00
Connor Adams 64c2ff46be Instrumentation for Pyramid (#776)
Co-authored-by: Yusuke Tsutsumi <yusuke@tsutsumi.io>
2020-06-10 14:00:40 -07:00
Diego Hurtado 3e42946803 botocore: Add botocore instrumentation (#689)
Adding initial boto core implementation.

Co-authored-by: alrex <alrex.boten@gmail.com>
2020-06-09 14:18:03 -07:00
Diego Hurtado 9fa14e285e proto: Add proto files (#728)
Initial addition of opentelemetry-proto based protobufs.

Co-authored-by: alrex <alrex.boten@gmail.com>
Co-authored-by: Yusuke Tsutsumi <yusuke@tsutsumi.io>
2020-06-09 10:05:21 -07:00
Connor Adams 8d39609e47 refactor: Add common utils to opentelemetry-auto-instrumentation, rename opentelemetry-auto-instrumentation (#741) 2020-06-08 15:52:38 -07:00
Andrew Xue 1536a863da cloud-trace: Cloud Trace exporter (#698)
Co-authored-by: Cheng-Lung Sung <clsung@gmail.com>
2020-06-03 21:33:36 -07:00
Andrew Xue 3ef7afd255 cloud-trace: Cloud Trace exporter (#698)
Co-authored-by: Cheng-Lung Sung <clsung@gmail.com>
2020-06-03 21:33:36 -07:00
Yusuke Tsutsumi 4047cf4b15 opentracing-shim: add testbed for otshim (#727)
This commit ports the OpenTracing testbed[1] to check that the ot-shim is
working as expected using different frameworks.

Gevent doesn't support context vars yet[2], so those tests are not compatible
with opentelemetry and were not ported.

[1] https://github.com/opentracing/opentracing-python/tree/master/testbed
[2] https://github.com/gevent/gevent/issues/1407

Co-authored-by: Mauricio Vásquez <mauricio@kinvolk.io>
Co-authored-by: alrex <aboten@lightstep.com>
2020-06-02 20:37:36 -07:00
Yusuke Tsutsumi 82116bcfe9 opentracing-shim: add testbed for otshim (#727)
This commit ports the OpenTracing testbed[1] to check that the ot-shim is
working as expected using different frameworks.

Gevent doesn't support context vars yet[2], so those tests are not compatible
with opentelemetry and were not ported.

[1] https://github.com/opentracing/opentracing-python/tree/master/testbed
[2] https://github.com/gevent/gevent/issues/1407

Co-authored-by: Mauricio Vásquez <mauricio@kinvolk.io>
Co-authored-by: alrex <aboten@lightstep.com>
2020-06-02 20:37:36 -07:00
Diego Hurtado 0a37a10713 ext/boto: Add boto instrumentation (#665) 2020-06-02 15:37:56 -07:00
alrex d79be1814f ext/system-metrics: adding instrumentation to collect system metrics (#652)
Adding an extension to provide users an easy mechanism to collect metrics for their system.
2020-05-29 14:02:37 -07:00
Tahir H. Butt 45a003f307 asgi: Add ASGI middleware (#716)
Adding an ASGI extension.

Co-authored-by: Emil Madsen <sovende@gmail.com>
Co-authored-by: alrex <alrex.boten@gmail.com>
Co-authored-by: Florimond Manca <florimond.manca@gmail.com>
2020-05-27 09:17:35 -07:00
Tahir H. Butt 6c4541d4a7 asgi: Add ASGI middleware (#716)
Adding an ASGI extension.

Co-authored-by: Emil Madsen <sovende@gmail.com>
Co-authored-by: alrex <alrex.boten@gmail.com>
Co-authored-by: Florimond Manca <florimond.manca@gmail.com>
2020-05-27 09:17:35 -07:00
HiveTraum 626cf89620 ext/django: django downgrade to 1.10 (#717)
Adding support for django 1.10+
2020-05-25 08:29:51 -07:00
Diego Hurtado 76e1362485 opencensus: Rename otcollector to opencensus (#695)
renaming otcollector to opencensus, as it's using opencensus under the hood. This was originally intended to be replaced by otlp, by a new package can be created for that instead. 

Co-authored-by: alrex <alrex.boten@gmail.com>
2020-05-22 21:01:05 -07:00
Connor Adams 62f9e464b8 SQLite3 Instrumentation (#719)
Adds instrumentation for python sqlite3 library.
2020-05-21 16:14:25 -07:00