1 | import type { SpanProcessor } from '@opentelemetry/sdk-trace-base';
|
2 | import { BasicTracerProvider } from '@opentelemetry/sdk-trace-base';
|
3 | import type { EsmLoaderHookOptions } from '../types';
|
4 | import type { NodeClient } from './client';
|
5 | interface AdditionalOpenTelemetryOptions {
|
6 |
|
7 | spanProcessors?: SpanProcessor[];
|
8 | }
|
9 |
|
10 |
|
11 |
|
12 | export declare function initOpenTelemetry(client: NodeClient, options?: AdditionalOpenTelemetryOptions): void;
|
13 |
|
14 | export declare function maybeInitializeEsmLoader(esmHookConfig?: EsmLoaderHookOptions): void;
|
15 | interface NodePreloadOptions {
|
16 | debug?: boolean;
|
17 | integrations?: string[];
|
18 | registerEsmLoaderHooks?: EsmLoaderHookOptions;
|
19 | }
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 | export declare function preloadOpenTelemetry(options?: NodePreloadOptions): void;
|
26 |
|
27 | export declare function setupOtel(client: NodeClient, options?: AdditionalOpenTelemetryOptions): BasicTracerProvider;
|
28 |
|
29 | export declare function _clampSpanProcessorTimeout(maxSpanWaitDuration: number | undefined): number | undefined;
|
30 | export {};
|
31 |
|
\ | No newline at end of file |