struct Protocol::Tracing::BufferUsage

Included Modules

Defined in:

protocol/tracing.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def event_count : Number::Primitive | Nil #

An approximate number of events in the trace log.


[View source]
def percent_full : Number::Primitive | Nil #

A number in range [0..1] that indicates the used size of event buffer as a fraction of its total size.


[View source]
def value : Number::Primitive | Nil #

A number in range [0..1] that indicates the used size of event buffer as a fraction of its total size.


[View source]