Options
All
  • Public
  • Public/Protected
  • All
Menu

Module @opentelemetry/otlp-exporter-base

Index

Functions

  • appendResourcePathToUrl(url: string, path: string): string
  • appendRootPathToUrlIfNeeded(url: string): string
  • configureExporterTimeout(timeoutMillis: undefined | number): number
  • invalidTimeout(timeout: number, defaultTimeout: number): number
  • parseHeaders(partialHeaders?: Partial<Record<string, unknown>>): Record<string, string>
  • sendWithHttp<ExportItem, ServiceResponse>(collector: OTLPExporterNodeBase<ExportItem, ServiceResponse>, data: string | Uint8Array, contentType: string, onSuccess: (() => void), onError: ((error: OTLPExporterError) => void)): void
  • sendWithXhr(body: Uint8Array, url: string, headers: Record<string, string>, exporterTimeout: number, onSuccess: (() => void), onError: ((error: OTLPExporterError) => void)): void

Generated using TypeDoc