effect-io-ai

Package: effect
Module: MetricKey

MetricKey.gauge

Creates a metric key for a gauge, with the specified name.

Signature

declare const gauge: { (name: string, options?: { readonly description?: string | undefined; readonly bigint?: false | undefined; }): MetricKey.Gauge<number>; (name: string, options: { readonly description?: string | undefined; readonly bigint: true; }): MetricKey.Gauge<bigint>; }

Source

Since v2.0.0