@portfolio-resilience/core
Preparing search index...
IMetricSink
Interface IMetricSink
interface
IMetricSink
{
beginInFlight
(
policyName
:
string
)
:
void
;
endInFlight
(
policyName
:
string
)
:
void
;
recordCall
(
policyName
:
string
,
durationMs
:
number
,
success
:
boolean
,
attempts
:
number
,
)
:
void
;
}
Implemented by
CompositeMetricSink
InMemoryMetricSink
OtelMetricSink
Index
Methods
begin
In
Flight
end
In
Flight
record
Call
Methods
begin
In
Flight
beginInFlight
(
policyName
:
string
)
:
void
Parameters
policyName
:
string
Returns
void
end
In
Flight
endInFlight
(
policyName
:
string
)
:
void
Parameters
policyName
:
string
Returns
void
record
Call
recordCall
(
policyName
:
string
,
durationMs
:
number
,
success
:
boolean
,
attempts
:
number
,
)
:
void
Parameters
policyName
:
string
durationMs
:
number
success
:
boolean
attempts
:
number
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
begin
In
Flight
end
In
Flight
record
Call
@portfolio-resilience/core
Loading...