Click or drag to resize

QueryTrace Class

The Cassandra trace for a query.

The trace is generated by Cassandra when query tracing is enabled for the query. The trace itself is stored in Cassandra in the sessions and events table in the system_traces keyspace and can be retrieve manually using the trace identifier (the one returned by TraceId).

Inheritance Hierarchy
SystemObject
  CassandraQueryTrace

Namespace:  Cassandra
Assembly:  Cassandra (in Cassandra.dll) Version: 3.11.0
Syntax
C#
public class QueryTrace

The QueryTrace type exposes the following members.

Constructors
  NameDescription
Public methodQueryTrace
Initializes a new instance of the QueryTrace class
Top
Properties
  NameDescription
Public propertyClientAddress
Source address of the query.
Public propertyCoordinator
The coordinator host of the query.
Public propertyDurationMicros
The (server side) duration of the query in microseconds.
Public propertyEvents
The events contained in this trace.
Public propertyParameters
The parameters attached to this trace.
Public propertyRequestType
The type of request.
Public propertyStartedAt
The server side timestamp of the start of this query.
Public propertyTraceId
The identifier of this trace.
Top
Methods
  NameDescription
Public methodToString (Overrides ObjectToString.)
Top
See Also