Skip to content

Commit 25e429a

Browse files
authored
instrumentation: revise BaseDistro.load_instrumentor documentation (#2530)
1 parent f7cef14 commit 25e429a

File tree

1 file changed

+4
-3
lines changed
  • opentelemetry-instrumentation/src/opentelemetry/instrumentation

1 file changed

+4
-3
lines changed

Diff for: opentelemetry-instrumentation/src/opentelemetry/instrumentation/distro.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,10 @@ def configure(self, **kwargs):
5050
def load_instrumentor( # pylint: disable=no-self-use
5151
self, entry_point: EntryPoint, **kwargs
5252
):
53-
"""Takes a collection of instrumentation entry points
54-
and activates them by instantiating and calling instrument()
55-
on each one.
53+
"""Takes an instrumentation entry point and activates it by instantiating
54+
and calling instrument() on it.
55+
This is called for each opentelemetry_instrumentor entry point by auto
56+
instrumentation.
5657
5758
Distros can override this method to customize the behavior by
5859
inspecting each entry point and configuring them in special ways,

0 commit comments

Comments
 (0)