Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
metrics.cr
master
MetricsCr
Client
Registry
AlreadyRegisteredError
Metric
Metrics
Counter
Gauge
Histogram
Summary
Built with Crystal 1.9.2
2023-10-07 21:21:38 UTC
class
MetricsCr::Client::Registry
MetricsCr::Client::Registry
Reference
Object
Defined in:
metrics_cr/client/registry.cr
Constructors
.new
Instance Method Summary
#count
#exists?
(name)
#get
(name)
#register
(metric : Metric)
#unregister
(name : String)
Constructor Detail
def self.
new
#
[
View source
]
Instance Method Detail
def
count
#
[
View source
]
def
exists?
(name)
#
[
View source
]
def
get
(name)
#
[
View source
]
def
register
(metric :
Metric
)
#
[
View source
]
def
unregister
(name : String)
#
[
View source
]