UNPKG

@erickluis00/otelviewer

Version:

Shared OpenTelemetry tracing utilities, types, and batch processor for Realtime OpenTelemetry Viewer [WIP]

19 lines 1.82 kB
export { spanStatusSchema, spanAttributesSchema, spanSchema, spansArraySchema, traceSchema, searchFiltersSchema, paginatedResultSchema, type SpanStatus, type OtelSpan, type SpansArray, type Trace, type SearchFilters, type PaginatedResult, type SpanAttributeValue, } from './schemas'; export type { OtelTracingConfig } from './config'; export { DEFAULT_CONFIG, ENV_VARS, createConfig, logConfig, } from './config'; export { RealtimeSpanProcessor } from './batch-processor'; export { track, trackWrapper, trackAll, addSpanAttributes, addSpanEvent, createSpan, configureAddEventCallback, TrackClass, getCurrentSpan, getRemoteExecutables, executeRemoteMethod, } from './tracing-utils'; export { createExpressMiddleware, createHonoMiddleware, createTRPCMiddleware, createNextJSWrapper, generateRequestId, shouldTrace, formatDuration, } from './middleware'; export { createHttpInstrumentation } from './http-instrumentation'; export { createFetchInstrumentation, type FetchInstrumentationConfig } from './fetch-instrumentation'; export { startRemoteExecutorServer, stopRemoteExecutorServer, getRemoteExecutorPort, autoStartRemoteExecutorIfNeeded, } from './remote-executor'; export * from '@opentelemetry/api'; export * as OtelSDK from '@opentelemetry/sdk-node'; export * as OtelAutoInstrumentations from '@opentelemetry/auto-instrumentations-node'; export * as OtelSDKTrace from '@opentelemetry/sdk-trace-base'; export { NodeSDK } from '@opentelemetry/sdk-node'; export { getNodeAutoInstrumentations } from '@opentelemetry/auto-instrumentations-node'; export { BatchSpanProcessor, SimpleSpanProcessor, BasicTracerProvider } from '@opentelemetry/sdk-trace-base'; export { Resource, detectResources, defaultResource } from '@opentelemetry/resources'; export * from '@opentelemetry/resources'; //# sourceMappingURL=index.d.ts.map