@apet97/clockify115-sdk - v0.1.0
GitHub
npm
Preparing search index...
otel-hooks
OtelLikeSpan
Interface OtelLikeSpan
interface
OtelLikeSpan
{
setAttribute
(
key
:
string
,
value
:
string
|
number
|
boolean
)
:
this
;
setStatus
(
status
:
{
code
:
1
|
2
;
message
?:
string
}
)
:
this
;
recordException
(
exception
:
Error
)
:
this
;
end
()
:
void
;
}
Index
Methods
set
Attribute
set
Status
record
Exception
end
Methods
set
Attribute
setAttribute
(
key
:
string
,
value
:
string
|
number
|
boolean
)
:
this
Parameters
key
:
string
value
:
string
|
number
|
boolean
Returns
this
set
Status
setStatus
(
status
:
{
code
:
1
|
2
;
message
?:
string
}
)
:
this
Parameters
status
:
{
code
:
1
|
2
;
message
?:
string
}
Returns
this
record
Exception
recordException
(
exception
:
Error
)
:
this
Parameters
exception
:
Error
Returns
this
end
end
()
:
void
Returns
void
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Methods
set
Attribute
set
Status
record
Exception
end
GitHub
npm
@apet97/clockify115-sdk - v0.1.0
Loading...