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

client

Returns the ip of the client node, the node that ran the driver instance that started tracing.

Returns:
Type Details
(IPAddr or nil) ip of the client node running the driver

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, execution_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, execution_options).and_return(future_rows)
10.times { expect(trace.events).to have(5).events }