Skip to content

Telemetry

Symbol kindCount
Case10
Enumeration2
Initializer4
Instance Method5
Instance Property35
Protocol1
Structure4
Type Method3
Type Property1
KindSymbolDeclarationSource
CaseTelemetry.Event.Kind.abortcase abortSources/SwiftAISDK/Telemetry.swift
CaseTelemetry.Event.Kind.endcase endSources/SwiftAISDK/Telemetry.swift
CaseTelemetry.Event.Kind.errorcase errorSources/SwiftAISDK/Telemetry.swift
CaseTelemetry.Event.Kind.retrycase retrySources/SwiftAISDK/Telemetry.swift
CaseTelemetry.Event.Kind.startcase startSources/SwiftAISDK/Telemetry.swift
CaseTelemetry.Event.Kind.stepEndcase stepEndSources/SwiftAISDK/Telemetry.swift
CaseTelemetry.Event.Kind.stepStartcase stepStartSources/SwiftAISDK/Telemetry.swift
CaseTelemetry.Event.Kind.toolEndcase toolEndSources/SwiftAISDK/Telemetry.swift
CaseTelemetry.Event.Kind.toolErrorcase toolErrorSources/SwiftAISDK/Telemetry.swift
CaseTelemetry.Event.Kind.toolStartcase toolStartSources/SwiftAISDK/Telemetry.swift
EnumerationTelemetryenum TelemetrySources/SwiftAISDK/Telemetry.swift
EnumerationTelemetry.Event.Kindenum KindSources/SwiftAISDK/Telemetry.swift
Initializerinit(callID:operationID:providerID:modelID:execute:)init(callID: String, operationID: String, providerID: String, modelID: String? = nil, execute: @escaping @Sendable () async throws -> Output)Sources/SwiftAISDK/Telemetry.swift
Initializerinit(callID:toolCallID:toolName:execute:)init(callID: String, toolCallID: String, toolName: String, execute: @escaping @Sendable () async throws -> Output)Sources/SwiftAISDK/Telemetry.swift
Initializerinit(isEnabled:includesInput:includesOutput:functionID:metadata:integrations:)init(isEnabled: Bool = true, includesInput: Bool = true, includesOutput: Bool = true, functionID: String? = nil, metadata: [String : JSONValue] = [:], integrations: [any Telemetry.Integration]? = nil)Sources/SwiftAISDK/Telemetry.swift
Initializerinit(kind:callID:operationID:providerID:modelID:functionID:attempt:maxRetries:delayNanoseconds:durationNanoseconds:input:output:usage:warnings:providerMetadata:responseMetadata:errorDescription:metadata:includesInput:includesOutput:)init(kind: Telemetry.Event.Kind, callID: String, operationID: String, providerID: String, modelID: String? = nil, functionID: String? = nil, attempt: Int? = nil, maxRetries: Int? = nil, delayNanoseconds: UInt64? = nil, durationNanoseconds: UInt64? = nil, input: JSONValue? = nil, output: JSONValue? = nil, usage: TokenUsage? = nil, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], responseMetadata: AIResponseMetadata = AIResponseMetadata(), errorDescription: String? = nil, metadata: [String : JSONValue] = [:], includesInput: Bool = true, includesOutput: Bool = true)Sources/SwiftAISDK/Telemetry.swift
Instance MethodexecuteLanguageModelCall(_:)func executeLanguageModelCall<Output>(_ context: Telemetry.LanguageModelCallContext<Output>) async throws -> Output where Output : SendableSources/SwiftAISDK/Telemetry.swift
Instance MethodexecuteLanguageModelCall(_:)func executeLanguageModelCall<Output>(_ context: Telemetry.LanguageModelCallContext<Output>) async throws -> Output where Output : SendableSources/SwiftAISDK/Telemetry.swift
Instance MethodexecuteTool(_:)func executeTool<Output>(_ context: Telemetry.ToolExecutionContext<Output>) async throws -> Output where Output : SendableSources/SwiftAISDK/Telemetry.swift
Instance MethodexecuteTool(_:)func executeTool<Output>(_ context: Telemetry.ToolExecutionContext<Output>) async throws -> Output where Output : SendableSources/SwiftAISDK/Telemetry.swift
Instance Methodrecord(_:)func record(_ event: Telemetry.Event) asyncSources/SwiftAISDK/Telemetry.swift
Instance Propertyattemptvar attempt: Int?Sources/SwiftAISDK/Telemetry.swift
Instance PropertycallIDvar callID: StringSources/SwiftAISDK/Telemetry.swift
Instance PropertycallIDvar callID: StringSources/SwiftAISDK/Telemetry.swift
Instance PropertycallIDvar callID: StringSources/SwiftAISDK/Telemetry.swift
Instance PropertydelayNanosecondsvar delayNanoseconds: UInt64?Sources/SwiftAISDK/Telemetry.swift
Instance PropertydurationNanosecondsvar durationNanoseconds: UInt64?Sources/SwiftAISDK/Telemetry.swift
Instance PropertyerrorDescriptionvar errorDescription: String?Sources/SwiftAISDK/Telemetry.swift
Instance Propertyexecutevar execute: @Sendable () async throws -> OutputSources/SwiftAISDK/Telemetry.swift
Instance Propertyexecutevar execute: @Sendable () async throws -> OutputSources/SwiftAISDK/Telemetry.swift
Instance PropertyfunctionIDvar functionID: String?Sources/SwiftAISDK/Telemetry.swift
Instance PropertyfunctionIDvar functionID: String?Sources/SwiftAISDK/Telemetry.swift
Instance PropertyincludesInputvar includesInput: BoolSources/SwiftAISDK/Telemetry.swift
Instance PropertyincludesInputvar includesInput: BoolSources/SwiftAISDK/Telemetry.swift
Instance PropertyincludesOutputvar includesOutput: BoolSources/SwiftAISDK/Telemetry.swift
Instance PropertyincludesOutputvar includesOutput: BoolSources/SwiftAISDK/Telemetry.swift
Instance Propertyinputvar input: JSONValue?Sources/SwiftAISDK/Telemetry.swift
Instance Propertyintegrationsvar integrations: [any Telemetry.Integration]?Sources/SwiftAISDK/Telemetry.swift
Instance PropertyisEnabledvar isEnabled: BoolSources/SwiftAISDK/Telemetry.swift
Instance Propertykindvar kind: Telemetry.Event.KindSources/SwiftAISDK/Telemetry.swift
Instance PropertymaxRetriesvar maxRetries: Int?Sources/SwiftAISDK/Telemetry.swift
Instance Propertymetadatavar metadata: [String : JSONValue]Sources/SwiftAISDK/Telemetry.swift
Instance Propertymetadatavar metadata: [String : JSONValue]Sources/SwiftAISDK/Telemetry.swift
Instance PropertymodelIDvar modelID: String?Sources/SwiftAISDK/Telemetry.swift
Instance PropertymodelIDvar modelID: String?Sources/SwiftAISDK/Telemetry.swift
Instance PropertyoperationIDvar operationID: StringSources/SwiftAISDK/Telemetry.swift
Instance PropertyoperationIDvar operationID: StringSources/SwiftAISDK/Telemetry.swift
Instance Propertyoutputvar output: JSONValue?Sources/SwiftAISDK/Telemetry.swift
Instance PropertyproviderIDvar providerID: StringSources/SwiftAISDK/Telemetry.swift
Instance PropertyproviderIDvar providerID: StringSources/SwiftAISDK/Telemetry.swift
Instance PropertyproviderMetadatavar providerMetadata: [String : JSONValue]Sources/SwiftAISDK/Telemetry.swift
Instance PropertyresponseMetadatavar responseMetadata: AIResponseMetadataSources/SwiftAISDK/Telemetry.swift
Instance PropertytoolCallIDvar toolCallID: StringSources/SwiftAISDK/Telemetry.swift
Instance PropertytoolNamevar toolName: StringSources/SwiftAISDK/Telemetry.swift
Instance Propertyusagevar usage: TokenUsage?Sources/SwiftAISDK/Telemetry.swift
Instance Propertywarningsvar warnings: [AIWarning]Sources/SwiftAISDK/Telemetry.swift
ProtocolTelemetry.Integrationprotocol Integration : SendableSources/SwiftAISDK/Telemetry.swift
StructureTelemetry.Eventstruct EventSources/SwiftAISDK/Telemetry.swift
StructureTelemetry.LanguageModelCallContextstruct LanguageModelCallContext<Output> where Output : SendableSources/SwiftAISDK/Telemetry.swift
StructureTelemetry.Optionsstruct OptionsSources/SwiftAISDK/Telemetry.swift
StructureTelemetry.ToolExecutionContextstruct ToolExecutionContext<Output> where Output : SendableSources/SwiftAISDK/Telemetry.swift
Type Methodregister(_:)static func register(_ integrations: any Telemetry.Integration...)Sources/SwiftAISDK/Telemetry.swift
Type Methodregister(_:)static func register(_ integrations: [any Telemetry.Integration])Sources/SwiftAISDK/Telemetry.swift
Type MethodregisteredIntegrations()static func registeredIntegrations() -> [any Telemetry.Integration]Sources/SwiftAISDK/Telemetry.swift
Type Propertydisabledstatic let disabled: Telemetry.OptionsSources/SwiftAISDK/Telemetry.swift