37 Commits

Author SHA1 Message Date
c49e69c0bc prepare 0.21b0 release (#493) 2021-05-11 20:58:17 -07:00
4966590d6c Added eachdist.py format command (#487)
This just runs black and isort of the entire repository.
2021-05-05 10:07:14 -07:00
cb35cc40ab Generate instrumentation packages setup.py files (#474)
All instrumentations packages have almost exactly same setup.py files.
This commit adds a python script that generates it from a source
template. This dramatically reduces the time and effort required to
update all instrumentation setup.py files, and also reduces chances of
making manual mistakes.
2021-04-29 17:16:41 -07:00
f2311ddc40 Move opentelemetry-instrumentation from core (#465) 2021-04-26 11:35:13 -07:00
a946d5c0cd Consider propagator folder packages when building (#387) 2021-03-31 10:48:30 -07:00
ef0f74ec64 remove python 3.5 support (#374) 2021-03-18 08:15:35 -07:00
abb12e426d Update build.sh (#340) 2021-02-17 09:58:35 -08:00
472f845381 Upgrade isort and enable black compat mode (#248) 2021-01-05 07:23:53 -08:00
be7a2c5c68 copying scripts to prepare release (#211) 2020-11-24 11:13:02 -08:00
1dd16c3325 Update scripts for contrib repo 2020-11-02 14:56:14 -08:00
78eafde5c2 Merge branch 'core-scripts-v0.15b0' 2020-11-02 14:55:16 -08:00
7de931f047 Add Global Error Handler (#1080) 2020-09-30 07:22:53 -07:00
55064ba489 Rename remaining framework packages from "ext" to "instrumentation" (#969) 2020-08-04 19:10:51 -07:00
76d1cee3fc Rename web framework packages from "ext" to "instrumentation" (#961) 2020-08-03 10:10:45 -07:00
9367a2588d Rename exporter packages from "ext" to "exporter" (#953) 2020-07-29 10:03:46 -07:00
52c2719b7a remove google exporter files (#918) 2020-07-16 13:12:44 -07:00
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
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
d219699d0b chore: moving code to prepare the release to eachdist (#808) 2020-06-16 15:51:56 -07:00
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
34f0e88967 chore: add test coverage for Cloud Monitoring exporter (#804)
Previously cloud monitoring was missing coverage.
2020-06-11 14:41:22 -07:00
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
1536a863da cloud-trace: Cloud Trace exporter (#698)
Co-authored-by: Cheng-Lung Sung <clsung@gmail.com>
2020-06-03 21:33:36 -07:00
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
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
157f6ba035 Add exporter to Datadog (#572)
Add an exporter to Datadog. This implementation makes use of ddtrace to handle the creation of Datadog traces and writing them to the Datadog agent.

Co-Authored-By: Mauricio Vásquez <mauricio@kinvolk.io>
2020-05-13 14:51:28 -07:00
35f1e5bbdf aiohttp: aiohttp client (#421)
Adding initial aiohttp client.

This module is only supported on Python3.5, which is the oldest supported by
aiohttp.

Co-authored-by: Yusuke Tsutsumi <yusuke@tsutsumi.io>
2020-05-06 20:40:47 -07:00
da77a731d8 requests: Rename http_requests to requests (#619)
The requests integration is named http-requests because at the time it was created there were some problems with pylint. 

other integrations are using opentelemetry.ext.integration without problems, tests are passing without issue, even renamed.
2020-05-02 21:31:15 -07:00
fc4620c5b8 Add eachdist and move tox to root folder (#29)
Move tox and other configuration files to root folder. Add eachdist to make it
easier to handle operations with different packages.

The eachdist is taken from opentelemetry but slighty modified to avoid ignoring
a given path.
2020-04-09 10:06:59 -07:00
5aee3ce32e Move DD code into its own directory (#6) 2020-04-08 10:39:44 -07:00
9278d5ebf9 lint: Add test for package readme syntax errors (#492)
Add a test to ensure readmes render properly

Also adds README.rst for testutil package to pass new test.

Co-authored-by: Christian Neumüller <christian+github@neumueller.me>
2020-03-27 21:45:15 -07:00
6a56ce4132 Improve docs structure (#467)
- Creates a tree structure for documentation, it allows to organize it better
  from a developer point of view and also the rendered documentation should be
  easier to navigate.
- Moves partially the main readme to be included in the online docs, the main
  readme will be updated to have a link to avoid duplicated content)
- Moves the examples folder to the docs, so they can be accessed through the
  online documentation. Creates a new pair of "macros" to create links to
  specific versions, scm_web & scm_raw_web.

Co-authored-by: Chris Kleinknecht <libc@google.com>
2020-03-10 09:50:16 -07:00
f13c716af6 Merge in latest from datadog/dd-trace-py (#1) 2020-02-26 08:57:16 -08:00
5b282c3951 Metrics export pipeline + metrics stdout exporter (#341)
Initial implementation of the end-to-end metrics pipeline.
2020-02-11 11:07:11 -08:00
331aeb3751 Adding Zipkin exporter (#320)
Signed-off-by: Alex Boten <aboten@lightstep.com>
2019-12-29 22:02:55 -08:00
d8434bf2da Add eachdist.py to simplify build (#291) 2019-12-09 17:54:56 -08:00
1bc956f705 Add test coverage collecting (#128) 2019-11-06 16:11:45 -08:00