Commit Graph

142 Commits

Author SHA1 Message Date
alrex 8abed07184
fix docker-tests build (#282) 2021-01-06 20:39:12 -08:00
Owais Lone 472f845381
Upgrade isort and enable black compat mode (#248) 2021-01-05 07:23:53 -08:00
Michael Manganiello f9ea61cfd8
Celery: Add support for new major version 5.x (#266) 2020-12-22 15:48:23 -08:00
Azfaar Qureshi f6f5b90aeb
Prometheus Remote Write Exporter (6/6) (#227)
* adding README

adding sample app

adding examples readme

fixing lint errors

linting examples

updating readme tls_config example

excluding examples

adding examples to exclude in all linters

adding isort.cfg skip

changing isort to path

ignoring yml only

adding it to excluded directories in pylintrc

only adding exclude to directory

removing readme.rst and adding explicit file names to ignore

adding the rest of the files

adding readme.rst back

adding to ignore glob instead

reverting back to ignore list

converting README.md to README.rst

* addressing readme comments

* adding link to spec for details on aggregators

* updating readme

* adding python-snappy to setup.cfg
2020-12-22 11:06:22 -08:00
Max Nikitenko 187987d9cc
Feature/urllib instrumentation (#222) 2020-12-15 10:11:33 -08:00
Leighton Chen dc24b9d0b4
Fix build (#258) 2020-12-15 08:30:01 -08:00
(Eliseo) Nathaniel Ruiz Nowell 91bfc9afe5
Add performance tests to AWS SDK Extension (#243) 2020-12-11 11:22:17 -08:00
Azfaar Qureshi 6514f37177
Prometheus Remote Write Exporter (5/6) (#216) 2020-12-09 10:46:31 -08:00
Leighton Chen 3b48a38948
Explicitly install dependencies in lint env for tox (#241) 2020-12-08 07:28:48 -08:00
Diego Hurtado 3e36dc282d
Mark test case as flaky (#197)
Fixes #196

This marks the test case as flaky, making it run at most 3 times. It is
enough for one of this runs to pass to consider this test case passed
and ran no more. If 3 consecutive runs of this test case fail, the test
case will be considered failed. It has been reported that running this
test case again makes it pass, usually. This approach is preferred over
marking it as xfail(strict=False) because most of the times the test
ends up passing after another run, so that in most of the cases we
can still benefit from running this test case (since if it is actually
failing because of a bug it will be reported as such after failing 3
times, making the team aware of an actual issue happening here).
2020-11-30 14:30:58 -08:00
(Eliseo) Nathaniel Ruiz Nowell cb70679ae8
Add sklearn tests to test workflow (#177) 2020-11-12 11:37:49 -08:00
Nathaniel Ruiz Nowell c81995d0ce Add SDK Extension for Compatibility with AWS X-Ray 2020-11-09 14:51:30 -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
Nathaniel Ruiz Nowell 82e44f165e Modify existing workflow for CI tests 2020-11-03 13:50:06 -08:00
Nathaniel Ruiz Nowell 48217da7cf Merge branch 'core-ci-v0.15b0' 2020-11-03 10:29:55 -08:00
Alex Boten 6144ad5e3e removing travis 2020-10-01 22:24:30 -07:00
Alex Boten d7b2e89150 removing references to python 3.4 2020-10-01 22:22:49 -07:00
Leighton Chen 677b849cec Adding metric collection as part of instrumentations - Requests (#1116) 2020-09-25 07:31:35 -07:00
Owais Lone 997900a003 Added instrumentation for Tornado 6 and above (#1018)
This commit adds auto-instrumentation for Tornado 6 and above on Python
versions 3.5 and above.
2020-09-17 07:19:27 -07:00
Owais Lone 96c91e16f4 instrumentation/falcon: Added Falcon 2.0+ instrumentation (#1039) 2020-09-16 09:04:02 -07:00
alrex 7ab5cb4416 dropping support for python 3.4 (#1099)
* dropping support for python 3.4
2020-09-14 15:11:56 -07:00
alrex 7d9ea1bd1e Populate resource attributes as per semantic conventions (#1053)
As per semantic conventions, set the `telemetry.sdk` parameters.
2020-09-03 16:02:02 -07:00
Daniel a5bb6de811 Add support for db cursors and connections in context managers (#1028)
Here is an example snippet that will not report tracing without this patch:

with psycopg2.connect(...) as conn, conn.cursor() as cursor:
    cursor.execute("select 1;")

Co-authored-by: Carl Bordum Hansen <carl@bordum.dk>
2020-09-02 11:26:16 -07:00
Leighton Chen 8ca32f0ba5 Rename remaining framework packages from "ext" to "instrumentation" (#969) 2020-08-04 19:10:51 -07:00
Leighton Chen 81595475af Rename db framework packages from "ext" to "instrumentation" (#966) 2020-08-03 17:48:44 -07:00
Leighton Chen 53de79b0aa Rename web framework packages from "ext" to "instrumentation" (#961) 2020-08-03 10:10:45 -07:00
Leighton Chen 83f5bf2a49 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 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
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 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
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 9d3118ee7d chore: add test coverage for Cloud Monitoring exporter (#804)
Previously cloud monitoring was missing coverage.
2020-06-11 14:41:22 -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
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 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 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 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