{"version":"2.1.331","anchor":"otel-chat-spans-get-gen-aioperationname","canonical_anchor":"otel-chat-spans-get-gen-aioperationname","heading":"Telemetry for model requests now labels them as chat","tier":"internal","area":"Telemetry","scope":"org","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/otel-chat-spans-get-gen-aioperationname","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### Telemetry for model requests now labels them as chat\n\nOpenTelemetry data for each model request now includes `gen_ai.operation.name` set to `chat`\n\n**What**\n\nClaude Code can send OpenTelemetry data, a standard format for monitoring information, about its requests to the model. Each request now carries `gen_ai.operation.name` with the value `chat`.\n\n**Why**\n\nThis follows the OpenTelemetry conventions for AI model calls more closely, so monitoring tools that expect this label can group these requests correctly.\n\n- Area: Telemetry\n- Names: `gen_ai.operation.name`\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: org\n- Heads-up: no"}