@deskcreate/agentcraft
    Preparing search index...

    Interface OpenTelemetryLikeTracer

    interface OpenTelemetryLikeTracer {
        startSpan(
            name: string,
            options?: { attributes?: Record<string, unknown> },
        ): {
            end(): void;
            recordException?(error: unknown): void;
            setStatus?(status: { code: number; message?: string }): void;
        };
    }
    Index

    Methods

    Methods

    • Parameters

      • name: string
      • Optionaloptions: { attributes?: Record<string, unknown> }

      Returns {
          end(): void;
          recordException?(error: unknown): void;
          setStatus?(status: { code: number; message?: string }): void;
      }