UNPKG

@codebayu/nuxt-plugins-signoz

Version:

Reusable plugin to implement signoz on Nuxt project

29 lines (24 loc) 520 B
import { Tracer } from "@opentelemetry/api" export interface IInitTracer { serviceName: string exporterUrl: string attributes: IInitAttributes } export interface IInitAttributes { path: string uuid: string } export interface IAttributes { [key: string]: string } export interface IEvents { name: string keyValue: IAttributes } export interface ICreateSpan { tracer: Tracer, name: string, func?: Function, attributes?: IAttributes | null, events?: IEvents | null }