@microsoft/opentelemetry
    Preparing search index...

    Class ExecuteToolScope

    Provides OpenTelemetry tracing scope for AI tool execution operations.

    Hierarchy (View Summary)

    Index

    Properties

    span: Span

    Methods

    • Records multiple attribute key/value pairs.

      Parameters

      • attributes:
            | Iterable<[string, AttributeValue], any, any>
            | Record<string, AttributeValue>
            | null
            | undefined

      Returns void

    • Records response information for telemetry tracking. Objects are serialized to JSON automatically.

      Parameters

      • response: string | Record<string, unknown>

      Returns void

    • Sets a tag on the span if the value is not null or undefined.

      Type Parameters

      • T extends string | number | boolean | string[] | number[]

      Parameters

      • name: string
      • value: T | null | undefined

      Returns void