Search
Preparing search index...
The search index is not available
OpenTelemetry SDK
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
OpenTelemetry SDK
@opentelemetry/sdk-metrics
<internal>
ObservableInstrument
Class ObservableInstrument
Hierarchy
ObservableInstrument
Implements
Observable
Index
Constructors
constructor
Properties
_descriptor
_metric
Storages
Methods
add
Callback
remove
Callback
Constructors
constructor
new
Observable
Instrument
(
descriptor
:
InstrumentDescriptor
, metricStorages
:
AsyncWritableMetricStorage
[]
, _observableRegistry
:
ObservableRegistry
)
:
ObservableInstrument
Parameters
descriptor:
InstrumentDescriptor
metricStorages:
AsyncWritableMetricStorage
[]
_observableRegistry:
ObservableRegistry
Returns
ObservableInstrument
Properties
_descriptor
_descriptor
:
InstrumentDescriptor
internal
_metric
Storages
_metric
Storages
:
AsyncWritableMetricStorage
[]
internal
Methods
add
Callback
add
Callback
(
callback
:
ObservableCallback
<
Attributes
>
)
:
void
see
{Observable.addCallback}
Parameters
callback:
ObservableCallback
<
Attributes
>
Returns
void
remove
Callback
remove
Callback
(
callback
:
ObservableCallback
<
Attributes
>
)
:
void
see
{Observable.removeCallback}
Parameters
callback:
ObservableCallback
<
Attributes
>
Returns
void
Modules
@opentelemetry/api
@opentelemetry/api-
events
@opentelemetry/api-
logs
@opentelemetry/context-
async-
hooks
@opentelemetry/context-
zone
@opentelemetry/context-
zone-
peer-
dep
@opentelemetry/core
@opentelemetry/exporter-
jaeger
@opentelemetry/exporter-
logs-
otlp-
grpc
@opentelemetry/exporter-
logs-
otlp-
http
@opentelemetry/exporter-
logs-
otlp-
proto
@opentelemetry/exporter-
metrics-
otlp-
grpc
@opentelemetry/exporter-
metrics-
otlp-
http
@opentelemetry/exporter-
metrics-
otlp-
proto
@opentelemetry/exporter-
prometheus
@opentelemetry/exporter-
trace-
otlp-
grpc
@opentelemetry/exporter-
trace-
otlp-
http
@opentelemetry/exporter-
trace-
otlp-
proto
@opentelemetry/exporter-
zipkin
@opentelemetry/instrumentation
@opentelemetry/instrumentation-
fetch
@opentelemetry/instrumentation-
grpc
@opentelemetry/instrumentation-
http
@opentelemetry/instrumentation-
xml-
http-
request
@opentelemetry/opentelemetry-
browser-
detector
@opentelemetry/otlp-
exporter-
base
@opentelemetry/otlp-
grpc-
exporter-
base
@opentelemetry/otlp-
transformer
@opentelemetry/propagator-
b3
@opentelemetry/propagator-
jaeger
@opentelemetry/resources
@opentelemetry/sampler-
jaeger-
remote
@opentelemetry/sdk-
events
@opentelemetry/sdk-
logs
@opentelemetry/sdk-
metrics
<internal>
@opentelemetry/sdk-
node
@opentelemetry/sdk-
trace-
base
@opentelemetry/sdk-
trace-
node
@opentelemetry/sdk-
trace-
web
@opentelemetry/semantic-
conventions
@opentelemetry/shim-
opencensus
@opentelemetry/shim-
opentracing
@opentelemetry/web-
common
Observable
Instrument
constructor
_descriptor
_metric
Storages
add
Callback
remove
Callback
Generated using
TypeDoc