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.

21 lines 838 B
import { StartMetricsOptions } from './metrics'; import { StartProfilingOptions } from './profiling'; import type { LogLevel } from './types'; import { StartTracingOptions } from './tracing'; import { StartLoggingOptions } from './logging'; import { Resource } from '@opentelemetry/resources'; export interface Options { accessToken: string; endpoint: string; realm: string; serviceName: string; logLevel?: LogLevel; resource?: (detectedResource: Resource) => Resource; metrics: boolean | StartMetricsOptions; profiling: boolean | StartProfilingOptions; tracing: boolean | StartTracingOptions; logging: boolean | StartLoggingOptions; } export declare const start: (options?: Partial<Options>) => void; export declare const stop: () => Promise<(number | void)[]>; //# sourceMappingURL=start.d.ts.map