fix(core): update
This commit is contained in:
11
ts/smartmetrics.interfaces.ts
Normal file
11
ts/smartmetrics.interfaces.ts
Normal file
@ -0,0 +1,11 @@
|
||||
// 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;
|
||||
}
|
Reference in New Issue
Block a user