1200 Commits

Author SHA1 Message Date
c49e69c0bc prepare 0.21b0 release (#493) v0.21b0 2021-05-11 20:58:17 -07:00
e606542981 fix entrypoint for ottrace propagator (#492) 2021-05-10 16:07:32 -07:00
c12591ee65 Keep client interceptors in sync with grpc client interceptors (#442) 2021-05-07 08:49:10 -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
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
01db88bfe8 Add expectation excerpt in contributing.md for instrumentations (#482) 2021-05-03 14:51:26 -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
a89d7a60bb Docs typo fix (#479) 2021-04-29 08:25:48 -07:00
43e0972aea Fix traced_request_attrs (#473) 2021-04-29 08:08:18 -07:00
3ec77360cb Update instrumentations to use tracer_provider for creating tracer if given, otherwise use global tracer provider (#402) 2021-04-28 08:36:37 -07:00
bdbc249ff0 Use traceflags object (#472) 2021-04-27 11:06:24 -07:00
45c94e765d Update datadog exporter error tagging (#459) 2021-04-27 09:42:28 -07:00
b1d6c90d70 add python 3.9 tests (#466) 2021-04-27 09:09:30 -07:00
78cd776243 Revert typo (#470) 2021-04-26 17:26:18 -07:00
f2311ddc40 Move opentelemetry-instrumentation from core (#465) 2021-04-26 11:35:13 -07:00
2ede3a5b87 [chore] Update main after 1.1.0 release (#463) 2021-04-21 08:03:20 -07:00
8d0c150b31 Sync with auto generated semantic convention constants (#428) 2021-04-19 23:37:10 -07:00
308369004c Added opt-in support to return traceresponse headers for server instrumentations. (#436) 2021-04-19 12:03:31 -07:00
4aec1e448f Request/Response hooks for Tornado server and client (#426) 2021-04-16 13:30:11 -07:00
0fcb60d2ad no longer pin sphinx (#443) 2021-04-14 09:04:07 -07:00
08682f6f1d redis: fix default port KeyError, wrong attr name (#265)
* redis: fix default port KeyError, wrong attr name
* fix docker tests and another ip/port issue in asyncpg

Co-authored-by: Alex Boten <aboten@lightstep.com>
2021-04-14 08:45:36 -07:00
96b0f592b7 Replaced WSGI name callback with request/response hooks (#424) 2021-04-14 08:18:47 -07:00
e7d26a4c2d Update gRPCContext wrapper class (#420)
There are a few cases where one needs to dig into `grpc.ServicerContext`
objects, and these fields were missing from our wrapper, which can cause
issues with implmementation.
2021-04-13 15:22:43 -07:00
658f9ca019 Added link to examples folder in each instrumentation (#438) 2021-04-13 14:56:30 -07:00
9e996185d1 Adds support for request and response hooks to Falcon instrumentation. (#415) 2021-04-13 09:30:11 -07:00
370952f684 Remove http.status_text from span attributes (#406) 2021-04-08 09:40:20 -07:00
1ee8924cfb Support request and resposne hooks for Django instrumentation (#407) 2021-04-08 08:06:41 -07:00
ebfd0984e8 add triaged label (#423) 2021-04-07 11:31:10 -07:00
89fb6c292b Fix docstring to clarify data format (#421) 2021-04-07 10:25:09 -07:00
3e1a9fa0c2 Implement missing context methods (#363) 2021-04-07 09:15:40 -07:00
ca8eac61c2 Account for ProxyTracerProvider (#399) 2021-04-07 08:27:18 -07:00
e96a2cd1ad Fix broken links to projects (#413) 2021-04-06 12:58:39 -07:00
634c2ac0ae Update redis instrumentation to follow semantic conventions (#403) 2021-04-05 11:19:16 -07:00
92004b172d add automation to close stale issues (#393) 2021-04-05 10:22:36 -07:00
35774f19f4 bump version to 0.20.dev0 (#396) 2021-04-05 09:17:56 -07:00
41b5f232b4 Fix DataDog trace exporter (#400) 2021-04-05 08:41:37 -07:00
da692d1aed removing toumorokoshi from approvers (#404) 2021-04-05 08:15:05 -07:00
12da395364 fix instrumentation of connection when pool.acquire was called multiple times (#381) 2021-04-02 16:45:12 -07:00
c9bca4e88b Fix GRPC context propagation (#392) 2021-04-02 16:32:19 -07:00
a946d5c0cd Consider propagator folder packages when building (#387) 2021-03-31 10:48:30 -07:00
1c5f0b5465 Add urllib3 instrumentation (#299) 2021-03-31 08:08:53 -07:00
56072a25f0 preparing 1.0.0/0.19b0 release (#384) v0.19b0 2021-03-26 15:22:09 -07:00
d89f865221 Sync with Make setters and getters optional (#372) 2021-03-26 10:20:01 -07:00
36e7ad0bc8 sqlalchemy: make sqlalchemy thread safe (#315) 2021-03-25 15:13:39 -07:00
795bc867ff Reimplement the keys method in WSGI CarrierGetter (#379) 2021-03-25 08:46:02 -07:00
2f088f8de0 Fix the empty headers use case for OTTracePropagator (#378) 2021-03-25 07:54:59 -07:00
f8e51c488d update docs to match new jaeger path (#370) 2021-03-20 08:42:45 -07:00
ef0f74ec64 remove python 3.5 support (#374) 2021-03-18 08:15:35 -07:00
2d9df10645 datadog: do not add None tracestate value. (#368)
The datadog exporter sometimes attempts to add a "None" value, if the
datadog origin header doesn't exist.

This does not cause runtime errors in the most recent opentelemetry
release (tracestate protects against an invalid value), but does cause warnings:

WARNING  opentelemetry.trace.span:span.py:230 Invalid key/value pair (dd_origin, None) found.
2021-03-10 22:33:12 -08:00
0917dad997 Sync with Remove time_ns from API (#342) 2021-03-10 08:21:45 -08:00