UNPKG

@promster/metrics

Version:

Metrics utilities used by all other server integrations

10 lines (9 loc) 469 B
import type { PrometheusContentType } from 'prom-client'; import * as Prometheus from 'prom-client'; declare const defaultRegister: Prometheus.Registry<"text/plain; version=0.0.4; charset=utf-8">; interface TClientOptions extends Prometheus.DefaultMetricsCollectorConfiguration<PrometheusContentType> { detectKubernetes?: boolean; prefix?: string; } declare const configure: (options: TClientOptions) => void; export { Prometheus, defaultRegister, configure };