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::Metrics::Summary
MetricsCr::Metrics::Summary
MetricsCr::Metric
Reference
Object
Defined in:
metrics_cr/metrics/summary.cr
Instance Method Summary
#count
: Int64
#observe
(value : Int64) : Nil
#sum
: Int64
#value
Instance methods inherited from class
MetricsCr::Metric
name : String
name
Constructor methods inherited from class
MetricsCr::Metric
new(name : String)
new
Instance Method Detail
def
count
: Int64
#
[
View source
]
def
observe
(value : Int64) : Nil
#
[
View source
]
def
sum
: Int64
#
[
View source
]
def
value
#
[
View source
]