Skip to content

Commit

Permalink
types
Browse files Browse the repository at this point in the history
  • Loading branch information
p committed Jan 16, 2025
1 parent 04c1137 commit 1b63dee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sig/datadog/di/probe_notification_builder.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ module Datadog

def build_emitting: (Probe probe) -> Hash[Symbol,untyped]

def build_errored: (Probe probe, Exception exception) -> Hash[Symbol,untyped]

def build_executed: (Probe probe, ?trace_point: TracePoint, ?rv: untyped?, ?duration: Float, ?caller_locations: Array[untyped], ?args: untyped?, ?kwargs: untyped?, ?serialized_entry_args: untyped?) -> Hash[Symbol,untyped]

def build_snapshot: (Probe probe, ?rv: untyped?, ?snapshot: untyped?, ?path: String?, ?duration: Float, ?caller_locations: Array[untyped], ?args: untyped?, ?kwargs: untyped?, ?serialized_entry_args: untyped?) -> Hash[Symbol,untyped]
Expand Down
3 changes: 3 additions & 0 deletions sig/datadog/di/probe_notifier_worker.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ module Datadog
def start: () -> void
def stop: (?::Integer timeout) -> void
def flush: () -> void

def add_status: (Hash[Symbol, untyped]) -> void
def add_snapshot: (Hash[Symbol, untyped]) -> void

private

Expand Down

0 comments on commit 1b63dee

Please sign in to comment.