Preparing search index...
The search index is not available
OpenTelemetry SDK
OpenTelemetry SDK
@opentelemetry/sdk-node
@opentelemetry/api
UpDownCounter
Interface UpDownCounter<AttributesTypes>
Since
1.3.0
interface
UpDownCounter
<
AttributesTypes
extends
@opentelemetry/api
.
MetricAttributes
=
@opentelemetry/api
.
MetricAttributes
,
>
{
add
(
value
:
number
,
attributes
?:
AttributesTypes
,
context
?:
@opentelemetry/api
.
Context
,
)
:
void
;
}
Type Parameters
AttributesTypes
extends
@opentelemetry/api
.
MetricAttributes
=
@opentelemetry/api
.
MetricAttributes
Index
Methods
add
Methods
add
add
(
value
:
number
,
attributes
?:
AttributesTypes
,
context
?:
@opentelemetry/api
.
Context
,
)
:
void
Increment value of counter by the input. Inputs may be negative.
Parameters
value
:
number
Optional
attributes
:
AttributesTypes
Optional
context
:
@opentelemetry/api
.
Context
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
add
OpenTelemetry SDK
Loading...
Since
1.3.0