UNPKG

@grafana/faro-web-tracing

Version:
9 lines (8 loc) 555 B
import { XMLHttpRequestInstrumentation } from '@opentelemetry/instrumentation-xml-http-request'; import type { XMLHttpRequestInstrumentationConfig } from '@opentelemetry/instrumentation-xml-http-request'; import type { OpenFunction } from '@opentelemetry/instrumentation-xml-http-request/build/src/types'; export declare class FaroXhrInstrumentation extends XMLHttpRequestInstrumentation { private parentCreateSpan; constructor(config?: XMLHttpRequestInstrumentationConfig); protected _patchOpen(): (original: OpenFunction) => OpenFunction; }