enum Crometheus::Metric::Type

Defined in:

crometheus/metric.cr

Enum Members

Gauge = 0
Counter = 1
Histogram = 2
Summary = 3
Untyped = 4

Instance Method Summary

Instance Method Detail

def counter? #

[View source]
def gauge? #

[View source]
def histogram? #

[View source]
def summary? #

[View source]
def to_s(io : IO) #
Description copied from struct Enum

Appends a String representation of this enum member to the given io.

See also: #to_s.


[View source]
def untyped? #

[View source]