import { PrometheusMetrics } from './prometheus.service' ; interface Tags { [ key ] : string ; } TODO export class MetricsService { private svc : PrometheusMetrics = PrometheusMetrics . getInstance ( ) ; param name param tags param value incCounter ( name , tags ? , value = 1 ) { this . svc . incCounter ( name , tags , value ) ; } param name param value param tags incGauge ( name , value , tags ) { this . svc . incGauge ( name , value , tags ) ; } param name param value param tags decGauge ( name , value , tags ) { this . svc . incGauge ( name , value , tags ) ; } param name param value param tags setGauge ( name , value , tags ) { this . svc . setGauge ( name , value , tags ) ; } param name startGauge ( name ) { return this . svc . startGauge ( name ) ; } }