Inherits

Object

Includes

  • MonitorMixin

Classes

Methods

id

Returns trace id

Returns:
Type Details
Uuid trace id

coordinator

Returns the ip of coordinator node. Typically the same as Info#hosts.last

Returns:
Type Details
IPAddr ip of the coordinator node

duration

parameters

request

started_at

events

Returns all trace events

Returns:
Type Details
Array<Execution::Trace::Event> events
Specifications:
Trace#events loads events from system_traces.events
expect(client).to receive(:query).once.with(statement, VOID_OPTIONS).and_return(future_rows)
expect(trace.events).to have(5).events
Trace#events loads events only once
expect(client).to receive(:query).once.with(statement, VOID_OPTIONS).and_return(future_rows)
10.times { expect(trace.events).to have(5).events }

inspect