Commit Graph

1529 Commits

Author SHA1 Message Date
Leighton Chen c1fbe0e281
Fix tox build (#542) 2021-06-14 15:46:10 -07:00
Eunice Kim 4be32b542b
Add create context key to contrib (#502) 2021-06-11 09:50:06 -07:00
Ryo Kather 865837f757
Ensure clean http url (#538) 2021-06-11 09:01:52 -07:00
kamalhussain e347fa7541
Update __init__.py (#537) 2021-06-09 09:20:06 -07:00
Joshua 9695bcfed3
Add support for HTTPX instrumentation (#461) 2021-06-08 08:28:03 -07:00
Joshua b2dd4b8205
Fix pyodbc cursor error in SQLA instrumentation (#469) 2021-06-07 09:11:37 -07:00
Peter Bwire 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
Owais Lone 5b125b196a
Fix auto-instrumentation dependency conflict detection (#530) 2021-06-04 09:49:07 -07:00
Owais Lone 9c834f0881
Fix generate_instrumentation_bootstrap script on windows (#527) 2021-06-03 08:49:48 -07:00
Joshua a3ecbc1f41
Add SQLAlchemy multithreading test (#468) 2021-06-03 08:33:06 -07:00
Leighton Chen 3d7cc64a97
[chore] update main after 0.22b0 release (#528) 2021-06-02 09:16:26 -07:00
Leighton Chen 36c5937770
Release for V1.3.0 and 0.22b0 (#526) 2021-06-01 18:24:03 -07:00
Diego Hurtado 287cda9b37
Add employer for Diego (#525)
Fixes #524
2021-06-01 16:54:51 -07:00
Nick fbd39ccaac
[FLASK] added request and response hook (#416) 2021-06-01 14:44:24 -07:00
Owais Lone 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
alrex af7ab072cc
update base version of python to 3.9 (#515) 2021-05-31 12:17:49 -07:00
Mario Jonke 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
Diego Hurtado 4a8b32b941
Fix error in license files (#521)
Fixes #520
2021-05-28 09:16:58 -07:00
Michael Manganiello 3bb28ab345
Fix ASGI instrumentation default span name (#418) 2021-05-27 16:20:29 -07:00
Owais Lone daa72382df
Instrumentation runtime checks (#475) 2021-05-26 22:55:36 -07:00
Leighton Chen 9fe7838ee9
[Chore] Change main after opentelemetry-instrumentation-tornado hotfix (#510) 2021-05-26 14:12:53 -07:00
Leighton Chen 2bd60536cc
Hotfix for tornado instrumentation (#509) 2021-05-25 11:10:24 -07:00
Leighton Chen 884c5eea13
Add an excerpt in CONTRIBUTING.MD for consistency in instrumentation implementations (#507) 2021-05-25 10:31:10 -07:00
Joshua b6ed679a0c
Set status code on ASGI server span (#478) 2021-05-25 08:59:23 -07:00
Owais Lone f4a2b615ed
Fix tornado instrumentation's usage of Span Status (#504) 2021-05-24 09:52:00 -07:00
Jakub Wach c8ec25a3ba
implements context propagation for lambda invoke + tests (#458) 2021-05-14 09:23:52 -07:00
alrex c8103f5fa0
remove hectorhdzg from approvers (#489)
Thanks for all the contributions @hectorhdzg!
2021-05-13 08:57:29 -07:00
alrex 639f257f71
[chore] bump 1.3.0.dev0 & 0.22.dev0 versions (#494) 2021-05-12 11:54:18 -07:00
alrex c56878ebf1
fix build script issue (#497) 2021-05-12 08:58:47 -07:00
alrex c49e69c0bc
prepare 0.21b0 release (#493) 2021-05-11 20:58:17 -07:00
alrex e606542981
fix entrypoint for ottrace propagator (#492) 2021-05-10 16:07:32 -07:00
Mihir Gore c12591ee65
Keep client interceptors in sync with grpc client interceptors (#442) 2021-05-07 08:49:10 -07:00
Owais Lone 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
Owais Lone 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
Leighton Chen 01db88bfe8
Add expectation excerpt in contributing.md for instrumentations (#482) 2021-05-03 14:51:26 -07:00
Owais Lone 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
Marcus Way a89d7a60bb
Docs typo fix (#479) 2021-04-29 08:25:48 -07:00
Daisuke Taniwaki 43e0972aea
Fix traced_request_attrs (#473) 2021-04-29 08:08:18 -07:00
Srikanth Chekuri 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
Diego Hurtado bdbc249ff0
Use traceflags object (#472) 2021-04-27 11:06:24 -07:00
Eric Mustin 45c94e765d
Update datadog exporter error tagging (#459) 2021-04-27 09:42:28 -07:00
alrex b1d6c90d70
add python 3.9 tests (#466) 2021-04-27 09:09:30 -07:00
Leighton Chen 78cd776243
Revert typo (#470) 2021-04-26 17:26:18 -07:00
Leighton Chen f2311ddc40
Move opentelemetry-instrumentation from core (#465) 2021-04-26 11:35:13 -07:00
Leighton Chen 2ede3a5b87
[chore] Update main after 1.1.0 release (#463) 2021-04-21 08:03:20 -07:00
Srikanth Chekuri 8d0c150b31
Sync with auto generated semantic convention constants (#428) 2021-04-19 23:37:10 -07:00
Owais Lone 308369004c
Added opt-in support to return traceresponse headers for server instrumentations. (#436) 2021-04-19 12:03:31 -07:00
Owais Lone 4aec1e448f
Request/Response hooks for Tornado server and client (#426) 2021-04-16 13:30:11 -07:00
alrex 0fcb60d2ad
no longer pin sphinx (#443) 2021-04-14 09:04:07 -07:00
Vint Sanghyeok Lee 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