UNPKG
@codebayu/nuxt-plugins-signoz
Version:
latest (0.0.1)
0.0.1
Reusable plugin to implement signoz on Nuxt project
@codebayu/nuxt-plugins-signoz
/
dist
/
utils
/
opentelemetry.d.ts
4 lines
(3 loc)
•
291 B
TypeScript
View Raw
1
2
3
4
import
{
ICreateSpan
,
IInitTracer
}
from
'../types'
;
export
declare
const
initTracer
:
(
{ serviceName, exporterUrl, attributes }:
IInitTracer
) =>
import
(
"@opentelemetry/sdk-trace-web"
).
Tracer
;
export
declare
const
createSpan
:
(
{ tracer, name, func, attributes, events }:
ICreateSpan
) =>
any
;