RecordingMetricinterface
Base interface for non-observable metrics with independent values, such as Gauge and Histogram.
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
record()⚓︎
(value: number, data?: TData, options?: MetricPublishOptions) => void
Parameters (3)
| Name | Type | Required | Description |
|---|---|---|---|
| value⚓︎ | number | x | |
| data⚓︎ | TData | x | x |
| options⚓︎ | MetricPublishOptions | x | x |