Skip to content

Commit

Permalink
start docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
p committed Sep 25, 2024
1 parent 2e1de86 commit 66be4eb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/datadog/di/code_tracker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ def initialize
@registry_lock = Mutex.new
end

# Starts tracking loaded code.
#
# This method should generally be called early in application boot
# process, because any code loaded before code tracking is enabled
# will not be instrumentable via line probes.
#
# Normally tracking should remain active for the lifetime of the
# process and would not be ever stopped.
def start
# If this code tracker is already running, we can do nothing or
# restart it (by disabling the trace point and recreating it).
Expand Down

0 comments on commit 66be4eb

Please sign in to comment.