@adviser/cement - v0.0.0
Preparing search index...
TraceNode
Class TraceNode
Index
Constructors
constructor
Properties
childs
invokations
span
Id
ctx
metrics
Methods
root
get
Root
Path
invokes
ctx
With
span
Constructors
constructor
new
TraceNode
(
ctx
:
TraceCtx
)
:
TraceNode
Parameters
ctx
:
TraceCtx
Returns
TraceNode
Properties
Readonly
childs
childs
:
TraceNodeMap
= ...
Readonly
invokations
invokations
:
Invokaction
[]
= []
Readonly
span
Id
spanId
:
string
Readonly
ctx
ctx
:
TraceCtx
Readonly
metrics
metrics
:
Metrics
Methods
Static
root
root
(
time
:
Time
,
logger
?:
Logger
)
:
TraceNode
Parameters
time
:
Time
Optional
logger
:
Logger
Returns
TraceNode
get
Root
Path
getRootPath
(
rpath
?:
string
[]
)
:
string
Parameters
rpath
:
string
[]
= []
Returns
string
invokes
invokes
()
:
{
ctx
:
CleanCtx
;
invokations
:
Invokaction
[]
}
Returns
{
ctx
:
CleanCtx
;
invokations
:
Invokaction
[]
}
ctx
With
ctxWith
(
spanId
:
string
,
logger
?:
Logger
)
:
TraceCtxParam
Parameters
spanId
:
string
Optional
logger
:
Logger
Returns
TraceCtxParam
span
span
<
V
extends
(
trace
:
TraceNode
)
=>
T
|
Promise
<
T
>
,
T
>
(
inSpanId
:
string
|
TraceCtxParam
,
fn
:
V
,
)
:
ReturnType
<
V
>
Type Parameters
V
extends
(
trace
:
TraceNode
)
=>
T
|
Promise
<
T
>
T
Parameters
inSpanId
:
string
|
TraceCtxParam
fn
:
V
Returns
ReturnType
<
V
>
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
childs
invokations
span
Id
ctx
metrics
Methods
root
get
Root
Path
invokes
ctx
With
span
@adviser/cement - v0.0.0
Loading...