1236 Commits

Author SHA1 Message Date
c100b21fa4 Require aiopg to be less than 1.3.0 (#560) 2021-07-01 14:01:25 -07:00
5b43a5993d fix missing dep in docs build (#557) 2021-06-30 12:49:45 -07:00
de93b2ad28 Update CONTRIBUTING document (#417)
Co-authored-by: alrex <aboten@lightstep.com>
2021-06-25 09:03:15 -07:00
9c81eda7a8 Include Flask 2.0 as compatible with existing flask instrumentation (#545) 2021-06-24 13:30:34 -07:00
63e7561931 Update the psycopg2 dependency (#543) 2021-06-22 07:47:34 -07:00
e12917401f Adding web.py example (#523)
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2021-06-17 08:31:09 -07:00
7cae4d3001 Enable passing explicit urls to exclude in instrumentation in FastAPI (#486) 2021-06-14 17:17:39 -07:00
c1fbe0e281 Fix tox build (#542) 2021-06-14 15:46:10 -07:00
4be32b542b Add create context key to contrib (#502) 2021-06-11 09:50:06 -07:00
865837f757 Ensure clean http url (#538) 2021-06-11 09:01:52 -07:00
e347fa7541 Update __init__.py (#537) 2021-06-09 09:20:06 -07:00
9695bcfed3 Add support for HTTPX instrumentation (#461) 2021-06-08 08:28:03 -07:00
b2dd4b8205 Fix pyodbc cursor error in SQLA instrumentation (#469) 2021-06-07 09:11:37 -07:00
fe4e2d44c5 Reorder on_finish call order to correctly instrument all tornado work done during a request (#499)
Co-authored-by: alrex <aboten@lightstep.com>
2021-06-07 08:43:08 -07:00
5b125b196a Fix auto-instrumentation dependency conflict detection (#530) 2021-06-04 09:49:07 -07:00
9c834f0881 Fix generate_instrumentation_bootstrap script on windows (#527) 2021-06-03 08:49:48 -07:00
a3ecbc1f41 Add SQLAlchemy multithreading test (#468) 2021-06-03 08:33:06 -07:00
3d7cc64a97 [chore] update main after 0.22b0 release (#528) 2021-06-02 09:16:26 -07:00
36c5937770 Release for V1.3.0 and 0.22b0 (#526) v0.22b0 2021-06-01 18:24:03 -07:00
287cda9b37 Add employer for Diego (#525)
Fixes #524
2021-06-01 16:54:51 -07:00
fbd39ccaac [FLASK] added request and response hook (#416) 2021-06-01 14:44:24 -07:00
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
af7ab072cc update base version of python to 3.9 (#515) 2021-05-31 12:17:49 -07:00
3a7eb5364c Make propagators conform to spec (#488)
* Make propagators conform to spec

* do not modify / set an invalid span in the passed context in case
  a propagator did not manage to extract
* in case no context is passed to propagator.extract assume the root
  context as default so that a new trace is started instead of continung
  the current active trace in case extraction fails
* fix also ot-trace propagator which compared int with str trace/span ids
  when checking for validity in extract
2021-05-31 09:35:28 -07:00
4a8b32b941 Fix error in license files (#521)
Fixes #520
2021-05-28 09:16:58 -07:00
3bb28ab345 Fix ASGI instrumentation default span name (#418) 2021-05-27 16:20:29 -07:00
daa72382df Instrumentation runtime checks (#475) 2021-05-26 22:55:36 -07:00
9fe7838ee9 [Chore] Change main after opentelemetry-instrumentation-tornado hotfix (#510) 2021-05-26 14:12:53 -07:00
2bd60536cc Hotfix for tornado instrumentation (#509) 2021-05-25 11:10:24 -07:00
884c5eea13 Add an excerpt in CONTRIBUTING.MD for consistency in instrumentation implementations (#507) 2021-05-25 10:31:10 -07:00
b6ed679a0c Set status code on ASGI server span (#478) 2021-05-25 08:59:23 -07:00
f4a2b615ed Fix tornado instrumentation's usage of Span Status (#504) 2021-05-24 09:52:00 -07:00
c8ec25a3ba implements context propagation for lambda invoke + tests (#458) 2021-05-14 09:23:52 -07:00
c8103f5fa0 remove hectorhdzg from approvers (#489)
Thanks for all the contributions @hectorhdzg!
2021-05-13 08:57:29 -07:00
639f257f71 [chore] bump 1.3.0.dev0 & 0.22.dev0 versions (#494) 2021-05-12 11:54:18 -07:00
c56878ebf1 fix build script issue (#497) 2021-05-12 08:58:47 -07:00
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