Method: Datadog::DI::ProbeNotificationBuilder#build_errored

Defined in:
lib/datadog/di/probe_notification_builder.rb

#build_errored(probe, exc) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



35
36
37
38
39
# File 'lib/datadog/di/probe_notification_builder.rb', line 35

def build_errored(probe, exc)
  build_status(probe,
    message: "Instrumentation for probe #{probe.id} failed: #{exc}",
    status: 'ERROR',)
end