@beincom/node-profile
Version:
``` npm install @beincom/node-profile # yarn add @beincom/node-profile ```
15 lines (14 loc) • 632 B
TypeScript
import { ContinuousProfiler } from './continuous-profiler';
import { HeapProfilerStartArgs } from './heap-profiler';
import { PyroscopeConfig } from '../config';
import { WallProfilerStartArgs } from './wall-profiler';
export declare class PyroscopeProfiler {
readonly heapProfiler: ContinuousProfiler<HeapProfilerStartArgs>;
readonly wallProfiler: ContinuousProfiler<WallProfilerStartArgs>;
constructor(config: PyroscopeConfig);
private buildApplicationName;
private calculateFlushIntervalMs;
private initializePyroscopeApiExporter;
private initializeHeapProfiler;
private initializeWallProfiler;
}