method MetricsService.prototype.names
MetricsService.prototype.names(): readonly string[]

Gets all registered metric names.

Return Type

readonly string[]

Array of metric names

Usage

import { MetricsService } from "metrics-plugin/src/index.ts";