import { Attributes, ContextManager } from "@opentelemetry/api"; import { Instrumentation } from "@opentelemetry/instrumentation"; import { Sampler, SpanLimits, SpanProcessor } from "@opentelemetry/sdk-trace-base"; import { MetricReader } from "@opentelemetry/sdk-metrics"; //#region src/sdk/types.d.ts type InstrumentationConfigMap = Record>; type OtlpProtocol = 'http/protobuf' | 'http/json' | 'grpc'; type TraceSamplerName = 'always_off' | 'always_on' | 'parentbased_always_off' | 'parentbased_always_on' | 'parentbased_traceidratio' | 'traceidratio'; type SDKConfig = { additionalInstrumentations?: Instrumentation[]; additionalResourceAttributes?: Attributes; advancedNetworkCapture?: boolean; apiKey?: string; betaMode?: boolean; captureBodyKeywordsFilter?: string; captureHeadersClientRequest?: string; captureHeadersClientResponse?: string; captureHeadersServerRequest?: string; captureHeadersServerResponse?: string; consoleCapture?: boolean; contextManager?: ContextManager; detectResources?: boolean; disableLogs?: boolean; disableMetrics?: boolean; disableStartupLogs?: boolean; disableTracing?: boolean; exceptionCaptureEnabled?: boolean; headerAttributeMap?: Record; instrumentations?: InstrumentationConfigMap; metricReader?: MetricReader; otlpEndpoint?: string; otlpHeaders?: string; otlpProtocol?: OtlpProtocol; sentryIntegrationEnabled?: boolean; serviceName?: string; spanLimits?: SpanLimits; spanProcessors?: SpanProcessor[]; stopOnTerminationSignals?: boolean; traceExporterUrl?: string; traceSampler?: TraceSamplerName | Sampler; traceSamplerArg?: string; }; type ResolvedSDKConfig = { additionalInstrumentations: Instrumentation[]; additionalResourceAttributes: Attributes; advancedNetworkCapture: boolean; apiKey?: string; betaMode: boolean; captureBodyKeywordsFilter: string; captureHeadersClientRequest: string; captureHeadersClientResponse: string; captureHeadersServerRequest: string; captureHeadersServerResponse: string; consoleCapture: boolean; contextManager?: ContextManager; detectResources: boolean; disableLogs: boolean; disableMetrics: boolean; disableStartupLogs: boolean; disableTracing: boolean; exceptionCaptureEnabled: boolean; headerAttributeMap: Record; instrumentations?: InstrumentationConfigMap; metricReader?: MetricReader; otlpEndpoint?: string; otlpHeaders?: string; otlpProtocol: OtlpProtocol; sentryIntegrationEnabled: boolean; serviceName: string; spanLimits?: SpanLimits; spanProcessors: SpanProcessor[]; stopOnTerminationSignals: boolean; traceExporterUrl?: string; traceSampler: TraceSamplerName | Sampler; traceSamplerArg: string; }; type SDKControl = { forceFlush: () => Promise; shutdown: () => Promise; setTraceAttributes: (attributes: Attributes) => void; }; //#endregion export { SDKConfig as n, SDKControl as r, ResolvedSDKConfig as t }; //# sourceMappingURL=types-Duv0_o_x.d.mts.map