Setu-TS
    Preparing search index...

    Interface MetricOptions

    Ergonomic options for the typed factory methods. type is injected by the method name; help defaults to the metric name.

    0.2.0

    interface MetricOptions {
        buckets?: readonly number[];
        help?: string;
        labels?: readonly string[];
        maxSamples?: number;
        quantiles?: readonly number[];
    }
    Index
    buckets?: readonly number[]

    Histogram bucket boundaries (histogram metrics only).

    help?: string

    Human-readable description (Prometheus HELP). Defaults to the metric name.

    labels?: readonly string[]

    Label names attachable to observations.

    maxSamples?: number

    Summary only: bounded sample-window size.

    512
    
    quantiles?: readonly number[]

    Summary quantiles (summary metrics only).