Search
Preparing search index...
The search index is not available
Back To Index
|
@azure/monitor-opentelemetry-exporter
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
AzureMonitorTraceExporter
Class AzureMonitorTraceExporter
Package version
Hierarchy
AzureMonitorBaseExporter
AzureMonitorTraceExporter
Implements
BaseExporter
any
Index
Constructors
constructor
Properties
_logger
_options
_persister
_retry
Timer
_sender
_telemetry
Processors
Methods
_apply
Telemetry
Processors
add
Telemetry
Processor
clear
Telemetry
Processors
export
export
Envelopes
shutdown
Constructors
constructor
new
Azure
Monitor
Trace
Exporter
(
options
?:
Partial
<
AzureExporterConfig
>
)
:
AzureMonitorTraceExporter
Parameters
Default value
options:
Partial
<
AzureExporterConfig
>
= {}
Returns
AzureMonitorTraceExporter
Properties
Protected
_logger
_logger
:
Logger
Protected
_options
_options
:
AzureExporterConfig
Protected
_persister
_persister
:
PersistentStorage
Protected
_retry
Timer
_retry
Timer
:
NodeJS.Timer
|
null
Protected
_sender
_sender
:
Sender
Protected
_telemetry
Processors
_telemetry
Processors
:
TelemetryProcessor
[]
Methods
Protected
_apply
Telemetry
Processors
_apply
Telemetry
Processors
(
envelopes
:
Envelope
[]
)
:
Envelope
[]
Parameters
envelopes:
Envelope
[]
Returns
Envelope
[]
add
Telemetry
Processor
add
Telemetry
Processor
(
processor
:
TelemetryProcessor
)
:
void
Parameters
processor:
TelemetryProcessor
Returns
void
clear
Telemetry
Processors
clear
Telemetry
Processors
(
)
:
void
Returns
void
export
export
(
spans
:
ReadableSpan
[]
, resultCallback
:
(
result
:
ExportResult
)
=>
void
)
:
Promise
<
void
>
Parameters
spans:
ReadableSpan
[]
resultCallback:
(
result
:
ExportResult
)
=>
void
(
result
:
ExportResult
)
:
void
Parameters
result:
ExportResult
Returns
void
Returns
Promise
<
void
>
export
Envelopes
export
Envelopes
(
payload
:
Envelope
[]
)
:
Promise
<
ExportResult
>
Parameters
payload:
Envelope
[]
Returns
Promise
<
ExportResult
>
shutdown
shutdown
(
)
:
void
Returns
void
Globals
Azure
Monitor
Trace
Exporter
constructor
_logger
_options
_persister
_retry
Timer
_sender
_telemetry
Processors
_apply
Telemetry
Processors
add
Telemetry
Processor
clear
Telemetry
Processors
export
export
Envelopes
shutdown
Generated using
TypeDoc