struct OpenTelemetry::Status

Defined in:

status.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(code : OpenTelemetry::API::AbstractStatus::StatusCode = StatusCode::Unset, message : String = "") #

Instance Method Detail

def code : StatusCode #
Description copied from struct OpenTelemetry::API::AbstractStatus

This is assumed to be implemented as a property in the SDK.


def code=(code : StatusCode) #

def error!(message = nil) #

def message : String #
Description copied from struct OpenTelemetry::API::AbstractStatus

This is assumed to be implemented as a property in the SDK.


def message=(message : String) #

def ok!(message = nil) #

def pb_status_code #

def to_json(json : JSON::Builder) #

def to_json #

def to_protobuf #

def unset!(message = nil) #