@tigorhutasuhut/telemetry-js - v0.7.3
Preparing search index...
UpDownCounter
Interface UpDownCounter<AttributesTypes>
interface
UpDownCounter
<
AttributesTypes
extends
MetricAttributes
=
MetricAttributes
,
>
{
add
(
value
:
number
,
attributes
?:
AttributesTypes
,
context
?:
Context
,
)
:
void
;
}
Type Parameters
AttributesTypes
extends
MetricAttributes
=
MetricAttributes
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
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
add
@tigorhutasuhut/telemetry-js - v0.7.3
Loading...
Increment value of counter by the input. Inputs may be negative.