smartmetrics/ts/smartmetrics.interfaces.ts

11 lines
390 B
TypeScript
Raw Normal View History

2021-08-12 21:19:39 +00:00
// this might be extracted into a package @pushrocks/smartmetrics-interfaces in the future
export interface IMetricsSnapshot {
originalMetrics: any[];
process_cpu_seconds_total: number;
nodejs_active_handles_total: number;
nodejs_active_requests_total: number;
nodejs_heap_size_total_bytes: number;
cpuPercentage: number;
memoryPercentage: number;
memoryUsageText: string;
}