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
- (Array<Google::Cloud::Trace::TraceRecord>) — traces The trace
#initialize
def initialize(message, traces = nil) -> AsyncReporterError
Returns
- (AsyncReporterError) — a new instance of AsyncReporterError
#traces
def traces()
Returns the value of attribute traces.