simple-prom/objects/Guage.ts

17 lines
320 B
TypeScript
Raw Normal View History

2024-07-02 16:46:38 +01:00
import IMetric from "../interfaces/IMetric";
export default class Gauge implements IMetric {
private name:string;
private value:number;
public readonly helpText:string;
public constructor(name:string) {
this.name = name;
this.value = 0;
this.helpText = "";
}
public get Value() {
return this.value;
}
}