Skip to content

Commit

Permalink
instrumentation: revise BaseDistro.load_instrumentor documentation (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
xrmx committed May 28, 2024
1 parent f7cef14 commit 25e429a
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@ def configure(self, **kwargs):
def load_instrumentor( # pylint: disable=no-self-use
self, entry_point: EntryPoint, **kwargs
):
"""Takes a collection of instrumentation entry points
and activates them by instantiating and calling instrument()
on each one.
"""Takes an instrumentation entry point and activates it by instantiating
and calling instrument() on it.
This is called for each opentelemetry_instrumentor entry point by auto
instrumentation.
Distros can override this method to customize the behavior by
inspecting each entry point and configuring them in special ways,
Expand Down

0 comments on commit 25e429a

Please sign in to comment.