Preparing search index...
The search index is not available
OpenTelemetry SDK
OpenTelemetry SDK
@opentelemetry/api
@opentelemetry/api
Histogram
Interface Histogram<AttributesTypes>
Since
1.3.0
interface
Histogram
<
AttributesTypes
extends
MetricAttributes
=
MetricAttributes
>
{
record
(
value
:
number
,
attributes
?:
AttributesTypes
,
context
?:
Context
,
)
:
void
;
}
Type Parameters
AttributesTypes
extends
MetricAttributes
=
MetricAttributes
Index
Methods
record
Methods
record
record
(
value
:
number
,
attributes
?:
AttributesTypes
,
context
?:
Context
)
:
void
Records a measurement. Value of the measurement must not 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
record
OpenTelemetry SDK
Loading...
Since
1.3.0