• Preparing search index...
  • The search index is not available
OpenTelemetry SDK
  • OpenTelemetry SDK
  • @opentelemetry/otlp-exporter-base
  • index-browser-http
  • createOtlpSendBeaconExportDelegate

Function createOtlpSendBeaconExportDelegate

  • createOtlpSendBeaconExportDelegate<Internal, Response>(
        options: OtlpHttpConfiguration,
        serializer: ISerializer<Internal, Response>,
    ): IOtlpExportDelegate<Internal>

    Type Parameters

    • Internal
    • Response

    Parameters

    • options: OtlpHttpConfiguration
    • serializer: ISerializer<Internal, Response>

    Returns IOtlpExportDelegate<Internal>

    Deprecated

    Use createOtlpFetchExportDelegate instead. Modern browsers use fetch with keepAlive: true when sendBeacon is used. Use a fetch polyfill that mimics this behavior to keep using sendBeacon.

    • Defined in experimental/packages/otlp-exporter-base/src/otlp-browser-http-export-delegate.ts:28

Settings

Member Visibility
OpenTelemetry SDK
  • Loading...

Generated using TypeDoc