guiqi695/moon-prometheus-sdk/storage does not have a README file
pub struct HistogramCell { boundaries : Array[Double] native : NativeHistogramCell}
fn HistogramCell::new(boundaries : Array[Double]) -> HistogramCell
fn HistogramCell::observe(self : HistogramCell, value : Double) -> Unit
fn HistogramCell::snapshot(self : HistogramCell) -> HistogramCellSnapshot
pub(all) struct HistogramCellSnapshot { cumulative_counts : Array[Int64] count : Int64 sum : Double} derive(Eq, @moonbitlang/core/debug.DebugDebug)
pub struct Mutex { native : NativeMutex}
fn Mutex::lock(self : Mutex) -> Unit
fn Mutex::new() -> Mutex
fn Mutex::unlock(self : Mutex) -> Unit
pub type NativeHistogramCell
pub type NativeMutex
pub type NativeScalarCell
pub struct ScalarCell { native : NativeScalarCell}
fn ScalarCell::add(self : ScalarCell, delta : Double) -> Unit
fn ScalarCell::get(self : ScalarCell) -> Double
fn ScalarCell::new(initial : Double) -> ScalarCell
fn ScalarCell::set(self : ScalarCell, value : Double) -> Unit
Install
Prometheus metrics model, registry, and OpenMetrics text exporter for MoonBit.
No dependents
Powered by MoonBit
© 2026 mooncakes.io