Cloud Trace API - Class Google::Cloud::Trace::AsyncReporterError (v0.41.4)

Reference documentation and code samples for the Cloud Trace API class Google::Cloud::Trace::AsyncReporterError.

AsyncReporterError

Used to indicate a problem preventing traces from being buffered asynchronously. This can occur when there are not enough resources allocated for the amount of usage.

Inherits

  • Google::Cloud::Error

Methods

#count

def count() -> Array<Google::Cloud::Trace::TraceRecord>

objects that were not written to the API due to the error.

Returns

#initialize

def initialize(message, traces = nil) -> AsyncReporterError
Returns

#traces

def traces()

Returns the value of attribute traces.