Preparing search index...
The search index is not available
@sentio/sdk
@sentio/sdk
.
Counter
Class Counter
Hierarchy
Metric
Counter
Index
Properties
config
name
Methods
add
sub
_create
register
Properties
config
config
:
MetricConfig
name
name
:
string
Methods
add
add
(
ctx
:
BaseContext
,
value
:
Numberish
,
labels
?:
Labels
)
:
void
Parameters
ctx
:
BaseContext
value
:
Numberish
labels
:
Labels
= {}
Returns
void
sub
sub
(
ctx
:
BaseContext
,
value
:
Numberish
,
labels
?:
Labels
)
:
void
Parameters
ctx
:
BaseContext
value
:
Numberish
labels
:
Labels
= {}
Returns
void
Static
_create
_create
(
name
:
string
,
option
?:
CounterOptions
)
:
Counter
internal use only, to create a metric use
register
instead
Parameters
name
:
string
Optional
option
:
CounterOptions
Returns
Counter
Static
register
register
(
name
:
string
,
option
?:
CounterOptions
)
:
Counter
Parameters
name
:
string
Optional
option
:
CounterOptions
Returns
Counter
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
config
name
Methods
add
sub
_create
register
@sentio/sdk
Loading...
internal use only, to create a metric use register instead