Options
All
  • Public
  • Public/Protected
  • All
Menu

Module @opentelemetry/sdk-trace-web

Index

Type Aliases

PerformanceEntries: { connectEnd?: number; connectStart?: number; decodedBodySize?: number; domComplete?: number; domContentLoadedEventEnd?: number; domContentLoadedEventStart?: number; domInteractive?: number; domainLookupEnd?: number; domainLookupStart?: number; encodedBodySize?: number; fetchStart?: number; loadEventEnd?: number; loadEventStart?: number; redirectEnd?: number; redirectStart?: number; requestStart?: number; responseEnd?: number; responseStart?: number; secureConnectionStart?: number; unloadEventEnd?: number; unloadEventStart?: number }

Type declaration

  • Optional connectEnd?: number
  • Optional connectStart?: number
  • Optional decodedBodySize?: number
  • Optional domComplete?: number
  • Optional domContentLoadedEventEnd?: number
  • Optional domContentLoadedEventStart?: number
  • Optional domInteractive?: number
  • Optional domainLookupEnd?: number
  • Optional domainLookupStart?: number
  • Optional encodedBodySize?: number
  • Optional fetchStart?: number
  • Optional loadEventEnd?: number
  • Optional loadEventStart?: number
  • Optional redirectEnd?: number
  • Optional redirectStart?: number
  • Optional requestStart?: number
  • Optional responseEnd?: number
  • Optional responseStart?: number
  • Optional secureConnectionStart?: number
  • Optional unloadEventEnd?: number
  • Optional unloadEventStart?: number

urls which should include trace headers when origin doesn't match

WebTracerConfig: TracerConfig

WebTracerConfig provides an interface for configuring a Web Tracer.

Functions

  • addSpanNetworkEvent(span: Span, performanceName: string, entries: PerformanceEntries, refPerfName?: string): api.Span | undefined
  • getElementXPath(target: any, optimised?: boolean): string
  • getResource(spanUrl: string, startTimeHR: HrTime, endTimeHR: HrTime, resources: PerformanceResourceTiming[], ignoredResources?: WeakSet<PerformanceResourceTiming>, initiatorType?: string): PerformanceResourceTimingInfo
  • hasKey<O>(obj: O, key: string | number | symbol): key is keyof O
  • normalizeUrl(url: string): string
  • sortResources(filteredResources: PerformanceResourceTiming[]): PerformanceResourceTiming[]

Generated using TypeDoc