interface IMetric Since 0.1.0 A registered metric. Properties readonly name: string Metric name (Prometheus naming conventions). readonly type: MetricType The metric instrument kind. readonly help: string Human-readable description. Methods observe(value?: number,labels?: Readonly<Record<string, string>>): void Records an observation. For counters the value is the increment (default 1); for gauges the new value; for histograms and summaries the observed sample.