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