class CQL::Telemetry::TransactionObserver

Overview

Reports one transaction's lifecycle to the subscribers. Created by Telemetry.begin_transaction, which has already published Begin.

Defined in:

telemetry.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(adapter : Adapter, id : Int64, nested : Bool) #

[View source]

Instance Method Detail

def failed(error : Exception) : Nil #

Remembers the first failure; later calls (e.g. the same exception seen again) are ignored.


[View source]
def finish : Nil #

[View source]
def id : Int64 #

[View source]