smartmetrics/ts/smartmetrics.interfaces.ts

12 lines
416 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 {
process_cpu_seconds_total: number;
nodejs_active_handles_total: number;
nodejs_active_requests_total: number;
nodejs_heap_size_total_bytes: number;
cpuPercentage: number;
2021-08-14 15:01:54 +00:00
cpuUsageText: string;
2021-08-12 21:19:39 +00:00
memoryPercentage: number;
2021-08-14 15:01:54 +00:00
memoryUsageBytes: number;
2021-08-12 21:19:39 +00:00
memoryUsageText: string;
}