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.

53 lines 1.67 kB
import type * as http from 'http'; import type * as https from 'https'; import { Span, Attributes, SpanKind, HrTime } from '@opentelemetry/api'; export type Http = typeof http; export type Https = typeof https; export interface Err extends Error { errno?: number; code?: string; path?: string; syscall?: string; stack?: string; } /** * Tracks whether this instrumentation emits old experimental, * new stable, or both semantic conventions. * * Enum values chosen such that the enum may be used as a bitmask. */ export declare const enum SemconvStability { /** Emit only stable semantic conventions */ STABLE = 1, /** Emit only old semantic conventions*/ OLD = 2, /** Emit both stable and old semantic conventions*/ DUPLICATE = 3 } /** * Names of possible synthetic test sources. */ export declare const SYNTHETIC_TEST_NAMES: string[]; /** * Names of possible synthetic bot sources. */ export declare const SYNTHETIC_BOT_NAMES: string[]; /** * REDACTED string used to replace sensitive information in URLs. */ export declare const STR_REDACTED = "REDACTED"; /** * List of URL query keys that are considered sensitive and whose value should be redacted. */ export declare const DEFAULT_QUERY_STRINGS_TO_REDACT: readonly ["sig", "Signature", "AWSAccessKeyId", "X-Goog-Signature"]; /** * Holds metadata (span, kind, start time, metric attributes) for an HTTP span used when recording duration */ export interface SpanDetails { span: Span; spanKind: SpanKind; startTime: HrTime; oldMetricAttributes?: Attributes; stableMetricAttributes?: Attributes; } //# sourceMappingURL=internal-types.d.ts.map