Skip to main content

Tracer

Index

Properties

captureAWSv3Client

captureAWSv3Client: <T>(service: T) => T

Type declaration

    • <T>(service: T): T
    • Type parameters

      • T

      Parameters

      • service: T

      Returns T

instance

instance: Tracer

trace

trace: <R>(segmentName: string, fn: () => Promise<R>) => Promise<R>

Type declaration

    • <R>(segmentName: string, fn: () => Promise<R>): Promise<R>
    • Type parameters

      • R

      Parameters

      • segmentName: string
      • fn: () => Promise<R>

      Returns Promise<R>