Skip to content
Source
Sign inSign up

effect__ai__Telemetry.yaml

19 lines1.6 KB

1"@effect/ai/Telemetry#AllAttributes":
2 replacement: "none"
3 note: "Removed. Use Telemetry.GenAITelemetryAttributeOptions for the grouped options accepted by Telemetry.addGenAIAnnotations, or Telemetry.GenAITelemetryAttributes for the prefixed gen_ai.* span attribute keys."
4"@effect/ai/Telemetry#BaseAttributes":
5 replacement: "Telemetry.ProviderAttributes"
6 note: "gen_ai.system was replaced by gen_ai.provider.name. Pass provider: { name } instead of system; legacy system values are not mapped."
7"@effect/ai/Telemetry#GenAITelemetryAttributeOptions":
8 replacement: "Telemetry.GenAITelemetryAttributeOptions"
9 note: "The system and token options were removed. Use provider: { name } for gen_ai.provider.name; gen_ai.token.type has no span replacement. The new output option writes gen_ai.output.type."
10"@effect/ai/Telemetry#TokenAttributes":
11 replacement: "none"
12 note: "Removed with the token option. gen_ai.token.type is not a span attribute in the current OpenTelemetry GenAI conventions."
13"@effect/ai/Telemetry#WellKnownSystem":
14 replacement: "Telemetry.WellKnownProviderName"
15 note: "Values follow gen_ai.provider.name: az.ai.inference, az.ai.openai, gemini, vertex_ai and xai became azure.ai.inference, azure.ai.openai, gcp.gemini, gcp.vertex_ai and x_ai."
16"@effect/ai/Telemetry#GenAITelemetryAttributes":
17 include: true
18 replacement: "Telemetry.GenAITelemetryAttributes"
19 note: "The flat span attribute keys changed: replace gen_ai.system with gen_ai.provider.name and remove gen_ai.token.type. gen_ai.output.type records text or json. Update code constructing or indexing this attribute type."