UNPKG

2.97 kBTypeScriptView Raw
1export { W3CBaggagePropagator } from './baggage/propagation/W3CBaggagePropagator';
2export { AnchoredClock, Clock } from './common/anchored-clock';
3export { isAttributeKey, isAttributeValue, sanitizeAttributes, } from './common/attributes';
4export { globalErrorHandler, setGlobalErrorHandler, } from './common/global-error-handler';
5export { loggingErrorHandler } from './common/logging-error-handler';
6export { addHrTimes, getTimeOrigin, hrTime, hrTimeDuration, hrTimeToMicroseconds, hrTimeToMilliseconds, hrTimeToNanoseconds, hrTimeToTimeStamp, isTimeInput, isTimeInputHrTime, millisToHrTime, timeInputToHrTime, } from './common/time';
7export { ErrorHandler, InstrumentationLibrary, InstrumentationScope, ShimWrapped, TimeOriginLegacy, } from './common/types';
8export { hexToBinary } from './common/hex-to-binary';
9export { ExportResult, ExportResultCode } from './ExportResult';
10import { getKeyPairs, serializeKeyPairs, parseKeyPairsIntoRecord, parsePairKeyValue } from './baggage/utils';
11export declare const baggageUtils: {
12 getKeyPairs: typeof getKeyPairs;
13 serializeKeyPairs: typeof serializeKeyPairs;
14 parseKeyPairsIntoRecord: typeof parseKeyPairsIntoRecord;
15 parsePairKeyValue: typeof parsePairKeyValue;
16};
17export { RandomIdGenerator, SDK_INFO, _globalThis, getEnv, getEnvWithoutDefaults, hexToBase64, otperformance, unrefTimer, } from './platform';
18export { CompositePropagator, CompositePropagatorConfig, } from './propagation/composite';
19export { TRACE_PARENT_HEADER, TRACE_STATE_HEADER, W3CTraceContextPropagator, parseTraceParent, } from './trace/W3CTraceContextPropagator';
20export { IdGenerator } from './trace/IdGenerator';
21export { RPCMetadata, RPCType, deleteRPCMetadata, getRPCMetadata, setRPCMetadata, } from './trace/rpc-metadata';
22export { AlwaysOffSampler } from './trace/sampler/AlwaysOffSampler';
23export { AlwaysOnSampler } from './trace/sampler/AlwaysOnSampler';
24export { ParentBasedSampler } from './trace/sampler/ParentBasedSampler';
25export { TraceIdRatioBasedSampler } from './trace/sampler/TraceIdRatioBasedSampler';
26export { isTracingSuppressed, suppressTracing, unsuppressTracing, } from './trace/suppress-tracing';
27export { TraceState } from './trace/TraceState';
28export { DEFAULT_ATTRIBUTE_COUNT_LIMIT, DEFAULT_ATTRIBUTE_VALUE_LENGTH_LIMIT, DEFAULT_ENVIRONMENT, DEFAULT_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT, DEFAULT_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT, ENVIRONMENT, RAW_ENVIRONMENT, parseEnvironment, } from './utils/environment';
29export { merge } from './utils/merge';
30export { TracesSamplerValues } from './utils/sampling';
31export { TimeoutError, callWithTimeout } from './utils/timeout';
32export { isUrlIgnored, urlMatches } from './utils/url';
33export { isWrapped } from './utils/wrap';
34export { BindOnceFuture } from './utils/callback';
35export { VERSION } from './version';
36import { _export } from './internal/exporter';
37export declare const internal: {
38 _export: typeof _export;
39};
40//# sourceMappingURL=index.d.ts.map
\No newline at end of file