Name used for the metric
Type of the metric
Options for the metric
Depending on the metric technology used. Even though the MetricOptions
support almost all options for each supported technology, be careful how you use and setup your
options since they may generated strange behaviors that were not intended with this API.
Name used for the metric
Options for the metric
Depending on the metric technology used. Even though the MetricOptions
support almost all options for each supported technology, be careful how you use and setup your
options since they may generated strange behaviors that were not intended with this API.
Generated using TypeDoc
Abstract Metric Class, used to extends all supported metrics.
import { Metrics } from "@mists/nestjs-metrics"; export class CustomMetric extends Metric { constructor(name: string, options: MetricOptions) { super(name, Metrics.Counter, options); } // ... }