IncrementalMetricinterface
Base interface for non-observable metrics with incremental values, such as Counter and UpDownCounter.
Properties (2)
| Property | Type | Default | Required | Description |
|---|---|---|---|---|
| settings⚓︎ | MetricSettings | x | Settings used to create the metric. |
|
| started⚓︎ | boolean | x | Whether the metric is started. |
3 Methods
add()⚓︎
(count: number, data?: TData) => void