UNPKG

client-perfmon2-node

Version:

Node.js / ES2017 client sdk for perfmon microservice

28 lines (26 loc) 748 B
import { CounterType } from 'pip-services4-observability-node'; export class CounterV1 { public constructor(name: string, source: string, type: CounterType, last: number, count: number, min: number, max: number, average: number) { this.time = new Date(); this.name = name; this.type = type; this.source = source; this.last = last; this.count = count; this.min = min; this.max = max; this.average = average; } public name: string; public source: string; public type: CounterType; public last: number; public count: number; public min: number; public max: number; public average: number; public time: Date; }