@tigorhutasuhut/telemetry-js - v0.7.3
Preparing search index...
FetchTraceExporter
Class FetchTraceExporter
OTLP/HTTP span exporter that uses
fetch
instead of Node
http
module.
Index
Constructors
constructor
Methods
export
force
Flush
shutdown
Constructors
constructor
new
FetchTraceExporter
(
config
:
FetchExporterConfig
)
:
FetchTraceExporter
Parameters
config
:
FetchExporterConfig
Returns
FetchTraceExporter
Methods
export
export
(
spans
:
ReadableSpan
[]
,
resultCallback
:
(
result
:
ExportResult
)
=>
void
,
)
:
void
Parameters
spans
:
ReadableSpan
[]
resultCallback
:
(
result
:
ExportResult
)
=>
void
Returns
void
force
Flush
forceFlush
()
:
Promise
<
void
>
Returns
Promise
<
void
>
shutdown
shutdown
()
:
Promise
<
void
>
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
export
force
Flush
shutdown
@tigorhutasuhut/telemetry-js - v0.7.3
Loading...
OTLP/HTTP span exporter that uses
fetchinstead of Nodehttpmodule.