Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load instrumentors via Distro #480

Merged
merged 2 commits into from
May 4, 2021

Commits on Apr 30, 2021

  1. Load instrumentors via Distro

    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.
    owais committed Apr 30, 2021
    Configuration menu
    Copy the full SHA
    c86dae6 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2021

  1. Configuration menu
    Copy the full SHA
    015fa96 View commit details
    Browse the repository at this point in the history