method Histogram.count
Number of observations so far.
Example:
use std.obs { metric }
fn main() io {
let h = metric.histogram("docs_count_seconds")
print("{h.count()}")
}Вывод
0.0
pub(api) fn count() -> f64 ioСложность. O(1).
С версии. 1.0.0-beta
Возвращает
f64
Эффекты
io
Определено в: std/obs/obs.oxl:761