Search
Preparing search index...
The search index is not available
OpenTelemetry SDK
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
OpenTelemetry SDK
@opentelemetry/api
UpDownCounter
Interface UpDownCounter<AttributesTypes>
since
1.3.0
Type Parameters
AttributesTypes
extends
MetricAttributes
=
MetricAttributes
Hierarchy
UpDownCounter
Index
Methods
add
Methods
add
add
(
value
:
number
, attributes
?:
AttributesTypes
, context
?:
Context
)
:
void
Increment value of counter by the input. Inputs may be negative.
Parameters
value:
number
Optional
attributes:
AttributesTypes
Optional
context:
Context
Returns
void
Modules
@opentelemetry/api
<internal>
@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
@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
Up
Down
Counter
add
Generated using
TypeDoc
1.3.0