Skip to content

Commit

Permalink
Add doc comment for untraced? in the concern
Browse files Browse the repository at this point in the history
  • Loading branch information
misalcedo authored Nov 22, 2023
1 parent 64ec771 commit 64011e8
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ def self.included(klass)
end
end

# Checks whether the given host should be treated as untraced.
# If the current OpenTelemetry context is untraced, all hosts will be treated as untraced.
# The given host must be a String.
def untraced?(host)
OpenTelemetry::Common::Utilities.untraced? || untraced_host?(host)
end
Expand Down

0 comments on commit 64011e8

Please sign in to comment.