@portfolio-resilience/core
Preparing search index...
OtelMeter
Interface OtelMeter
interface
OtelMeter
{
createCounter
(
name
:
string
,
options
?:
{
description
?:
string
}
,
)
:
{
add
(
value
:
number
,
attributes
?:
Record
<
string
,
unknown
>
)
:
void
}
;
createHistogram
(
name
:
string
,
options
?:
{
description
?:
string
;
unit
?:
string
}
,
)
:
{
record
(
value
:
number
,
attributes
?:
Record
<
string
,
unknown
>
)
:
void
}
;
}
Index
Methods
create
Counter
create
Histogram
Methods
create
Counter
createCounter
(
name
:
string
,
options
?:
{
description
?:
string
}
,
)
:
{
add
(
value
:
number
,
attributes
?:
Record
<
string
,
unknown
>
)
:
void
}
Parameters
name
:
string
Optional
options
:
{
description
?:
string
}
Returns
{
add
(
value
:
number
,
attributes
?:
Record
<
string
,
unknown
>
)
:
void
}
create
Histogram
createHistogram
(
name
:
string
,
options
?:
{
description
?:
string
;
unit
?:
string
}
,
)
:
{
record
(
value
:
number
,
attributes
?:
Record
<
string
,
unknown
>
)
:
void
}
Parameters
name
:
string
Optional
options
:
{
description
?:
string
;
unit
?:
string
}
Returns
{
record
(
value
:
number
,
attributes
?:
Record
<
string
,
unknown
>
)
:
void
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
create
Counter
create
Histogram
@portfolio-resilience/core
Loading...