OxL Reference

method Histogram.count

Number of observations so far.

Example:

oxl✓ checked in CI
use std.obs { metric }

fn main() io {
  let h = metric.histogram("docs_count_seconds")
  print("{h.count()}")
}
Output
0.0
pub(api) fn count() -> f64  io

Complexity. O(1).

Since. 1.0.0-beta

Returns

f64

Effects

io

Defined in: std/obs/obs.oxl:761

See also