UNPKG

@splunk/otel

Version:

The Splunk distribution of OpenTelemetry Node Instrumentation provides a Node agent that automatically instruments your Node application to capture and report distributed traces to Splunk APM.

15 lines 665 B
import { perftools } from './proto/profile'; import type { CpuProfile, HeapProfile } from './types'; export declare class StringTable { _stringMap: Map<any, any>; constructor(); getIndex(str: string): any; serialize(): any[]; } export interface PProfSerializationOptions { samplingPeriodMillis: number; } export declare const serialize: (profile: CpuProfile, options: PProfSerializationOptions) => perftools.profiles.Profile; export declare function serializeHeapProfile(profile: HeapProfile): perftools.profiles.Profile; export declare const encode: (profile: perftools.profiles.IProfile) => Promise<Buffer>; //# sourceMappingURL=utils.d.ts.map