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.

16 lines 655 B
import type { LogRecordProcessor } from '@opentelemetry/sdk-logs'; import type { Resource } from '@opentelemetry/resources'; import type { ResourceFactory } from '../types'; export type LogRecordProcessorFactory = (options: LoggingOptions) => LogRecordProcessor | LogRecordProcessor[]; export interface LoggingOptions { accessToken?: string; realm?: string; serviceName: string; endpoint?: string; resource: Resource; logRecordProcessorFactory: LogRecordProcessorFactory; } export type StartLoggingOptions = Partial<Omit<LoggingOptions, 'resource'>> & { resourceFactory?: ResourceFactory; }; //# sourceMappingURL=types.d.ts.map