Setu-TS
    Preparing search index...

    Interface IHistogram

    Histogram: bucketed observation distribution plus sum and count.

    0.2.0

    interface IHistogram {
        buckets: readonly number[];
        help: string;
        name: string;
        type: MetricType;
        observe(value: number, labels?: Readonly<Record<string, string>>): void;
    }

    Hierarchy (View Summary)

    Index
    buckets: readonly number[]

    Upper bounds of the histogram buckets.

    help: string

    Human-readable description.

    name: string

    Metric name (Prometheus naming conventions).

    The metric instrument kind.

    • Records an observation (sample).

      Parameters

      • value: number

        The observed value

      • Optionallabels: Readonly<Record<string, string>>

        Label values keyed by label name

      Returns void