diff --git a/sig/datadog/di/probe_notification_builder.rbs b/sig/datadog/di/probe_notification_builder.rbs index 45891828166..6d23bc2b1a0 100644 --- a/sig/datadog/di/probe_notification_builder.rbs +++ b/sig/datadog/di/probe_notification_builder.rbs @@ -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] diff --git a/sig/datadog/di/probe_notifier_worker.rbs b/sig/datadog/di/probe_notifier_worker.rbs index 1886aff2735..ef04f92f5d3 100644 --- a/sig/datadog/di/probe_notifier_worker.rbs +++ b/sig/datadog/di/probe_notifier_worker.rbs @@ -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