Commit Graph

4 Commits

Author SHA1 Message Date
Alex Boten 35e6630729 updating changelogs and version to 1.2.0-0.21b0 2021-05-11 15:11:31 -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 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