847total
311passed
536failed
skipped
114warnings
36.7%pass rate
13m 50sduration

LLM Tests

SDKBasic Error LLM TestBasic LLM TestConversation ID LLM TestLong Input LLM TestMulti-Turn LLM TestVision LLM Test
browser/anthropic
browser/google-genai
browser/langchain
browser/openai
cloudflare/anthropic
cloudflare/google-genai
cloudflare/langchain
cloudflare/openai
nextjs/anthropic
nextjs/google-genai
nextjs/langchain
nextjs/openai
node/anthropic
node/google-genai
node/langchain
node/manual-
node/openai
python/anthropic
python/google-genai
python/langchain
python/litellm
python/manual-
python/openai

Agent Tests

SDKBasic Agent TestConversation ID Agent TestLong Input Agent TestTool Call Agent TestTool Error Agent TestVision Agent Test
cloudflare/langgraph
cloudflare/vercel
nextjs/mastra-
nextjs/vercel
node/langgraph
node/manual
node/mastra
node/vercel
python/langgraph
python/manual
python/openai-agents
python/pydantic-ai

Embeddings Tests

SDKBasic Embeddings Test
browser/google-genai
browser/langchain
browser/openai
cloudflare/google-genai
cloudflare/langchain
cloudflare/openai
cloudflare/vercel
nextjs/google-genai
nextjs/langchain
nextjs/openai
nextjs/vercel
node/google-genai
node/langchain
node/openai
node/vercel
python/google-genai
python/langchain
python/litellm
python/manual
python/openai
Filters

Failed Tests (536)

cloudflare/langgraph :: Basic Agent Test (openai)❗︎ 1⚠︎ 118119ms
checkAgentSpanAttributes
checkChatSpanAttributes
a1736057gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a1736057gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
a1736057gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(1 span)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (4)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "basic-agent-test",
    "op": "test",
    "parent_span_id": "8f79b288275ea84b",
    "span_id": "9bcebd669ba9c9d7",
    "start_timestamp": 1779175312.145,
    "timestamp": 1779175313.121,
    "trace_id": "5aa78c7793d44479bfcf68ecdfafdd0f",
    "origin": "manual"
  },
  {
    "span_id": "8f79b288275ea84b",
    "trace_id": "5aa78c7793d44479bfcf68ecdfafdd0f",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175312.134,
    "timestamp": 1779175313.122,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24242/",
      "url.port": "24242",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24242",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "94b2a1f595bb2421",
    "trace_id": "5aa78c7793d44479bfcf68ecdfafdd0f",
    "parent_span_id": "9bcebd669ba9c9d7",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175312.146,
    "timestamp": 1779175313.12,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.invoke_agent",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "sentry.source": "custom",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.text": "[{\"role\":\"assistant\",\"content\":\"The capital of France is Paris.\"}]",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 7,
      "gen_ai.usage.total_tokens": 31
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a1736057efe25f37",
    "trace_id": "5aa78c7793d44479bfcf68ecdfafdd0f",
    "parent_span_id": "94b2a1f595bb2421",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175312.183,
    "timestamp": 1779175313.115,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"The capital of France is Paris.\"]",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 7,
      "gen_ai.usage.total_tokens": 31,
      "gen_ai.response.id": "chatcmpl-Dh93wX8XOSDlBgRGa8uKucPZXyLMq",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/langgraph :: Basic Agent Test (anthropic)❗︎ 1 1⚠︎ 115070ms
checkAgentSpanAttributes
checkChatSpanAttributes
bcee9818gen_ai.usage.input_tokensSpan bcee9818: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
bcee9818gen_ai.usage.output_tokensSpan bcee9818: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkAgentHierarchy
checkValidTokenUsage
bd965b36gen_ai.usage.input_tokensinput_tokens must exist
bd965b36gen_ai.usage.output_tokensoutput_tokens must exist
bd965b36gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
bcee9818gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "basic-agent-test",
    "op": "test",
    "parent_span_id": "a3cb49f75300dbde",
    "span_id": "9dcd076a3f0aede0",
    "start_timestamp": 1779175308.879,
    "timestamp": 1779175309.952,
    "trace_id": "3455f7d895ea4c8093920952147e2b04",
    "origin": "manual"
  },
  {
    "span_id": "a3cb49f75300dbde",
    "trace_id": "3455f7d895ea4c8093920952147e2b04",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175308.782,
    "timestamp": 1779175309.985,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24239/",
      "url.port": "24239",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24239",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "bd965b36f6350737",
    "trace_id": "3455f7d895ea4c8093920952147e2b04",
    "parent_span_id": "9dcd076a3f0aede0",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175308.879,
    "timestamp": 1779175309.935,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.invoke_agent",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "sentry.source": "custom",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "bcee9818ec01f602",
    "trace_id": "3455f7d895ea4c8093920952147e2b04",
    "parent_span_id": "bd965b36f6350737",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175309.338,
    "timestamp": 1779175309.767,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]"
    },
    "status": "error",
    "is_segment": false
  }
]
cloudflare/langgraph :: Tool Call Agent Test (openai)❗︎ 1⚠︎ 119490ms
checkAgentSpanAttributes
checkChatSpanAttributes
ac076f2fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ac076f2fgen_ai.output.messagesMissing output messages attribute
af43124egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
af43124egen_ai.output.messagesMissing output messages attribute
a3169bf2gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a3169bf2gen_ai.output.messagesMissing output messages attribute
checkToolSpanAttributes
checkAgentHierarchy
checkValidTokenUsage
checkAvailableTools
checkResponseToolCalls(add, multiply)
checkToolCalls(add, multiply)
checkInputMessagesSchema
checkResponseModel
ac076f2fgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
af43124egen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
a3169bf2gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.available_tools(4 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(2 spans) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(2 spans) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.response.stop_reason(3 spans)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
gen_ai.tool.call.id(2 spans)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
{}Captured Spans (8)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "tool-call-agent-test",
    "op": "test",
    "parent_span_id": "a2cecd8ad19b40cd",
    "span_id": "81ebc76dc7ded674",
    "start_timestamp": 1779175312.039,
    "timestamp": 1779175314.484,
    "trace_id": "d17e77fbfac04eb5904c944064fefa49",
    "origin": "manual"
  },
  {
    "span_id": "a2cecd8ad19b40cd",
    "trace_id": "d17e77fbfac04eb5904c944064fefa49",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175312.026,
    "timestamp": 1779175314.489,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24238/",
      "url.port": "24238",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24238",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "a659451e1e074ad9",
    "trace_id": "d17e77fbfac04eb5904c944064fefa49",
    "parent_span_id": "81ebc76dc7ded674",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent math_assistant",
    "start_timestamp": 1779175312.039,
    "timestamp": 1779175314.483,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.invoke_agent",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.pipeline.name": "math_assistant",
      "gen_ai.agent.name": "math_assistant",
      "sentry.source": "custom",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.available_tools": "[{\"name\":\"add\",\"description\":\"Add two numbers together\",\"schema\":{\"_def\":{\"unknownKeys\":\"strip\",\"catchall\":{\"_def\":{\"typeName\":\"ZodNever\"},\"~standard\":{\"version\":1,\"vendor\":\"zod\"}},\"typeName\":\"ZodObject\"},\"~standard\":{\"version\":1,\"vendor\":\"zod\"},\"_cached\":null}},{\"name\":\"multiply\",\"description\":\"Multiply two numbers together\",\"schema\":{\"_def\":{\"unknownKeys\":\"strip\",\"catchall\":{\"_def\":{\"typeName\":\"ZodNever\"},\"~standard\":{\"version\":1,\"vendor\":\"zod\"}},\"typeName\":\"ZodObject\"},\"~standard\":{\"version\":1,\"vendor\":\"zod\"},\"_cached\":null}}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Calculate (3 + 5) * 4. First use the add tool to add 3 and 5, then use the multiply tool to multiply the result by 4.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.tool_calls": "[{\"name\":\"add\",\"args\":{\"a\":3,\"b\":5},\"type\":\"tool_call\",\"id\":\"call_RAZMip06vDfLOj0BZs3wz8HR\"},{\"name\":\"multiply\",\"args\":{\"a\":8,\"b\":4},\"type\":\"tool_call\",\"id\":\"call_SURqE0mlTNBBTtbXGxapAPZY\"}]",
      "gen_ai.response.text": "[{\"role\":\"assistant\",\"content\":\"\"},{\"role\":\"tool\",\"content\":\"8\"},{\"role\":\"assistant\",\"content\":\"\"},{\"role\":\"tool\",\"content\":\"32\"},{\"role\":\"assistant\",\"content\":\"The result of \\\\((3 + 5) * 4\\\\) is \\\\(32\\\\).\"}]",
      "gen_ai.usage.input_tokens": 441,
      "gen_ai.usage.output_tokens": 55,
      "gen_ai.usage.total_tokens": 496
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "ac076f2f5b67ee70",
    "trace_id": "d17e77fbfac04eb5904c944064fefa49",
    "parent_span_id": "a659451e1e074ad9",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175312.116,
    "timestamp": 1779175313.19,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "math_assistant",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.temperature": 1,
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Calculate (3 + 5) * 4. First use the add tool to add 3 and 5, then use the multiply tool to multiply the result by 4.\"}]",
      "gen_ai.request.available_tools": "[{\"type\":\"function\",\"name\":\"add\",\"description\":\"Add two numbers together\"},{\"type\":\"function\",\"name\":\"multiply\",\"description\":\"Multiply two numbers together\"}]",
      "gen_ai.response.finish_reasons": "[\"tool_calls\"]",
      "gen_ai.response.tool_calls": "[{\"name\":\"add\",\"args\":{\"a\":3,\"b\":5},\"type\":\"tool_call\",\"id\":\"call_RAZMip06vDfLOj0BZs3wz8HR\"}]",
      "gen_ai.response.text": "[\"\"]",
      "gen_ai.usage.input_tokens": 118,
      "gen_ai.usage.output_tokens": 17,
      "gen_ai.usage.total_tokens": 135,
      "gen_ai.response.id": "chatcmpl-Dh93wHOlGmhjDrB7gKdiJHP3s6gPO",
      "gen_ai.response.stop_reason": "tool_calls"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "89d1b85afdaac885",
    "trace_id": "d17e77fbfac04eb5904c944064fefa49",
    "parent_span_id": "a659451e1e074ad9",
    "op": "gen_ai.execute_tool",
    "description": "execute_tool add",
    "start_timestamp": 1779175313.195,
    "timestamp": 1779175313.197,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.execute_tool",
      "gen_ai.operation.name": "execute_tool",
      "gen_ai.tool.name": "add",
      "gen_ai.tool.type": "function",
      "gen_ai.agent.name": "math_assistant",
      "gen_ai.tool.description": "Add two numbers together",
      "gen_ai.tool.call.id": "call_RAZMip06vDfLOj0BZs3wz8HR",
      "gen_ai.tool.input": "{\"a\":3,\"b\":5}",
      "gen_ai.tool.output": "8"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "af43124e588d62b1",
    "trace_id": "d17e77fbfac04eb5904c944064fefa49",
    "parent_span_id": "a659451e1e074ad9",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175313.2,
    "timestamp": 1779175313.733,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "math_assistant",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.temperature": 1,
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"tool\",\"content\":\"8\"}]",
      "gen_ai.request.available_tools": "[{\"type\":\"function\",\"name\":\"add\",\"description\":\"Add two numbers together\"},{\"type\":\"function\",\"name\":\"multiply\",\"description\":\"Multiply two numbers together\"}]",
      "gen_ai.response.finish_reasons": "[\"tool_calls\"]",
      "gen_ai.response.tool_calls": "[{\"name\":\"multiply\",\"args\":{\"a\":8,\"b\":4},\"type\":\"tool_call\",\"id\":\"call_SURqE0mlTNBBTtbXGxapAPZY\"}]",
      "gen_ai.response.text": "[\"\"]",
      "gen_ai.usage.input_tokens": 147,
      "gen_ai.usage.output_tokens": 17,
      "gen_ai.usage.total_tokens": 164,
      "gen_ai.response.id": "chatcmpl-Dh93xmcSAKQaIxMgZMzzDZTH6cH4C",
      "gen_ai.response.stop_reason": "tool_calls"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a8464bfbb82d0dde",
    "trace_id": "d17e77fbfac04eb5904c944064fefa49",
    "parent_span_id": "a659451e1e074ad9",
    "op": "gen_ai.execute_tool",
    "description": "execute_tool multiply",
    "start_timestamp": 1779175313.737,
    "timestamp": 1779175313.738,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.execute_tool",
      "gen_ai.operation.name": "execute_tool",
      "gen_ai.tool.name": "multiply",
      "gen_ai.tool.type": "function",
      "gen_ai.agent.name": "math_assistant",
      "gen_ai.tool.description": "Multiply two numbers together",
      "gen_ai.tool.call.id": "call_SURqE0mlTNBBTtbXGxapAPZY",
      "gen_ai.tool.input": "{\"a\":8,\"b\":4}",
      "gen_ai.tool.output": "32"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a3169bf2c25a2b6f",
    "trace_id": "d17e77fbfac04eb5904c944064fefa49",
    "parent_span_id": "a659451e1e074ad9",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175313.741,
    "timestamp": 1779175314.479,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "math_assistant",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.temperature": 1,
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.input.messages": "[{\"role\":\"tool\",\"content\":\"32\"}]",
      "gen_ai.request.available_tools": "[{\"type\":\"function\",\"name\":\"add\",\"description\":\"Add two numbers together\"},{\"type\":\"function\",\"name\":\"multiply\",\"description\":\"Multiply two numbers together\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"The result of \\\\((3 + 5) * 4\\\\) is \\\\(32\\\\).\"]",
      "gen_ai.usage.input_tokens": 176,
      "gen_ai.usage.output_tokens": 21,
      "gen_ai.usage.total_tokens": 197,
      "gen_ai.response.id": "chatcmpl-Dh93xTxE7gEsZO6v2sX5sNfKsMpwB",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/langgraph :: Tool Call Agent Test (anthropic)❗︎ 2 3⚠︎ 116660ms
checkAgentSpanAttributes
checkChatSpanAttributes
8a603354gen_ai.usage.input_tokensSpan 8a603354: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
8a603354gen_ai.usage.output_tokensSpan 8a603354: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkToolSpanAttributes
Should have at least one tool span
checkAgentHierarchy
checkValidTokenUsage
a7dd402agen_ai.usage.input_tokensinput_tokens must exist
a7dd402agen_ai.usage.output_tokensoutput_tokens must exist
a7dd402agen_ai.usage.total_tokenstotal_tokens must exist
checkAvailableTools
checkResponseToolCalls(add, multiply)
8a603354gen_ai.output.messagesShould have at least 2 tool call(s) in response but found 0
checkToolCalls(add, multiply)
Should have at least 2 tool span(s) but found 0
checkInputMessagesSchema
checkResponseModel
8a603354gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "tool-call-agent-test",
    "op": "test",
    "parent_span_id": "9096da054950c291",
    "span_id": "8bb0ad67e2fac30b",
    "start_timestamp": 1779175311.36,
    "timestamp": 1779175311.637,
    "trace_id": "99e674828c394b98a5537af856af2169",
    "origin": "manual"
  },
  {
    "span_id": "9096da054950c291",
    "trace_id": "99e674828c394b98a5537af856af2169",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175311.333,
    "timestamp": 1779175311.644,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24241/",
      "url.port": "24241",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24241",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "a7dd402a5196b0b9",
    "trace_id": "99e674828c394b98a5537af856af2169",
    "parent_span_id": "8bb0ad67e2fac30b",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent math_assistant",
    "start_timestamp": 1779175311.361,
    "timestamp": 1779175311.636,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.invoke_agent",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.pipeline.name": "math_assistant",
      "gen_ai.agent.name": "math_assistant",
      "sentry.source": "custom",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.available_tools": "[{\"name\":\"add\",\"description\":\"Add two numbers together\",\"schema\":{\"_def\":{\"unknownKeys\":\"strip\",\"catchall\":{\"_def\":{\"typeName\":\"ZodNever\"},\"~standard\":{\"version\":1,\"vendor\":\"zod\"}},\"typeName\":\"ZodObject\"},\"~standard\":{\"version\":1,\"vendor\":\"zod\"},\"_cached\":null}},{\"name\":\"multiply\",\"description\":\"Multiply two numbers together\",\"schema\":{\"_def\":{\"unknownKeys\":\"strip\",\"catchall\":{\"_def\":{\"typeName\":\"ZodNever\"},\"~standard\":{\"version\":1,\"vendor\":\"zod\"}},\"typeName\":\"ZodObject\"},\"~standard\":{\"version\":1,\"vendor\":\"zod\"},\"_cached\":null}}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Calculate (3 + 5) * 4. First use the add tool to add 3 and 5, then use the multiply tool to multiply the result by 4.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "8a60335401cc07f6",
    "trace_id": "99e674828c394b98a5537af856af2169",
    "parent_span_id": "a7dd402a5196b0b9",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175311.413,
    "timestamp": 1779175311.543,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "math_assistant",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Calculate (3 + 5) * 4. First use the add tool to add 3 and 5, then use the multiply tool to multiply the result by 4.\"}]",
      "gen_ai.request.available_tools": "[{\"type\":\"function\",\"name\":\"add\",\"description\":\"Add two numbers together\"},{\"type\":\"function\",\"name\":\"multiply\",\"description\":\"Multiply two numbers together\"}]"
    },
    "status": "error",
    "is_segment": false
  }
]
cloudflare/langgraph :: Tool Error Agent Test (openai)❗︎ 1⚠︎ 119112ms
checkAgentSpanAttributes
checkChatSpanAttributes
91408684gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
91408684gen_ai.output.messagesMissing output messages attribute
9f62ca65gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9f62ca65gen_ai.output.messagesMissing output messages attribute
checkToolSpanAttributes
checkAgentHierarchy
checkAvailableTools
checkResponseToolCalls(read_file)
checkInputMessagesSchema
checkToolErrorSpan
checkResponseModel
91408684gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
9f62ca65gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.request.available_tools(3 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
Unknown Attributes
gen_ai.response.stop_reason(2 spans)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
{}Captured Spans (6)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "tool-error-agent-test",
    "op": "test",
    "parent_span_id": "818638f70b557438",
    "span_id": "866d613ca9c2ebfc",
    "start_timestamp": 1779175311.429,
    "timestamp": 1779175314.104,
    "trace_id": "e9d5b4c0ae174211829a3cd857e02689",
    "origin": "manual"
  },
  {
    "span_id": "818638f70b557438",
    "trace_id": "e9d5b4c0ae174211829a3cd857e02689",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175311.408,
    "timestamp": 1779175314.106,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24240/",
      "url.port": "24240",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24240",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "995cca546dec3c83",
    "trace_id": "e9d5b4c0ae174211829a3cd857e02689",
    "parent_span_id": "866d613ca9c2ebfc",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent file_assistant",
    "start_timestamp": 1779175311.43,
    "timestamp": 1779175314.103,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.invoke_agent",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.pipeline.name": "file_assistant",
      "gen_ai.agent.name": "file_assistant",
      "sentry.source": "custom",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.available_tools": "[{\"name\":\"read_file\",\"description\":\"Read the contents of a file\",\"schema\":{\"_def\":{\"unknownKeys\":\"strip\",\"catchall\":{\"_def\":{\"typeName\":\"ZodNever\"},\"~standard\":{\"version\":1,\"vendor\":\"zod\"}},\"typeName\":\"ZodObject\"},\"~standard\":{\"version\":1,\"vendor\":\"zod\"},\"_cached\":null}}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Please read the file at /nonexistent/file.txt and tell me what it contains. Use the read_file tool.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.tool_calls": "[{\"name\":\"read_file\",\"args\":{\"path\":\"/nonexistent/file.txt\"},\"type\":\"tool_call\",\"id\":\"call_SQsMQh177dx6CobYOD9GiTDE\"}]",
      "gen_ai.response.text": "[{\"role\":\"assistant\",\"content\":\"\"},{\"role\":\"tool\",\"content\":\"Error: FileNotFoundError: The file '/nonexistent/file.txt' does not exist\\n Please fix your mistakes.\"},{\"role\":\"assistant\",\"content\":\"The file at the path `/nonexistent/file.txt` does not exist. Please check the file path and try again.\"}]",
      "gen_ai.usage.input_tokens": 205,
      "gen_ai.usage.output_tokens": 43,
      "gen_ai.usage.total_tokens": 248
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "914086848cf898d4",
    "trace_id": "e9d5b4c0ae174211829a3cd857e02689",
    "parent_span_id": "995cca546dec3c83",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175311.487,
    "timestamp": 1779175313.214,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "file_assistant",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.temperature": 1,
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Please read the file at /nonexistent/file.txt and tell me what it contains. Use the read_file tool.\"}]",
      "gen_ai.request.available_tools": "[{\"type\":\"function\",\"name\":\"read_file\",\"description\":\"Read the contents of a file\"}]",
      "gen_ai.response.finish_reasons": "[\"tool_calls\"]",
      "gen_ai.response.tool_calls": "[{\"name\":\"read_file\",\"args\":{\"path\":\"/nonexistent/file.txt\"},\"type\":\"tool_call\",\"id\":\"call_SQsMQh177dx6CobYOD9GiTDE\"}]",
      "gen_ai.response.text": "[\"\"]",
      "gen_ai.usage.input_tokens": 76,
      "gen_ai.usage.output_tokens": 18,
      "gen_ai.usage.total_tokens": 94,
      "gen_ai.response.id": "chatcmpl-Dh93wqHUJh7YWZw4qUQeC6hKXfttg",
      "gen_ai.response.stop_reason": "tool_calls"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "83e1b51bfc80dd51",
    "trace_id": "e9d5b4c0ae174211829a3cd857e02689",
    "parent_span_id": "995cca546dec3c83",
    "op": "gen_ai.execute_tool",
    "description": "execute_tool read_file",
    "start_timestamp": 1779175313.218,
    "timestamp": 1779175313.23,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.execute_tool",
      "gen_ai.operation.name": "execute_tool",
      "gen_ai.tool.name": "read_file",
      "gen_ai.tool.type": "function",
      "gen_ai.agent.name": "file_assistant",
      "gen_ai.tool.description": "Read the contents of a file",
      "gen_ai.tool.call.id": "call_SQsMQh177dx6CobYOD9GiTDE",
      "gen_ai.tool.input": "{\"path\":\"/nonexistent/file.txt\"}"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "9f62ca65f6e8c0a6",
    "trace_id": "e9d5b4c0ae174211829a3cd857e02689",
    "parent_span_id": "995cca546dec3c83",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175313.232,
    "timestamp": 1779175314.098,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "file_assistant",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.temperature": 1,
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"tool\",\"content\":\"Error: FileNotFoundError: The file '/nonexistent/file.txt' does not exist\\n Please fix your mistakes.\"}]",
      "gen_ai.request.available_tools": "[{\"type\":\"function\",\"name\":\"read_file\",\"description\":\"Read the contents of a file\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"The file at the path `/nonexistent/file.txt` does not exist. Please check the file path and try again.\"]",
      "gen_ai.usage.input_tokens": 129,
      "gen_ai.usage.output_tokens": 25,
      "gen_ai.usage.total_tokens": 154,
      "gen_ai.response.id": "chatcmpl-Dh93xZ4QcN3J9iUojIR62bE86wOSY",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/langgraph :: Tool Error Agent Test (anthropic)❗︎ 2 2⚠︎ 117207ms
checkAgentSpanAttributes
checkChatSpanAttributes
b9a753a9gen_ai.usage.input_tokensSpan b9a753a9: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
b9a753a9gen_ai.usage.output_tokensSpan b9a753a9: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkToolSpanAttributes
Should have at least one tool span
checkAgentHierarchy
checkAvailableTools
checkResponseToolCalls(read_file)
b9a753a9gen_ai.output.messagesShould have at least 1 tool call(s) in response but found 0
checkInputMessagesSchema
checkToolErrorSpan
Should have at least one tool span but found none
checkResponseModel
b9a753a9gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "tool-error-agent-test",
    "op": "test",
    "parent_span_id": "8c027ea4a3a9a4b3",
    "span_id": "b46f68b29c9674e6",
    "start_timestamp": 1779175311.831,
    "timestamp": 1779175312.185,
    "trace_id": "7a7727c3e6204fc4b478060937a8c450",
    "origin": "manual"
  },
  {
    "span_id": "8c027ea4a3a9a4b3",
    "trace_id": "7a7727c3e6204fc4b478060937a8c450",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175311.819,
    "timestamp": 1779175312.189,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24248/",
      "url.port": "24248",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24248",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "b3a60547182aca66",
    "trace_id": "7a7727c3e6204fc4b478060937a8c450",
    "parent_span_id": "b46f68b29c9674e6",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent file_assistant",
    "start_timestamp": 1779175311.832,
    "timestamp": 1779175312.182,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.invoke_agent",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.pipeline.name": "file_assistant",
      "gen_ai.agent.name": "file_assistant",
      "sentry.source": "custom",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.available_tools": "[{\"name\":\"read_file\",\"description\":\"Read the contents of a file\",\"schema\":{\"_def\":{\"unknownKeys\":\"strip\",\"catchall\":{\"_def\":{\"typeName\":\"ZodNever\"},\"~standard\":{\"version\":1,\"vendor\":\"zod\"}},\"typeName\":\"ZodObject\"},\"~standard\":{\"version\":1,\"vendor\":\"zod\"},\"_cached\":null}}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Please read the file at /nonexistent/file.txt and tell me what it contains. Use the read_file tool.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "b9a753a9bb6e77a0",
    "trace_id": "7a7727c3e6204fc4b478060937a8c450",
    "parent_span_id": "b3a60547182aca66",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175311.908,
    "timestamp": 1779175312.127,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "file_assistant",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Please read the file at /nonexistent/file.txt and tell me what it contains. Use the read_file tool.\"}]",
      "gen_ai.request.available_tools": "[{\"type\":\"function\",\"name\":\"read_file\",\"description\":\"Read the contents of a file\"}]"
    },
    "status": "error",
    "is_segment": false
  }
]
cloudflare/langgraph :: Vision Agent Test (openai)❗︎ 1⚠︎ 117838ms
checkAgentSpanAttributes
checkChatSpanAttributes
abe1844dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
abe1844dgen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
abe1844dgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(1 span)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (4)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "vision-agent-test",
    "op": "test",
    "parent_span_id": "92c15f0fc7e6aa0d",
    "span_id": "be6007945e4a51a3",
    "start_timestamp": 1779175311.586,
    "timestamp": 1779175312.841,
    "trace_id": "c2321b4484534c93ae65cbd0bc1eb058",
    "origin": "manual"
  },
  {
    "span_id": "92c15f0fc7e6aa0d",
    "trace_id": "c2321b4484534c93ae65cbd0bc1eb058",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175311.562,
    "timestamp": 1779175312.843,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24243/",
      "url.port": "24243",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24243",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "94d38273c6a9f6a4",
    "trace_id": "c2321b4484534c93ae65cbd0bc1eb058",
    "parent_span_id": "be6007945e4a51a3",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent vision_assistant",
    "start_timestamp": 1779175311.587,
    "timestamp": 1779175312.841,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.invoke_agent",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.pipeline.name": "vision_assistant",
      "gen_ai.agent.name": "vision_assistant",
      "sentry.source": "custom",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"What color is this image? Reply with just the color name.\\\"},{\\\"type\\\":\\\"image_url\\\",\\\"image_url\\\":{\\\"url\\\":\\\"[Blob substitute]\\\"}}]\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.text": "[{\"role\":\"assistant\",\"content\":\"Red\"}]",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 8538
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "abe1844d8907a077",
    "trace_id": "c2321b4484534c93ae65cbd0bc1eb058",
    "parent_span_id": "94d38273c6a9f6a4",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175311.735,
    "timestamp": 1779175312.835,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "vision_assistant",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"What color is this image? Reply with just the color name.\\\"},{\\\"type\\\":\\\"image_url\\\",\\\"image_url\\\":{\\\"url\\\":\\\"[Blob substitute]\\\"}}]\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Red\"]",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 8538,
      "gen_ai.response.id": "chatcmpl-Dh93wNeH54MYxDGoQ2kmUzCDxI9Kl",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/langgraph :: Vision Agent Test (anthropic)❗︎ 1 1⚠︎ 115891ms
checkAgentSpanAttributes
checkChatSpanAttributes
90d9e52agen_ai.usage.input_tokensSpan 90d9e52a: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
90d9e52agen_ai.usage.output_tokensSpan 90d9e52a: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkAgentHierarchy
checkValidTokenUsage
84f257b6gen_ai.usage.input_tokensinput_tokens must exist
84f257b6gen_ai.usage.output_tokensoutput_tokens must exist
84f257b6gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
90d9e52agen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "vision-agent-test",
    "op": "test",
    "parent_span_id": "ac62c37a9ec3c7eb",
    "span_id": "9d9f7856931c639d",
    "start_timestamp": 1779175310.651,
    "timestamp": 1779175310.832,
    "trace_id": "7d6ee02f986f43e88e69bfbc3351b3aa",
    "origin": "manual"
  },
  {
    "span_id": "ac62c37a9ec3c7eb",
    "trace_id": "7d6ee02f986f43e88e69bfbc3351b3aa",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175310.644,
    "timestamp": 1779175310.844,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24244/",
      "url.port": "24244",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24244",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "84f257b6cc57e606",
    "trace_id": "7d6ee02f986f43e88e69bfbc3351b3aa",
    "parent_span_id": "9d9f7856931c639d",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent vision_assistant",
    "start_timestamp": 1779175310.652,
    "timestamp": 1779175310.825,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.invoke_agent",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.pipeline.name": "vision_assistant",
      "gen_ai.agent.name": "vision_assistant",
      "sentry.source": "custom",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"What color is this image? Reply with just the color name.\\\"},{\\\"type\\\":\\\"image_url\\\",\\\"image_url\\\":{\\\"url\\\":\\\"[Blob substitute]\\\"}}]\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "90d9e52a5f85a534",
    "trace_id": "7d6ee02f986f43e88e69bfbc3351b3aa",
    "parent_span_id": "84f257b6cc57e606",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175310.684,
    "timestamp": 1779175310.793,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "vision_assistant",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"What color is this image? Reply with just the color name.\\\"},{\\\"type\\\":\\\"image_url\\\",\\\"image_url\\\":{\\\"url\\\":\\\"[Blob substitute]\\\"}}]\"}]"
    },
    "status": "error",
    "is_segment": false
  }
]
cloudflare/langgraph :: Long Input Agent Test (openai)❗︎ 1⚠︎ 145509ms
checkAgentSpanAttributes
checkChatSpanAttributes
926d7cfegen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
926d7cfegen_ai.output.messagesMissing output messages attribute
ade8ace3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ade8ace3gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
checkInputMessagesSchema
checkResponseModel
926d7cfegen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
ade8ace3gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.request.available_tools(3 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(1 span) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.response.stop_reason(2 spans)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
{}Captured Spans (6)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "long-input-agent-test",
    "op": "test",
    "parent_span_id": "aabbffd079d005b5",
    "span_id": "a51bf1bc63f08b5f",
    "start_timestamp": 1779175311.951,
    "timestamp": 1779175340.5,
    "trace_id": "7d1b67e8621b490abd26a283e64f6168",
    "origin": "manual"
  },
  {
    "span_id": "aabbffd079d005b5",
    "trace_id": "7d1b67e8621b490abd26a283e64f6168",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175311.938,
    "timestamp": 1779175340.503,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24245/",
      "url.port": "24245",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24245",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "97629bc2986b276d",
    "trace_id": "7d1b67e8621b490abd26a283e64f6168",
    "parent_span_id": "a51bf1bc63f08b5f",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent summarizer_assistant",
    "start_timestamp": 1779175311.954,
    "timestamp": 1779175340.497,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.invoke_agent",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.pipeline.name": "summarizer_assistant",
      "gen_ai.agent.name": "summarizer_assistant",
      "sentry.source": "custom",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.available_tools": "[{\"name\":\"get_word_count\",\"description\":\"Count the number of words in a text\",\"schema\":{\"_def\":{\"unknownKeys\":\"strip\",\"catchall\":{\"_def\":{\"typeName\":\"ZodNever\"},\"~standard\":{\"version\":1,\"vendor\":\"zod\"}},\"typeName\":\"ZodObject\"},\"~standard\":{\"version\":1,\"vendor\":\"zod\"},\"_cached\":null}}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Please summarize the following text in one sentence. You may use the get_word_count tool first if needed: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to \"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.tool_calls": "[{\"name\":\"get_word_count\",\"args\":{\"text\":\"This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input.\"},\"type\":\"tool_call\",\"id\":\"call_OKlfiMvKTkmqBWGjmb19o0Nf\"}]",
      "gen_ai.response.text": "[{\"role\":\"assistant\",\"content\":\"\"},{\"role\":\"tool\",\"content\":\"2400\"},{\"role\":\"assistant\",\"content\":\"The text is a repetitive message stating that it is a test message that will be repeated multiple times to create a long input.\"}]",
      "gen_ai.usage.input_tokens": 12298,
      "gen_ai.usage.output_tokens": 1354,
      "gen_ai.usage.total_tokens": 13652
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "926d7cfeedf215f7",
    "trace_id": "7d1b67e8621b490abd26a283e64f6168",
    "parent_span_id": "97629bc2986b276d",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175312.146,
    "timestamp": 1779175339.415,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "summarizer_assistant",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.temperature": 1,
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Please summarize the following text in one sentence. You may use the get_word_count tool first if needed: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to \"}]",
      "gen_ai.request.available_tools": "[{\"type\":\"function\",\"name\":\"get_word_count\",\"description\":\"Count the number of words in a text\"}]",
      "gen_ai.response.finish_reasons": "[\"tool_calls\"]",
      "gen_ai.response.tool_calls": "[{\"name\":\"get_word_count\",\"args\":{\"text\":\"This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input.\"},\"type\":\"tool_call\",\"id\":\"call_OKlfiMvKTkmqBWGjmb19o0Nf\"}]",
      "gen_ai.response.text": "[\"\"]",
      "gen_ai.usage.input_tokens": 5477,
      "gen_ai.usage.output_tokens": 1328,
      "gen_ai.usage.total_tokens": 6805,
      "gen_ai.response.id": "chatcmpl-Dh93wNZGOAVQ2nrWlQVZnS7BBW6UD",
      "gen_ai.response.stop_reason": "tool_calls"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8f021d8a70e99ea3",
    "trace_id": "7d1b67e8621b490abd26a283e64f6168",
    "parent_span_id": "97629bc2986b276d",
    "op": "gen_ai.execute_tool",
    "description": "execute_tool get_word_count",
    "start_timestamp": 1779175339.436,
    "timestamp": 1779175339.441,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.execute_tool",
      "gen_ai.operation.name": "execute_tool",
      "gen_ai.tool.name": "get_word_count",
      "gen_ai.tool.type": "function",
      "gen_ai.agent.name": "summarizer_assistant",
      "gen_ai.tool.description": "Count the number of words in a text",
      "gen_ai.tool.call.id": "call_OKlfiMvKTkmqBWGjmb19o0Nf",
      "gen_ai.tool.input": "{\"text\":\"This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input.\"}",
      "gen_ai.tool.output": "2400"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "ade8ace3114650a2",
    "trace_id": "7d1b67e8621b490abd26a283e64f6168",
    "parent_span_id": "97629bc2986b276d",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175339.445,
    "timestamp": 1779175340.476,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "summarizer_assistant",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.temperature": 1,
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"tool\",\"content\":\"2400\"}]",
      "gen_ai.request.available_tools": "[{\"type\":\"function\",\"name\":\"get_word_count\",\"description\":\"Count the number of words in a text\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"The text is a repetitive message stating that it is a test message that will be repeated multiple times to create a long input.\"]",
      "gen_ai.usage.input_tokens": 6821,
      "gen_ai.usage.output_tokens": 26,
      "gen_ai.usage.total_tokens": 6847,
      "gen_ai.response.id": "chatcmpl-Dh94NmOWwMBsnG4kuVg4p2Dw8Y8YK",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/langgraph :: Long Input Agent Test (anthropic)❗︎ 1⚠︎ 116980ms
checkAgentSpanAttributes
checkChatSpanAttributes
9c595dc3gen_ai.usage.input_tokensSpan 9c595dc3: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
9c595dc3gen_ai.usage.output_tokensSpan 9c595dc3: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkAgentHierarchy
checkInputMessagesSchema
checkResponseModel
9c595dc3gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "long-input-agent-test",
    "op": "test",
    "parent_span_id": "ae3c6ddecd09fac5",
    "span_id": "b48aa4b6e946864d",
    "start_timestamp": 1779175311.657,
    "timestamp": 1779175311.969,
    "trace_id": "87a0ec341f0b47c5b0361c0fe093b992",
    "origin": "manual"
  },
  {
    "span_id": "ae3c6ddecd09fac5",
    "trace_id": "87a0ec341f0b47c5b0361c0fe093b992",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175311.618,
    "timestamp": 1779175311.971,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24246/",
      "url.port": "24246",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24246",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "a1f206880c37ea26",
    "trace_id": "87a0ec341f0b47c5b0361c0fe093b992",
    "parent_span_id": "b48aa4b6e946864d",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent summarizer_assistant",
    "start_timestamp": 1779175311.659,
    "timestamp": 1779175311.966,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.invoke_agent",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.pipeline.name": "summarizer_assistant",
      "gen_ai.agent.name": "summarizer_assistant",
      "sentry.source": "custom",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.available_tools": "[{\"name\":\"get_word_count\",\"description\":\"Count the number of words in a text\",\"schema\":{\"_def\":{\"unknownKeys\":\"strip\",\"catchall\":{\"_def\":{\"typeName\":\"ZodNever\"},\"~standard\":{\"version\":1,\"vendor\":\"zod\"}},\"typeName\":\"ZodObject\"},\"~standard\":{\"version\":1,\"vendor\":\"zod\"},\"_cached\":null}}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Please summarize the following text in one sentence. You may use the get_word_count tool first if needed: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to \"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "9c595dc341249dcc",
    "trace_id": "87a0ec341f0b47c5b0361c0fe093b992",
    "parent_span_id": "a1f206880c37ea26",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175311.787,
    "timestamp": 1779175311.931,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "summarizer_assistant",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Please summarize the following text in one sentence. You may use the get_word_count tool first if needed: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to \"}]",
      "gen_ai.request.available_tools": "[{\"type\":\"function\",\"name\":\"get_word_count\",\"description\":\"Count the number of words in a text\"}]"
    },
    "status": "error",
    "is_segment": false
  }
]
cloudflare/langgraph :: Conversation ID Agent Test (openai)❗︎ 1⚠︎ 127017ms
checkAgentSpanAttributes
checkChatSpanAttributes
a57d5a2dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a57d5a2dgen_ai.output.messagesMissing output messages attribute
a150efeegen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a150efeegen_ai.output.messagesMissing output messages attribute
8eacdaf4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8eacdaf4gen_ai.output.messagesMissing output messages attribute
af491f4cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
af491f4cgen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
a57d5a2dgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
a150efeegen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
8eacdaf4gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
af491f4cgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(8 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(4 spans)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (10)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "conversation-id-agent-test",
    "op": "test",
    "parent_span_id": "8f24d5e456efb44d",
    "span_id": "b29d1a363e009fec",
    "start_timestamp": 1779175312.133,
    "timestamp": 1779175321.939,
    "trace_id": "71186ae7a1314ce4bec49540284455cb",
    "origin": "manual"
  },
  {
    "span_id": "8f24d5e456efb44d",
    "trace_id": "71186ae7a1314ce4bec49540284455cb",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175312.107,
    "timestamp": 1779175321.955,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24247/",
      "url.port": "24247",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24247",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "93e83b54e802fc44",
    "trace_id": "71186ae7a1314ce4bec49540284455cb",
    "parent_span_id": "b29d1a363e009fec",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175312.151,
    "timestamp": 1779175313.41,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.invoke_agent",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "sentry.source": "custom",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.text": "[{\"role\":\"assistant\",\"content\":\"The capital of France is Paris.\"}]",
      "gen_ai.usage.input_tokens": 14,
      "gen_ai.usage.output_tokens": 7,
      "gen_ai.usage.total_tokens": 21
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a57d5a2d14c5e05d",
    "trace_id": "71186ae7a1314ce4bec49540284455cb",
    "parent_span_id": "93e83b54e802fc44",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175312.206,
    "timestamp": 1779175313.405,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.temperature": 1,
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"The capital of France is Paris.\"]",
      "gen_ai.usage.input_tokens": 14,
      "gen_ai.usage.output_tokens": 7,
      "gen_ai.usage.total_tokens": 21,
      "gen_ai.response.id": "chatcmpl-Dh93w4ppzqiAMmF5rc6YIocW7P14T",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "83c4f1d670936691",
    "trace_id": "71186ae7a1314ce4bec49540284455cb",
    "parent_span_id": "b29d1a363e009fec",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175313.411,
    "timestamp": 1779175314.113,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.invoke_agent",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "sentry.source": "custom",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.text": "[{\"role\":\"assistant\",\"content\":\"2 + 2 equals 4.\"}]",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a150efeeac8528f4",
    "trace_id": "71186ae7a1314ce4bec49540284455cb",
    "parent_span_id": "83c4f1d670936691",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175313.415,
    "timestamp": 1779175314.109,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.temperature": 1,
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"2 + 2 equals 4.\"]",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "gen_ai.response.id": "chatcmpl-Dh93xzrQCADP4niu1fhZd39B90PKL",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "91b5f27a9efd8d6d",
    "trace_id": "71186ae7a1314ce4bec49540284455cb",
    "parent_span_id": "b29d1a363e009fec",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175314.113,
    "timestamp": 1779175321.268,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.invoke_agent",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "sentry.source": "custom",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.text": "[{\"role\":\"assistant\",\"content\":\"Germany is a country located in Central Europe, known for its rich history, cultural heritage, and significant economic influence. It is the most populous country in the European Union, with a strong economy that is one of the largest in the world. \\n\\nHere are some key points about Germany:\\n\\n1. **Geography**: Germany is bordered by nine countries, including France, Poland, and the Netherlands. It features a diverse landscape, including the Bavarian Alps, forests, and numerous rivers.\\n\\n2. **History**: Germany has a complex history, including its role in the Holy Roman Empire, the impact of the World Wars, the division during the Cold War, and the eventual reunification in 1990. Key historical events have shaped its modern identity.\\n\\n3. **Culture**: Germany has made significant contributions to art, music, philosophy, and literature. Renowned figures such as Johann Wolfgang von Goethe, Ludwig van Beethoven, and Albert Einstein are part of its cultural legacy.\\n\\n4. **Economy**: Germany has a highly developed social market economy, known for its industrial base, particularly in automotive, engineering, and chemical sectors. The country is home to major companies like Volkswagen, Siemens, and Bayer.\\n\\n5. **Politics**: Germany is a federal parliamentary republic. Its political system is characterized by a strong emphasis on democracy and human rights. The country's capital is Berlin, known for its historical significance and modern culture.\\n\\n6. **European Union**: Germany is a leading member of the European Union and plays a crucial role in European politics and economics.\\n\\n7. **Language**: The official language is German, which has various dialects. English is widely spoken, especially among younger generations and in business environments.\\n\\n8. **Tourism**: Germany attracts millions of tourists each year, with popular destinations including Berlin, Munich, the Rhine Valley, and historic towns like Heidelberg and Rothenburg ob der Tauber.\\n\\nIf you have more specific questions about Germany or a particular aspect you'd like to know more about, feel free to ask!\"}]",
      "gen_ai.usage.input_tokens": 11,
      "gen_ai.usage.output_tokens": 410,
      "gen_ai.usage.total_tokens": 421
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8eacdaf4ca567512",
    "trace_id": "71186ae7a1314ce4bec49540284455cb",
    "parent_span_id": "91b5f27a9efd8d6d",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175314.118,
    "timestamp": 1779175321.245,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.temperature": 1,
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Germany is a country located in Central Europe, known for its rich history, cultural heritage, and significant economic influence. It is the most populous country in the European Union, with a strong economy that is one of the largest in the world. \\n\\nHere are some key points about Germany:\\n\\n1. **Geography**: Germany is bordered by nine countries, including France, Poland, and the Netherlands. It features a diverse landscape, including the Bavarian Alps, forests, and numerous rivers.\\n\\n2. **History**: Germany has a complex history, including its role in the Holy Roman Empire, the impact of the World Wars, the division during the Cold War, and the eventual reunification in 1990. Key historical events have shaped its modern identity.\\n\\n3. **Culture**: Germany has made significant contributions to art, music, philosophy, and literature. Renowned figures such as Johann Wolfgang von Goethe, Ludwig van Beethoven, and Albert Einstein are part of its cultural legacy.\\n\\n4. **Economy**: Germany has a highly developed social market economy, known for its industrial base, particularly in automotive, engineering, and chemical sectors. The country is home to major companies like Volkswagen, Siemens, and Bayer.\\n\\n5. **Politics**: Germany is a federal parliamentary republic. Its political system is characterized by a strong emphasis on democracy and human rights. The country's capital is Berlin, known for its historical significance and modern culture.\\n\\n6. **European Union**: Germany is a leading member of the European Union and plays a crucial role in European politics and economics.\\n\\n7. **Language**: The official language is German, which has various dialects. English is widely spoken, especially among younger generations and in business environments.\\n\\n8. **Tourism**: Germany attracts millions of tourists each year, with popular destinations including Berlin, Munich, the Rhine Valley, and historic towns like Heidelberg and Rothenburg ob der Tauber.\\n\\nIf you have more specific questions about Germany or a particular aspect you'd like to know more about, feel free to ask!\"]",
      "gen_ai.usage.input_tokens": 11,
      "gen_ai.usage.output_tokens": 410,
      "gen_ai.usage.total_tokens": 421,
      "gen_ai.response.id": "chatcmpl-Dh93yYVytqEziDfKHnA5bRqDqtadd",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "aac819f72b7cdcc2",
    "trace_id": "71186ae7a1314ce4bec49540284455cb",
    "parent_span_id": "b29d1a363e009fec",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175321.271,
    "timestamp": 1779175321.939,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.invoke_agent",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "sentry.source": "custom",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.text": "[{\"role\":\"assistant\",\"content\":\"3 + 3 equals 6.\"}]",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "af491f4cf4d0f2c7",
    "trace_id": "71186ae7a1314ce4bec49540284455cb",
    "parent_span_id": "aac819f72b7cdcc2",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175321.292,
    "timestamp": 1779175321.92,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.temperature": 1,
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"3 + 3 equals 6.\"]",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "gen_ai.response.id": "chatcmpl-Dh945LvdKAuslg3kkg17ppn8lWA0b",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/langgraph :: Conversation ID Agent Test (anthropic)❗︎ 1 1⚠︎ 117051ms
checkAgentSpanAttributes
checkChatSpanAttributes
adce31dcgen_ai.usage.input_tokensSpan adce31dc: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
adce31dcgen_ai.usage.output_tokensSpan adce31dc: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
9316fa39gen_ai.usage.input_tokensSpan 9316fa39: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
9316fa39gen_ai.usage.output_tokensSpan 9316fa39: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
927b10cbgen_ai.usage.input_tokensSpan 927b10cb: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
927b10cbgen_ai.usage.output_tokensSpan 927b10cb: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
a2b82f65gen_ai.usage.input_tokensSpan a2b82f65: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
a2b82f65gen_ai.usage.output_tokensSpan a2b82f65: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkAgentHierarchy
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
b6f3ecbdgen_ai.usage.input_tokensinput_tokens must exist
b6f3ecbdgen_ai.usage.output_tokensoutput_tokens must exist
b6f3ecbdgen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
adce31dcgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
9316fa39gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
927b10cbgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
a2b82f65gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (10)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "conversation-id-agent-test",
    "op": "test",
    "parent_span_id": "b4fcf03130bd95f2",
    "span_id": "a70c1d3423f83c1f",
    "start_timestamp": 1779175311.282,
    "timestamp": 1779175312.007,
    "trace_id": "d2121c18c33b4f35b686f0b2af1c0e73",
    "origin": "manual"
  },
  {
    "span_id": "b4fcf03130bd95f2",
    "trace_id": "d2121c18c33b4f35b686f0b2af1c0e73",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175311.244,
    "timestamp": 1779175312.015,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24249/",
      "url.port": "24249",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24249",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "b6f3ecbd21965fef",
    "trace_id": "d2121c18c33b4f35b686f0b2af1c0e73",
    "parent_span_id": "a70c1d3423f83c1f",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175311.283,
    "timestamp": 1779175311.554,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.invoke_agent",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "sentry.source": "custom",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "adce31dcdd6739ba",
    "trace_id": "d2121c18c33b4f35b686f0b2af1c0e73",
    "parent_span_id": "b6f3ecbd21965fef",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175311.368,
    "timestamp": 1779175311.49,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.conversation.id": "conv-a"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "96058d78e245e167",
    "trace_id": "d2121c18c33b4f35b686f0b2af1c0e73",
    "parent_span_id": "a70c1d3423f83c1f",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175311.564,
    "timestamp": 1779175311.725,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.invoke_agent",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "sentry.source": "custom",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "9316fa396c2d039b",
    "trace_id": "d2121c18c33b4f35b686f0b2af1c0e73",
    "parent_span_id": "96058d78e245e167",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175311.61,
    "timestamp": 1779175311.711,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "gen_ai.conversation.id": "conv-b"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "83ebe698d5930fbe",
    "trace_id": "d2121c18c33b4f35b686f0b2af1c0e73",
    "parent_span_id": "a70c1d3423f83c1f",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175311.729,
    "timestamp": 1779175311.866,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.invoke_agent",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "sentry.source": "custom",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "927b10cbaf89c117",
    "trace_id": "d2121c18c33b4f35b686f0b2af1c0e73",
    "parent_span_id": "83ebe698d5930fbe",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175311.747,
    "timestamp": 1779175311.857,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "gen_ai.conversation.id": "conv-a"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "a249c442cbe263c2",
    "trace_id": "d2121c18c33b4f35b686f0b2af1c0e73",
    "parent_span_id": "a70c1d3423f83c1f",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175311.867,
    "timestamp": 1779175311.999,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.invoke_agent",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "sentry.source": "custom",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "a2b82f6595412a0a",
    "trace_id": "d2121c18c33b4f35b686f0b2af1c0e73",
    "parent_span_id": "a249c442cbe263c2",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175311.894,
    "timestamp": 1779175311.997,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "gen_ai.conversation.id": "conv-b"
    },
    "status": "error",
    "is_segment": false
  }
]
nextjs/mastra :: Basic Agent Test 18143ms
checkAgentSpanAttributes(Not supported by this framework)
checkChatSpanAttributes(Not supported by this framework)
checkAgentHierarchy(Not supported by this framework)
checkValidTokenUsage(No AI spans captured)
checkInputMessagesSchema
Should have at least one chat or agent span
checkResponseModel(No chat or embedding spans captured)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
No spans captured
nextjs/mastra :: Tool Call Agent Test 17926ms
checkAgentSpanAttributes(Not supported by this framework)
checkChatSpanAttributes(Not supported by this framework)
checkToolSpanAttributes(Not supported by this framework)
checkAgentHierarchy(Not supported by this framework)
checkValidTokenUsage(No AI spans captured)
checkAvailableTools(Not supported by this framework)
checkResponseToolCalls(add, multiply)(Not supported by this framework)
checkToolCalls(add, multiply)(Not supported by this framework)
checkInputMessagesSchema
Should have at least one chat or agent span
checkResponseModel(No chat or embedding spans captured)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
No spans captured
nextjs/mastra :: Tool Error Agent Test 27938ms
checkAgentSpanAttributes(Not supported by this framework)
checkChatSpanAttributes(Not supported by this framework)
checkToolSpanAttributes(Not supported by this framework)
checkAgentHierarchy(Not supported by this framework)
checkAvailableTools(Not supported by this framework)
checkResponseToolCalls(read_file)(Not supported by this framework)
checkInputMessagesSchema
Should have at least one chat or agent span
checkToolErrorSpan
Should have at least one tool span but found none
checkResponseModel(No chat or embedding spans captured)
No spans captured
nextjs/mastra :: Vision Agent Test 18033ms
checkAgentSpanAttributes(Not supported by this framework)
checkChatSpanAttributes(Not supported by this framework)
checkAgentHierarchy(Not supported by this framework)
checkValidTokenUsage(No AI spans captured)
checkInputMessagesSchema
Should have at least one chat or agent span
checkBinaryRedaction(Not supported by this framework)
checkResponseModel(No chat or embedding spans captured)
No spans captured
nextjs/mastra :: Conversation ID Agent Test❗︎ 4 18091ms
checkAgentSpanAttributes
Should have at least one agent span
checkChatSpanAttributes
Should have at least one chat/completion span
checkAgentHierarchy
Should have at least one AI span
checkConversationIds([conv-a, conv-b])
Should have at least one AI span
checkValidTokenUsage(No AI spans captured)
checkInputMessagesSchema
Should have at least one chat or agent span
checkResponseModel(No chat or embedding spans captured)
No spans captured
node/langgraph :: Basic Agent Test (openai)❗︎ 1⚠︎ 12889ms
checkAgentSpanAttributes
checkChatSpanAttributes
d2da0005gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
d2da0005gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
d2da0005gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(1 span)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (4)
[
  {
    "span_id": "af9c98c5fe063af9",
    "trace_id": "005979bd658cb0d02e86e49696e78fbb",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.104.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "92da2315175f69e8",
    "start_timestamp": 1779175405.869,
    "timestamp": 1779175406.7016306,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "d37437cc0d9f404d",
    "trace_id": "005979bd658cb0d02e86e49696e78fbb",
    "op": "test",
    "description": "basic-agent-test",
    "start_timestamp": 1779175405.813,
    "timestamp": 1779175406.7113492,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "92da2315175f69e8",
    "trace_id": "005979bd658cb0d02e86e49696e78fbb",
    "parent_span_id": "d37437cc0d9f404d",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175405.815,
    "timestamp": 1779175406.7104454,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.invoke_agent",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.text": "[{\"role\":\"assistant\",\"content\":\"The capital of France is Paris.\"}]",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 7,
      "gen_ai.usage.total_tokens": 31
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "d2da0005fb481dc9",
    "trace_id": "005979bd658cb0d02e86e49696e78fbb",
    "parent_span_id": "92da2315175f69e8",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175405.844,
    "timestamp": 1779175406.7051034,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"The capital of France is Paris.\"]",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 7,
      "gen_ai.usage.total_tokens": 31,
      "gen_ai.response.id": "chatcmpl-Dh95SeEyu4I3NrmUJPmGzXJMxJdGx",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
node/langgraph :: Basic Agent Test (anthropic)❗︎ 1 1⚠︎ 11897ms
checkAgentSpanAttributes
checkChatSpanAttributes
d4faff08gen_ai.usage.input_tokensSpan d4faff08: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
d4faff08gen_ai.usage.output_tokensSpan d4faff08: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkAgentHierarchy
checkValidTokenUsage
27950608gen_ai.usage.input_tokensinput_tokens must exist
27950608gen_ai.usage.output_tokensoutput_tokens must exist
27950608gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
d4faff08gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "span_id": "ec5969288ab25255",
    "trace_id": "a3db5bf9b95bed26f1be7dd69cfbc9a8",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 400,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "BAD REQUEST",
      "http.status_code": 400,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "27950608bc7643fa",
    "start_timestamp": 1779175406.394,
    "timestamp": 1779175406.5199034,
    "status": "invalid_argument",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "d6fec02d899a38a3",
    "trace_id": "a3db5bf9b95bed26f1be7dd69cfbc9a8",
    "op": "test",
    "description": "basic-agent-test",
    "start_timestamp": 1779175406.341,
    "timestamp": 1779175406.5340085,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "27950608bc7643fa",
    "trace_id": "a3db5bf9b95bed26f1be7dd69cfbc9a8",
    "parent_span_id": "d6fec02d899a38a3",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175406.344,
    "timestamp": 1779175406.5334275,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.invoke_agent",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "d4faff08554dbc17",
    "trace_id": "a3db5bf9b95bed26f1be7dd69cfbc9a8",
    "parent_span_id": "27950608bc7643fa",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175406.374,
    "timestamp": 1779175406.5235882,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]"
    },
    "status": "error",
    "is_segment": false
  }
]
node/langgraph :: Tool Call Agent Test (openai)❗︎ 1⚠︎ 14222ms
checkAgentSpanAttributes
checkChatSpanAttributes
7d31c13dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
7d31c13dgen_ai.output.messagesMissing output messages attribute
8677d067gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8677d067gen_ai.output.messagesMissing output messages attribute
d05ab73fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
d05ab73fgen_ai.output.messagesMissing output messages attribute
checkToolSpanAttributes
checkAgentHierarchy
checkValidTokenUsage
checkAvailableTools
checkResponseToolCalls(add, multiply)
checkToolCalls(add, multiply)
checkInputMessagesSchema
checkResponseModel
7d31c13dgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
8677d067gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
d05ab73fgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.available_tools(4 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(2 spans) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(2 spans) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.response.stop_reason(3 spans)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
gen_ai.tool.call.id(2 spans)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
{}Captured Spans (10)
[
  {
    "span_id": "bd7de27c7364d94a",
    "trace_id": "a2aed5a6c107c2b19492edeec5660921",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.104.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "593b22d59df988ca",
    "start_timestamp": 1779175406.653,
    "timestamp": 1779175407.491588,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "b508b797c23d4ef6",
    "trace_id": "a2aed5a6c107c2b19492edeec5660921",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.104.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "593b22d59df988ca",
    "start_timestamp": 1779175407.513,
    "timestamp": 1779175408.2770734,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "2a1c867ee690a61e",
    "trace_id": "a2aed5a6c107c2b19492edeec5660921",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.104.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "593b22d59df988ca",
    "start_timestamp": 1779175408.288,
    "timestamp": 1779175408.9931216,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "4a8df93c3b10edf9",
    "trace_id": "a2aed5a6c107c2b19492edeec5660921",
    "op": "test",
    "description": "tool-call-agent-test",
    "start_timestamp": 1779175406.608,
    "timestamp": 1779175409.0013754,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "593b22d59df988ca",
    "trace_id": "a2aed5a6c107c2b19492edeec5660921",
    "parent_span_id": "4a8df93c3b10edf9",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent math_assistant",
    "start_timestamp": 1779175406.61,
    "timestamp": 1779175409.0007586,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.invoke_agent",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.pipeline.name": "math_assistant",
      "gen_ai.agent.name": "math_assistant",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.available_tools": "[{\"name\":\"add\",\"description\":\"Add two numbers together\",\"schema\":{\"_def\":{\"unknownKeys\":\"strip\",\"catchall\":{\"_def\":{\"typeName\":\"ZodNever\"},\"~standard\":{\"version\":1,\"vendor\":\"zod\"}},\"typeName\":\"ZodObject\"},\"~standard\":{\"version\":1,\"vendor\":\"zod\"},\"_cached\":null}},{\"name\":\"multiply\",\"description\":\"Multiply two numbers together\",\"schema\":{\"_def\":{\"unknownKeys\":\"strip\",\"catchall\":{\"_def\":{\"typeName\":\"ZodNever\"},\"~standard\":{\"version\":1,\"vendor\":\"zod\"}},\"typeName\":\"ZodObject\"},\"~standard\":{\"version\":1,\"vendor\":\"zod\"},\"_cached\":null}}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Calculate (3 + 5) * 4. First use the add tool to add 3 and 5, then use the multiply tool to multiply the result by 4.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.tool_calls": "[{\"name\":\"add\",\"args\":{\"a\":3,\"b\":5},\"type\":\"tool_call\",\"id\":\"call_OiSN7PIwwllJPebvZObRiEe3\"},{\"name\":\"multiply\",\"args\":{\"a\":8,\"b\":4},\"type\":\"tool_call\",\"id\":\"call_PHKbcAtHmQ7ToSmb4XxTReHV\"}]",
      "gen_ai.response.text": "[{\"role\":\"assistant\",\"content\":\"\"},{\"role\":\"tool\",\"content\":\"8\"},{\"role\":\"assistant\",\"content\":\"\"},{\"role\":\"tool\",\"content\":\"32\"},{\"role\":\"assistant\",\"content\":\"The result of (3 + 5) * 4 is 32.\"}]",
      "gen_ai.usage.input_tokens": 441,
      "gen_ai.usage.output_tokens": 51,
      "gen_ai.usage.total_tokens": 492
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "7d31c13d7e88de3d",
    "trace_id": "a2aed5a6c107c2b19492edeec5660921",
    "parent_span_id": "593b22d59df988ca",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175406.634,
    "timestamp": 1779175407.497987,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "math_assistant",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.temperature": 1,
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Calculate (3 + 5) * 4. First use the add tool to add 3 and 5, then use the multiply tool to multiply the result by 4.\"}]",
      "gen_ai.request.available_tools": "[{\"type\":\"function\",\"name\":\"add\",\"description\":\"Add two numbers together\"},{\"type\":\"function\",\"name\":\"multiply\",\"description\":\"Multiply two numbers together\"}]",
      "gen_ai.response.finish_reasons": "[\"tool_calls\"]",
      "gen_ai.response.tool_calls": "[{\"name\":\"add\",\"args\":{\"a\":3,\"b\":5},\"type\":\"tool_call\",\"id\":\"call_OiSN7PIwwllJPebvZObRiEe3\"}]",
      "gen_ai.response.text": "[\"\"]",
      "gen_ai.usage.input_tokens": 118,
      "gen_ai.usage.output_tokens": 17,
      "gen_ai.usage.total_tokens": 135,
      "gen_ai.response.id": "chatcmpl-Dh95TEqrGIXtkklWPINAFvcSazvcW",
      "gen_ai.response.stop_reason": "tool_calls"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "35859731d272f040",
    "trace_id": "a2aed5a6c107c2b19492edeec5660921",
    "parent_span_id": "593b22d59df988ca",
    "op": "gen_ai.execute_tool",
    "description": "execute_tool add",
    "start_timestamp": 1779175407.504,
    "timestamp": 1779175407.5075357,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.execute_tool",
      "gen_ai.operation.name": "execute_tool",
      "gen_ai.tool.name": "add",
      "gen_ai.tool.type": "function",
      "gen_ai.agent.name": "math_assistant",
      "gen_ai.tool.description": "Add two numbers together",
      "gen_ai.tool.call.id": "call_OiSN7PIwwllJPebvZObRiEe3",
      "gen_ai.tool.input": "{\"a\":3,\"b\":5}",
      "gen_ai.tool.output": "8"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8677d06735a73c20",
    "trace_id": "a2aed5a6c107c2b19492edeec5660921",
    "parent_span_id": "593b22d59df988ca",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175407.511,
    "timestamp": 1779175408.2784238,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "math_assistant",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.temperature": 1,
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"tool\",\"content\":\"8\"}]",
      "gen_ai.request.available_tools": "[{\"type\":\"function\",\"name\":\"add\",\"description\":\"Add two numbers together\"},{\"type\":\"function\",\"name\":\"multiply\",\"description\":\"Multiply two numbers together\"}]",
      "gen_ai.response.finish_reasons": "[\"tool_calls\"]",
      "gen_ai.response.tool_calls": "[{\"name\":\"multiply\",\"args\":{\"a\":8,\"b\":4},\"type\":\"tool_call\",\"id\":\"call_PHKbcAtHmQ7ToSmb4XxTReHV\"}]",
      "gen_ai.response.text": "[\"\"]",
      "gen_ai.usage.input_tokens": 147,
      "gen_ai.usage.output_tokens": 17,
      "gen_ai.usage.total_tokens": 164,
      "gen_ai.response.id": "chatcmpl-Dh95T2ittLTGf5cynQNbfd2UoXwoJ",
      "gen_ai.response.stop_reason": "tool_calls"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "4657df71e468f56a",
    "trace_id": "a2aed5a6c107c2b19492edeec5660921",
    "parent_span_id": "593b22d59df988ca",
    "op": "gen_ai.execute_tool",
    "description": "execute_tool multiply",
    "start_timestamp": 1779175408.282,
    "timestamp": 1779175408.2827017,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.execute_tool",
      "gen_ai.operation.name": "execute_tool",
      "gen_ai.tool.name": "multiply",
      "gen_ai.tool.type": "function",
      "gen_ai.agent.name": "math_assistant",
      "gen_ai.tool.description": "Multiply two numbers together",
      "gen_ai.tool.call.id": "call_PHKbcAtHmQ7ToSmb4XxTReHV",
      "gen_ai.tool.input": "{\"a\":8,\"b\":4}",
      "gen_ai.tool.output": "32"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "d05ab73f6c9f07c3",
    "trace_id": "a2aed5a6c107c2b19492edeec5660921",
    "parent_span_id": "593b22d59df988ca",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175408.287,
    "timestamp": 1779175408.9948666,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "math_assistant",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.temperature": 1,
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.input.messages": "[{\"role\":\"tool\",\"content\":\"32\"}]",
      "gen_ai.request.available_tools": "[{\"type\":\"function\",\"name\":\"add\",\"description\":\"Add two numbers together\"},{\"type\":\"function\",\"name\":\"multiply\",\"description\":\"Multiply two numbers together\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"The result of (3 + 5) * 4 is 32.\"]",
      "gen_ai.usage.input_tokens": 176,
      "gen_ai.usage.output_tokens": 17,
      "gen_ai.usage.total_tokens": 193,
      "gen_ai.response.id": "chatcmpl-Dh95UQikzjC2hRaZZvRBotacY34bJ",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
node/langgraph :: Tool Call Agent Test (anthropic)❗︎ 2 3⚠︎ 11929ms
checkAgentSpanAttributes
checkChatSpanAttributes
9a5996d6gen_ai.usage.input_tokensSpan 9a5996d6: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
9a5996d6gen_ai.usage.output_tokensSpan 9a5996d6: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkToolSpanAttributes
Should have at least one tool span
checkAgentHierarchy
checkValidTokenUsage
4b475376gen_ai.usage.input_tokensinput_tokens must exist
4b475376gen_ai.usage.output_tokensoutput_tokens must exist
4b475376gen_ai.usage.total_tokenstotal_tokens must exist
checkAvailableTools
checkResponseToolCalls(add, multiply)
9a5996d6gen_ai.output.messagesShould have at least 2 tool call(s) in response but found 0
checkToolCalls(add, multiply)
Should have at least 2 tool span(s) but found 0
checkInputMessagesSchema
checkResponseModel
9a5996d6gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "span_id": "e2965a57256c0280",
    "trace_id": "77fa38febc8bd7ba867a3e9a45d172fe",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 400,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "BAD REQUEST",
      "http.status_code": 400,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "4b4753760bebb5fa",
    "start_timestamp": 1779175408.186,
    "timestamp": 1779175408.3005717,
    "status": "invalid_argument",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "1ebb995d160634dd",
    "trace_id": "77fa38febc8bd7ba867a3e9a45d172fe",
    "op": "test",
    "description": "tool-call-agent-test",
    "start_timestamp": 1779175408.133,
    "timestamp": 1779175408.3160844,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "4b4753760bebb5fa",
    "trace_id": "77fa38febc8bd7ba867a3e9a45d172fe",
    "parent_span_id": "1ebb995d160634dd",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent math_assistant",
    "start_timestamp": 1779175408.135,
    "timestamp": 1779175408.3150353,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.invoke_agent",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.pipeline.name": "math_assistant",
      "gen_ai.agent.name": "math_assistant",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.available_tools": "[{\"name\":\"add\",\"description\":\"Add two numbers together\",\"schema\":{\"_def\":{\"unknownKeys\":\"strip\",\"catchall\":{\"_def\":{\"typeName\":\"ZodNever\"},\"~standard\":{\"version\":1,\"vendor\":\"zod\"}},\"typeName\":\"ZodObject\"},\"~standard\":{\"version\":1,\"vendor\":\"zod\"},\"_cached\":null}},{\"name\":\"multiply\",\"description\":\"Multiply two numbers together\",\"schema\":{\"_def\":{\"unknownKeys\":\"strip\",\"catchall\":{\"_def\":{\"typeName\":\"ZodNever\"},\"~standard\":{\"version\":1,\"vendor\":\"zod\"}},\"typeName\":\"ZodObject\"},\"~standard\":{\"version\":1,\"vendor\":\"zod\"},\"_cached\":null}}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Calculate (3 + 5) * 4. First use the add tool to add 3 and 5, then use the multiply tool to multiply the result by 4.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "9a5996d6526b2641",
    "trace_id": "77fa38febc8bd7ba867a3e9a45d172fe",
    "parent_span_id": "4b4753760bebb5fa",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175408.168,
    "timestamp": 1779175408.3048925,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "math_assistant",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Calculate (3 + 5) * 4. First use the add tool to add 3 and 5, then use the multiply tool to multiply the result by 4.\"}]",
      "gen_ai.request.available_tools": "[{\"type\":\"function\",\"name\":\"add\",\"description\":\"Add two numbers together\"},{\"type\":\"function\",\"name\":\"multiply\",\"description\":\"Multiply two numbers together\"}]"
    },
    "status": "error",
    "is_segment": false
  }
]
node/langgraph :: Tool Error Agent Test (openai)❗︎ 1⚠︎ 13793ms
checkAgentSpanAttributes
checkChatSpanAttributes
db192834gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
db192834gen_ai.output.messagesMissing output messages attribute
208e6355gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
208e6355gen_ai.output.messagesMissing output messages attribute
checkToolSpanAttributes
checkAgentHierarchy
checkAvailableTools
checkResponseToolCalls(read_file)
checkInputMessagesSchema
checkToolErrorSpan
checkResponseModel
db192834gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
208e6355gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.request.available_tools(3 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
Unknown Attributes
gen_ai.response.stop_reason(2 spans)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
{}Captured Spans (7)
[
  {
    "span_id": "7df3babf02f6acad",
    "trace_id": "3d947a827df462ad93f711a742449358",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.104.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "93aac7ef4b751fe6",
    "start_timestamp": 1779175408.479,
    "timestamp": 1779175409.336986,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "8adc344b5938e2e4",
    "trace_id": "3d947a827df462ad93f711a742449358",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.104.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "93aac7ef4b751fe6",
    "start_timestamp": 1779175409.366,
    "timestamp": 1779175410.315936,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "6a012cbd1688daaa",
    "trace_id": "3d947a827df462ad93f711a742449358",
    "op": "test",
    "description": "tool-error-agent-test",
    "start_timestamp": 1779175408.438,
    "timestamp": 1779175410.3244443,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "93aac7ef4b751fe6",
    "trace_id": "3d947a827df462ad93f711a742449358",
    "parent_span_id": "6a012cbd1688daaa",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent file_assistant",
    "start_timestamp": 1779175408.44,
    "timestamp": 1779175410.3235295,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.invoke_agent",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.pipeline.name": "file_assistant",
      "gen_ai.agent.name": "file_assistant",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.available_tools": "[{\"name\":\"read_file\",\"description\":\"Read the contents of a file\",\"schema\":{\"_def\":{\"unknownKeys\":\"strip\",\"catchall\":{\"_def\":{\"typeName\":\"ZodNever\"},\"~standard\":{\"version\":1,\"vendor\":\"zod\"}},\"typeName\":\"ZodObject\"},\"~standard\":{\"version\":1,\"vendor\":\"zod\"},\"_cached\":null}}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Please read the file at /nonexistent/file.txt and tell me what it contains. Use the read_file tool.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.tool_calls": "[{\"name\":\"read_file\",\"args\":{\"path\":\"/nonexistent/file.txt\"},\"type\":\"tool_call\",\"id\":\"call_mfqBujcgPMnu9jOEPJhz7Liy\"}]",
      "gen_ai.response.text": "[{\"role\":\"assistant\",\"content\":\"\"},{\"role\":\"tool\",\"content\":\"Error: FileNotFoundError: The file '/nonexistent/file.txt' does not exist\\n Please fix your mistakes.\"},{\"role\":\"assistant\",\"content\":\"It seems that the file `/nonexistent/file.txt` does not exist. If you have a different file or path in mind, please provide that information, and I'll assist you accordingly.\"}]",
      "gen_ai.usage.input_tokens": 205,
      "gen_ai.usage.output_tokens": 56,
      "gen_ai.usage.total_tokens": 261
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "db192834b5655eb5",
    "trace_id": "3d947a827df462ad93f711a742449358",
    "parent_span_id": "93aac7ef4b751fe6",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175408.464,
    "timestamp": 1779175409.342979,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "file_assistant",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.temperature": 1,
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Please read the file at /nonexistent/file.txt and tell me what it contains. Use the read_file tool.\"}]",
      "gen_ai.request.available_tools": "[{\"type\":\"function\",\"name\":\"read_file\",\"description\":\"Read the contents of a file\"}]",
      "gen_ai.response.finish_reasons": "[\"tool_calls\"]",
      "gen_ai.response.tool_calls": "[{\"name\":\"read_file\",\"args\":{\"path\":\"/nonexistent/file.txt\"},\"type\":\"tool_call\",\"id\":\"call_mfqBujcgPMnu9jOEPJhz7Liy\"}]",
      "gen_ai.response.text": "[\"\"]",
      "gen_ai.usage.input_tokens": 76,
      "gen_ai.usage.output_tokens": 18,
      "gen_ai.usage.total_tokens": 94,
      "gen_ai.response.id": "chatcmpl-Dh95UliKgXS6dHYfwXsNIz308pv2S",
      "gen_ai.response.stop_reason": "tool_calls"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "95aa52d283a55054",
    "trace_id": "3d947a827df462ad93f711a742449358",
    "parent_span_id": "93aac7ef4b751fe6",
    "op": "gen_ai.execute_tool",
    "description": "execute_tool read_file",
    "start_timestamp": 1779175409.349,
    "timestamp": 1779175409.3589957,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.execute_tool",
      "gen_ai.operation.name": "execute_tool",
      "gen_ai.tool.name": "read_file",
      "gen_ai.tool.type": "function",
      "gen_ai.agent.name": "file_assistant",
      "gen_ai.tool.description": "Read the contents of a file",
      "gen_ai.tool.call.id": "call_mfqBujcgPMnu9jOEPJhz7Liy",
      "gen_ai.tool.input": "{\"path\":\"/nonexistent/file.txt\"}"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "208e635537eb79fb",
    "trace_id": "3d947a827df462ad93f711a742449358",
    "parent_span_id": "93aac7ef4b751fe6",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175409.364,
    "timestamp": 1779175410.317555,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "file_assistant",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.temperature": 1,
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"tool\",\"content\":\"Error: FileNotFoundError: The file '/nonexistent/file.txt' does not exist\\n Please fix your mistakes.\"}]",
      "gen_ai.request.available_tools": "[{\"type\":\"function\",\"name\":\"read_file\",\"description\":\"Read the contents of a file\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"It seems that the file `/nonexistent/file.txt` does not exist. If you have a different file or path in mind, please provide that information, and I'll assist you accordingly.\"]",
      "gen_ai.usage.input_tokens": 129,
      "gen_ai.usage.output_tokens": 38,
      "gen_ai.usage.total_tokens": 167,
      "gen_ai.response.id": "chatcmpl-Dh95VbgdsesgYJcZ9l1IcLCNHj8j4",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
node/langgraph :: Tool Error Agent Test (anthropic)❗︎ 2 2⚠︎ 11909ms
checkAgentSpanAttributes
checkChatSpanAttributes
b65aeff6gen_ai.usage.input_tokensSpan b65aeff6: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
b65aeff6gen_ai.usage.output_tokensSpan b65aeff6: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkToolSpanAttributes
Should have at least one tool span
checkAgentHierarchy
checkAvailableTools
checkResponseToolCalls(read_file)
b65aeff6gen_ai.output.messagesShould have at least 1 tool call(s) in response but found 0
checkInputMessagesSchema
checkToolErrorSpan
Should have at least one tool span but found none
checkResponseModel
b65aeff6gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "span_id": "78883c6df90fc291",
    "trace_id": "9df0506d685264d1e9851238caeefa96",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 400,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "BAD REQUEST",
      "http.status_code": 400,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "44cb1a194bfac40c",
    "start_timestamp": 1779175408.493,
    "timestamp": 1779175408.6012175,
    "status": "invalid_argument",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "366dfc199d184879",
    "trace_id": "9df0506d685264d1e9851238caeefa96",
    "op": "test",
    "description": "tool-error-agent-test",
    "start_timestamp": 1779175408.451,
    "timestamp": 1779175408.6129544,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "44cb1a194bfac40c",
    "trace_id": "9df0506d685264d1e9851238caeefa96",
    "parent_span_id": "366dfc199d184879",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent file_assistant",
    "start_timestamp": 1779175408.453,
    "timestamp": 1779175408.612598,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.invoke_agent",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.pipeline.name": "file_assistant",
      "gen_ai.agent.name": "file_assistant",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.available_tools": "[{\"name\":\"read_file\",\"description\":\"Read the contents of a file\",\"schema\":{\"_def\":{\"unknownKeys\":\"strip\",\"catchall\":{\"_def\":{\"typeName\":\"ZodNever\"},\"~standard\":{\"version\":1,\"vendor\":\"zod\"}},\"typeName\":\"ZodObject\"},\"~standard\":{\"version\":1,\"vendor\":\"zod\"},\"_cached\":null}}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Please read the file at /nonexistent/file.txt and tell me what it contains. Use the read_file tool.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "b65aeff68d576aa9",
    "trace_id": "9df0506d685264d1e9851238caeefa96",
    "parent_span_id": "44cb1a194bfac40c",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175408.476,
    "timestamp": 1779175408.6039488,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "file_assistant",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Please read the file at /nonexistent/file.txt and tell me what it contains. Use the read_file tool.\"}]",
      "gen_ai.request.available_tools": "[{\"type\":\"function\",\"name\":\"read_file\",\"description\":\"Read the contents of a file\"}]"
    },
    "status": "error",
    "is_segment": false
  }
]
node/langgraph :: Vision Agent Test (openai)❗︎ 1⚠︎ 12427ms
checkAgentSpanAttributes
checkChatSpanAttributes
215ecc43gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
215ecc43gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
215ecc43gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(1 span)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (4)
[
  {
    "span_id": "f0c780e7ccea2122",
    "trace_id": "dc428d2b4a7045084971bbbe89320914",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.104.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "66cac65d066916ad",
    "start_timestamp": 1779175409.857,
    "timestamp": 1779175410.3392994,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "5bd37ce212545ff4",
    "trace_id": "dc428d2b4a7045084971bbbe89320914",
    "op": "test",
    "description": "vision-agent-test",
    "start_timestamp": 1779175409.782,
    "timestamp": 1779175410.3588839,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "66cac65d066916ad",
    "trace_id": "dc428d2b4a7045084971bbbe89320914",
    "parent_span_id": "5bd37ce212545ff4",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent vision_assistant",
    "start_timestamp": 1779175409.784,
    "timestamp": 1779175410.3567693,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.invoke_agent",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.pipeline.name": "vision_assistant",
      "gen_ai.agent.name": "vision_assistant",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"What color is this image? Reply with just the color name.\\\"},{\\\"type\\\":\\\"image_url\\\",\\\"image_url\\\":{\\\"url\\\":\\\"[Blob substitute]\\\"}}]\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.text": "[{\"role\":\"assistant\",\"content\":\"Red\"}]",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 8538
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "215ecc43e83303a2",
    "trace_id": "dc428d2b4a7045084971bbbe89320914",
    "parent_span_id": "66cac65d066916ad",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175409.818,
    "timestamp": 1779175410.346214,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "vision_assistant",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"What color is this image? Reply with just the color name.\\\"},{\\\"type\\\":\\\"image_url\\\",\\\"image_url\\\":{\\\"url\\\":\\\"[Blob substitute]\\\"}}]\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Red\"]",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 8538,
      "gen_ai.response.id": "chatcmpl-Dh95WF9tL4Y2iLxUBm6Ao1YcVPz1s",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
node/langgraph :: Vision Agent Test (anthropic)❗︎ 1 1⚠︎ 12089ms
checkAgentSpanAttributes
checkChatSpanAttributes
0b8a7c07gen_ai.usage.input_tokensSpan 0b8a7c07: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
0b8a7c07gen_ai.usage.output_tokensSpan 0b8a7c07: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkAgentHierarchy
checkValidTokenUsage
b1457e33gen_ai.usage.input_tokensinput_tokens must exist
b1457e33gen_ai.usage.output_tokensoutput_tokens must exist
b1457e33gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
0b8a7c07gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "span_id": "e43e2188bb4596ab",
    "trace_id": "f4e519169b50359d5911a26dc27f7e00",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 400,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "BAD REQUEST",
      "http.status_code": 400,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "b1457e33edc60790",
    "start_timestamp": 1779175410.234,
    "timestamp": 1779175410.3703594,
    "status": "invalid_argument",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "de8482eda132f272",
    "trace_id": "f4e519169b50359d5911a26dc27f7e00",
    "op": "test",
    "description": "vision-agent-test",
    "start_timestamp": 1779175410.181,
    "timestamp": 1779175410.3928895,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "b1457e33edc60790",
    "trace_id": "f4e519169b50359d5911a26dc27f7e00",
    "parent_span_id": "de8482eda132f272",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent vision_assistant",
    "start_timestamp": 1779175410.184,
    "timestamp": 1779175410.3923385,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.invoke_agent",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.pipeline.name": "vision_assistant",
      "gen_ai.agent.name": "vision_assistant",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"What color is this image? Reply with just the color name.\\\"},{\\\"type\\\":\\\"image_url\\\",\\\"image_url\\\":{\\\"url\\\":\\\"[Blob substitute]\\\"}}]\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "0b8a7c07bdba3ca1",
    "trace_id": "f4e519169b50359d5911a26dc27f7e00",
    "parent_span_id": "b1457e33edc60790",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175410.212,
    "timestamp": 1779175410.3762832,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "vision_assistant",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"What color is this image? Reply with just the color name.\\\"},{\\\"type\\\":\\\"image_url\\\",\\\"image_url\\\":{\\\"url\\\":\\\"[Blob substitute]\\\"}}]\"}]"
    },
    "status": "error",
    "is_segment": false
  }
]
node/langgraph :: Long Input Agent Test (openai)❗︎ 1⚠︎ 120491ms
checkAgentSpanAttributes
checkChatSpanAttributes
7a620404gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
7a620404gen_ai.output.messagesMissing output messages attribute
4ee91fa1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
4ee91fa1gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
checkInputMessagesSchema
checkResponseModel
7a620404gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
4ee91fa1gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.request.available_tools(3 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(1 span) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.response.stop_reason(2 spans)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
{}Captured Spans (7)
[
  {
    "span_id": "eb28698cda5857a9",
    "trace_id": "77ea1190bd6c90688c643e8d862a396e",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.104.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "1a941925e8af455f",
    "start_timestamp": 1779175410.799,
    "timestamp": 1779175428.3233974,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "4a63d66e3510ac38",
    "trace_id": "77ea1190bd6c90688c643e8d862a396e",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.104.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "1a941925e8af455f",
    "start_timestamp": 1779175428.344,
    "timestamp": 1779175429.0835936,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "413ca617fed4c716",
    "trace_id": "77ea1190bd6c90688c643e8d862a396e",
    "op": "test",
    "description": "long-input-agent-test",
    "start_timestamp": 1779175410.725,
    "timestamp": 1779175429.094026,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "1a941925e8af455f",
    "trace_id": "77ea1190bd6c90688c643e8d862a396e",
    "parent_span_id": "413ca617fed4c716",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent summarizer_assistant",
    "start_timestamp": 1779175410.728,
    "timestamp": 1779175429.0929732,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.invoke_agent",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.pipeline.name": "summarizer_assistant",
      "gen_ai.agent.name": "summarizer_assistant",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.available_tools": "[{\"name\":\"get_word_count\",\"description\":\"Count the number of words in a text\",\"schema\":{\"_def\":{\"unknownKeys\":\"strip\",\"catchall\":{\"_def\":{\"typeName\":\"ZodNever\"},\"~standard\":{\"version\":1,\"vendor\":\"zod\"}},\"typeName\":\"ZodObject\"},\"~standard\":{\"version\":1,\"vendor\":\"zod\"},\"_cached\":null}}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Please summarize the following text in one sentence. You may use the get_word_count tool first if needed: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to \"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.tool_calls": "[{\"name\":\"get_word_count\",\"args\":{\"text\":\"This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input.\"},\"type\":\"tool_call\",\"id\":\"call_9oEqTEhDeX274WemWpF0Sl2N\"}]",
      "gen_ai.response.text": "[{\"role\":\"assistant\",\"content\":\"\"},{\"role\":\"tool\",\"content\":\"2400\"},{\"role\":\"assistant\",\"content\":\"The text consists of repeated phrases that emphasize it is a test message designed to create a very long input.\"}]",
      "gen_ai.usage.input_tokens": 12244,
      "gen_ai.usage.output_tokens": 1296,
      "gen_ai.usage.total_tokens": 13540
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "7a62040468602096",
    "trace_id": "77ea1190bd6c90688c643e8d862a396e",
    "parent_span_id": "1a941925e8af455f",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175410.769,
    "timestamp": 1779175428.3295615,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "summarizer_assistant",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.temperature": 1,
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Please summarize the following text in one sentence. You may use the get_word_count tool first if needed: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to \"}]",
      "gen_ai.request.available_tools": "[{\"type\":\"function\",\"name\":\"get_word_count\",\"description\":\"Count the number of words in a text\"}]",
      "gen_ai.response.finish_reasons": "[\"tool_calls\"]",
      "gen_ai.response.tool_calls": "[{\"name\":\"get_word_count\",\"args\":{\"text\":\"This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input.\"},\"type\":\"tool_call\",\"id\":\"call_9oEqTEhDeX274WemWpF0Sl2N\"}]",
      "gen_ai.response.text": "[\"\"]",
      "gen_ai.usage.input_tokens": 5477,
      "gen_ai.usage.output_tokens": 1274,
      "gen_ai.usage.total_tokens": 6751,
      "gen_ai.response.id": "chatcmpl-Dh95WPXWWov3DbS60QDfcBagGSbyj",
      "gen_ai.response.stop_reason": "tool_calls"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "239019248ea76eab",
    "trace_id": "77ea1190bd6c90688c643e8d862a396e",
    "parent_span_id": "1a941925e8af455f",
    "op": "gen_ai.execute_tool",
    "description": "execute_tool get_word_count",
    "start_timestamp": 1779175428.336,
    "timestamp": 1779175428.3390827,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.execute_tool",
      "gen_ai.operation.name": "execute_tool",
      "gen_ai.tool.name": "get_word_count",
      "gen_ai.tool.type": "function",
      "gen_ai.agent.name": "summarizer_assistant",
      "gen_ai.tool.description": "Count the number of words in a text",
      "gen_ai.tool.call.id": "call_9oEqTEhDeX274WemWpF0Sl2N",
      "gen_ai.tool.input": "{\"text\":\"This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input.\"}",
      "gen_ai.tool.output": "2400"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "4ee91fa16aac85b4",
    "trace_id": "77ea1190bd6c90688c643e8d862a396e",
    "parent_span_id": "1a941925e8af455f",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175428.342,
    "timestamp": 1779175429.08611,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "summarizer_assistant",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.temperature": 1,
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"tool\",\"content\":\"2400\"}]",
      "gen_ai.request.available_tools": "[{\"type\":\"function\",\"name\":\"get_word_count\",\"description\":\"Count the number of words in a text\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"The text consists of repeated phrases that emphasize it is a test message designed to create a very long input.\"]",
      "gen_ai.usage.input_tokens": 6767,
      "gen_ai.usage.output_tokens": 22,
      "gen_ai.usage.total_tokens": 6789,
      "gen_ai.response.id": "chatcmpl-Dh95osDhDgNUig5fKOGKECFbktUWz",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
node/langgraph :: Long Input Agent Test (anthropic)❗︎ 1⚠︎ 12209ms
checkAgentSpanAttributes
checkChatSpanAttributes
e5823824gen_ai.usage.input_tokensSpan e5823824: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
e5823824gen_ai.usage.output_tokensSpan e5823824: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkAgentHierarchy
checkInputMessagesSchema
checkResponseModel
e5823824gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "span_id": "60c04dbe3905de88",
    "trace_id": "1d319406373db7884c9180cd3c8dba8e",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 400,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "BAD REQUEST",
      "http.status_code": 400,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "ecc278792f380f04",
    "start_timestamp": 1779175410.925,
    "timestamp": 1779175411.1646302,
    "status": "invalid_argument",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "f07e60feee684c4e",
    "trace_id": "1d319406373db7884c9180cd3c8dba8e",
    "op": "test",
    "description": "long-input-agent-test",
    "start_timestamp": 1779175410.881,
    "timestamp": 1779175411.1871123,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "ecc278792f380f04",
    "trace_id": "1d319406373db7884c9180cd3c8dba8e",
    "parent_span_id": "f07e60feee684c4e",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent summarizer_assistant",
    "start_timestamp": 1779175410.882,
    "timestamp": 1779175411.1830497,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.invoke_agent",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.pipeline.name": "summarizer_assistant",
      "gen_ai.agent.name": "summarizer_assistant",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.available_tools": "[{\"name\":\"get_word_count\",\"description\":\"Count the number of words in a text\",\"schema\":{\"_def\":{\"unknownKeys\":\"strip\",\"catchall\":{\"_def\":{\"typeName\":\"ZodNever\"},\"~standard\":{\"version\":1,\"vendor\":\"zod\"}},\"typeName\":\"ZodObject\"},\"~standard\":{\"version\":1,\"vendor\":\"zod\"},\"_cached\":null}}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Please summarize the following text in one sentence. You may use the get_word_count tool first if needed: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to \"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "e582382437c256c4",
    "trace_id": "1d319406373db7884c9180cd3c8dba8e",
    "parent_span_id": "ecc278792f380f04",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175410.908,
    "timestamp": 1779175411.1700003,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "summarizer_assistant",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Please summarize the following text in one sentence. You may use the get_word_count tool first if needed: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to \"}]",
      "gen_ai.request.available_tools": "[{\"type\":\"function\",\"name\":\"get_word_count\",\"description\":\"Count the number of words in a text\"}]"
    },
    "status": "error",
    "is_segment": false
  }
]
node/langgraph :: Conversation ID Agent Test (openai)❗︎ 1⚠︎ 14773ms
checkAgentSpanAttributes
checkChatSpanAttributes
b1a2cb16gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b1a2cb16gen_ai.output.messagesMissing output messages attribute
7461808cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
7461808cgen_ai.output.messagesMissing output messages attribute
0e44d3f9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
0e44d3f9gen_ai.output.messagesMissing output messages attribute
812f88d0gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
812f88d0gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
b1a2cb16gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
7461808cgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
0e44d3f9gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
812f88d0gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(8 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(4 spans)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (13)
[
  {
    "span_id": "4a7fff3e408cf990",
    "trace_id": "dc23c26de58cefde80a66572ffbfd935",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.104.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "f7c612b426a936d3",
    "start_timestamp": 1779175412.293,
    "timestamp": 1779175413.0241826,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "e9e42a266cfb2328",
    "trace_id": "dc23c26de58cefde80a66572ffbfd935",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.104.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "12d35c837afcf478",
    "start_timestamp": 1779175413.04,
    "timestamp": 1779175413.6671493,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "d04edd4bdc616d12",
    "trace_id": "dc23c26de58cefde80a66572ffbfd935",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.104.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "12e66348ec239535",
    "start_timestamp": 1779175413.682,
    "timestamp": 1779175414.668511,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "279dfaea2ebde5d2",
    "trace_id": "dc23c26de58cefde80a66572ffbfd935",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.104.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "b2b40beb63b3001d",
    "start_timestamp": 1779175414.681,
    "timestamp": 1779175415.055951,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "3c724161d6c81736",
    "trace_id": "dc23c26de58cefde80a66572ffbfd935",
    "op": "test",
    "description": "conversation-id-agent-test",
    "start_timestamp": 1779175412.248,
    "timestamp": 1779175415.0638068,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "f7c612b426a936d3",
    "trace_id": "dc23c26de58cefde80a66572ffbfd935",
    "parent_span_id": "3c724161d6c81736",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175412.251,
    "timestamp": 1779175413.0343308,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.invoke_agent",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.text": "[{\"role\":\"assistant\",\"content\":\"The capital of France is Paris.\"}]",
      "gen_ai.usage.input_tokens": 14,
      "gen_ai.usage.output_tokens": 7,
      "gen_ai.usage.total_tokens": 21
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b1a2cb16a179932a",
    "trace_id": "dc23c26de58cefde80a66572ffbfd935",
    "parent_span_id": "f7c612b426a936d3",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175412.276,
    "timestamp": 1779175413.0273585,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.temperature": 1,
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"The capital of France is Paris.\"]",
      "gen_ai.usage.input_tokens": 14,
      "gen_ai.usage.output_tokens": 7,
      "gen_ai.usage.total_tokens": 21,
      "gen_ai.response.id": "chatcmpl-Dh95YuDK6LFaBIHoLIS0SPS8EQYmH",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "12d35c837afcf478",
    "trace_id": "dc23c26de58cefde80a66572ffbfd935",
    "parent_span_id": "3c724161d6c81736",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175413.035,
    "timestamp": 1779175413.6722183,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.invoke_agent",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.text": "[{\"role\":\"assistant\",\"content\":\"2 + 2 equals 4.\"}]",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "7461808c3e09cf5e",
    "trace_id": "dc23c26de58cefde80a66572ffbfd935",
    "parent_span_id": "12d35c837afcf478",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175413.039,
    "timestamp": 1779175413.668936,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.temperature": 1,
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"2 + 2 equals 4.\"]",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "gen_ai.response.id": "chatcmpl-Dh95ZanqGq6gNDcbyM76zmkpyJ73n",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "12e66348ec239535",
    "trace_id": "dc23c26de58cefde80a66572ffbfd935",
    "parent_span_id": "3c724161d6c81736",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175413.673,
    "timestamp": 1779175414.6731653,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.invoke_agent",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.text": "[{\"role\":\"assistant\",\"content\":\"Could you please clarify what specific information about Germany you are interested in? Are you looking for details on its history, culture, politics, economy, geography, or something else?\"}]",
      "gen_ai.usage.input_tokens": 11,
      "gen_ai.usage.output_tokens": 35,
      "gen_ai.usage.total_tokens": 46
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "0e44d3f96df88ccf",
    "trace_id": "dc23c26de58cefde80a66572ffbfd935",
    "parent_span_id": "12e66348ec239535",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175413.68,
    "timestamp": 1779175414.6692326,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.temperature": 1,
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Could you please clarify what specific information about Germany you are interested in? Are you looking for details on its history, culture, politics, economy, geography, or something else?\"]",
      "gen_ai.usage.input_tokens": 11,
      "gen_ai.usage.output_tokens": 35,
      "gen_ai.usage.total_tokens": 46,
      "gen_ai.response.id": "chatcmpl-Dh95ZDdfbT1ZzofZmtwjEhX1Gc5BF",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b2b40beb63b3001d",
    "trace_id": "dc23c26de58cefde80a66572ffbfd935",
    "parent_span_id": "3c724161d6c81736",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175414.674,
    "timestamp": 1779175415.0642047,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.invoke_agent",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.text": "[{\"role\":\"assistant\",\"content\":\"3 + 3 equals 6.\"}]",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "812f88d0fa4aa861",
    "trace_id": "dc23c26de58cefde80a66572ffbfd935",
    "parent_span_id": "b2b40beb63b3001d",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175414.679,
    "timestamp": 1779175415.0600064,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.temperature": 1,
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"3 + 3 equals 6.\"]",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "gen_ai.response.id": "chatcmpl-Dh95awbsm8L4H1ks0jRuxuYeyrzZn",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
node/langgraph :: Conversation ID Agent Test (anthropic)❗︎ 1 1⚠︎ 12335ms
checkAgentSpanAttributes
checkChatSpanAttributes
a76fdaefgen_ai.usage.input_tokensSpan a76fdaef: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
a76fdaefgen_ai.usage.output_tokensSpan a76fdaef: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
bb521d7fgen_ai.usage.input_tokensSpan bb521d7f: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
bb521d7fgen_ai.usage.output_tokensSpan bb521d7f: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
493f7586gen_ai.usage.input_tokensSpan 493f7586: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
493f7586gen_ai.usage.output_tokensSpan 493f7586: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
cc52a8ffgen_ai.usage.input_tokensSpan cc52a8ff: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
cc52a8ffgen_ai.usage.output_tokensSpan cc52a8ff: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkAgentHierarchy
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
4bbcaff5gen_ai.usage.input_tokensinput_tokens must exist
4bbcaff5gen_ai.usage.output_tokensoutput_tokens must exist
4bbcaff5gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
a76fdaefgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
bb521d7fgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
493f7586gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
cc52a8ffgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (13)
[
  {
    "span_id": "fa83b737151782ca",
    "trace_id": "23c323c47e5740a89ad1a18e9ea0c4f4",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 400,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "BAD REQUEST",
      "http.status_code": 400,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "4bbcaff5a3f225b6",
    "start_timestamp": 1779175412.266,
    "timestamp": 1779175412.3817098,
    "status": "invalid_argument",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "d580a10ac080879c",
    "trace_id": "23c323c47e5740a89ad1a18e9ea0c4f4",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 400,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "BAD REQUEST",
      "http.status_code": 400,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "12178da86fc60011",
    "start_timestamp": 1779175412.407,
    "timestamp": 1779175412.49898,
    "status": "invalid_argument",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "479b1bc40996c736",
    "trace_id": "23c323c47e5740a89ad1a18e9ea0c4f4",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 400,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "BAD REQUEST",
      "http.status_code": 400,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "9ec65384799eaafa",
    "start_timestamp": 1779175412.509,
    "timestamp": 1779175412.597999,
    "status": "invalid_argument",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "f42a180c1a5a28e4",
    "trace_id": "23c323c47e5740a89ad1a18e9ea0c4f4",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 400,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "BAD REQUEST",
      "http.status_code": 400,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "502ace9698c99c03",
    "start_timestamp": 1779175412.606,
    "timestamp": 1779175412.7164094,
    "status": "invalid_argument",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "c83f5f2609a5a923",
    "trace_id": "23c323c47e5740a89ad1a18e9ea0c4f4",
    "op": "test",
    "description": "conversation-id-agent-test",
    "start_timestamp": 1779175412.209,
    "timestamp": 1779175412.7198648,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "4bbcaff5a3f225b6",
    "trace_id": "23c323c47e5740a89ad1a18e9ea0c4f4",
    "parent_span_id": "c83f5f2609a5a923",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175412.211,
    "timestamp": 1779175412.3980534,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.invoke_agent",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "a76fdaefb8fafba1",
    "trace_id": "23c323c47e5740a89ad1a18e9ea0c4f4",
    "parent_span_id": "4bbcaff5a3f225b6",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175412.245,
    "timestamp": 1779175412.388246,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.conversation.id": "conv-a"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "12178da86fc60011",
    "trace_id": "23c323c47e5740a89ad1a18e9ea0c4f4",
    "parent_span_id": "c83f5f2609a5a923",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175412.399,
    "timestamp": 1779175412.5023625,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.invoke_agent",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "bb521d7f9c7b5905",
    "trace_id": "23c323c47e5740a89ad1a18e9ea0c4f4",
    "parent_span_id": "12178da86fc60011",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175412.406,
    "timestamp": 1779175412.5005631,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "gen_ai.conversation.id": "conv-b"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "9ec65384799eaafa",
    "trace_id": "23c323c47e5740a89ad1a18e9ea0c4f4",
    "parent_span_id": "c83f5f2609a5a923",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175412.503,
    "timestamp": 1779175412.6002722,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.invoke_agent",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "493f758667056dbe",
    "trace_id": "23c323c47e5740a89ad1a18e9ea0c4f4",
    "parent_span_id": "9ec65384799eaafa",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175412.507,
    "timestamp": 1779175412.59768,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "gen_ai.conversation.id": "conv-a"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "502ace9698c99c03",
    "trace_id": "23c323c47e5740a89ad1a18e9ea0c4f4",
    "parent_span_id": "c83f5f2609a5a923",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175412.601,
    "timestamp": 1779175412.7194858,
    "data": {
      "sentry.origin": "auto.ai.langgraph",
      "sentry.op": "gen_ai.invoke_agent",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "cc52a8ffbb22ea35",
    "trace_id": "23c323c47e5740a89ad1a18e9ea0c4f4",
    "parent_span_id": "502ace9698c99c03",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175412.605,
    "timestamp": 1779175412.7169478,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "gen_ai.conversation.id": "conv-b"
    },
    "status": "error",
    "is_segment": false
  }
]
node/mastra :: Basic Agent Test❗︎ 3 18527ms
checkAgentSpanAttributes
Should have at least one agent span
checkChatSpanAttributes
Should have at least one chat/completion span
checkAgentHierarchy
Should have at least one AI span
checkValidTokenUsage(No AI spans captured)
checkInputMessagesSchema
Should have at least one chat or agent span
checkResponseModel(No chat or embedding spans captured)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
No spans captured
node/mastra :: Tool Call Agent Test❗︎ 4 48282ms
checkAgentSpanAttributes
Should have at least one agent span
checkChatSpanAttributes
Should have at least one chat/completion span
checkToolSpanAttributes
Should have at least one tool span
checkAgentHierarchy
Should have at least one AI span
checkValidTokenUsage(No AI spans captured)
checkAvailableTools
Should have at least one chat span
checkResponseToolCalls(add, multiply)
Should have at least one chat span
checkToolCalls(add, multiply)
Should have at least 2 tool span(s) but found 0
checkInputMessagesSchema
Should have at least one chat or agent span
checkResponseModel(No chat or embedding spans captured)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
No spans captured
node/mastra :: Tool Error Agent Test❗︎ 4 48315ms
checkAgentSpanAttributes
Should have at least one agent span
checkChatSpanAttributes
Should have at least one chat/completion span
checkToolSpanAttributes
Should have at least one tool span
checkAgentHierarchy
Should have at least one AI span
checkAvailableTools
Should have at least one chat span
checkResponseToolCalls(read_file)
Should have at least one chat span
checkInputMessagesSchema
Should have at least one chat or agent span
checkToolErrorSpan
Should have at least one tool span but found none
checkResponseModel(No chat or embedding spans captured)
No spans captured
node/mastra :: Vision Agent Test❗︎ 3 28292ms
checkAgentSpanAttributes
Should have at least one agent span
checkChatSpanAttributes
Should have at least one chat/completion span
checkAgentHierarchy
Should have at least one AI span
checkValidTokenUsage(No AI spans captured)
checkInputMessagesSchema
Should have at least one chat or agent span
checkBinaryRedaction
Should have at least one chat or agent span
checkResponseModel(No chat or embedding spans captured)
No spans captured
node/mastra :: Long Input Agent Test❗︎ 3 18130ms
checkAgentSpanAttributes
Should have at least one agent span
checkChatSpanAttributes
Should have at least one chat/completion span
checkAgentHierarchy
Should have at least one AI span
checkInputMessagesSchema
Should have at least one chat or agent span
checkResponseModel(No chat or embedding spans captured)
No spans captured
node/mastra :: Conversation ID Agent Test❗︎ 4 18031ms
checkAgentSpanAttributes
Should have at least one agent span
checkChatSpanAttributes
Should have at least one chat/completion span
checkAgentHierarchy
Should have at least one AI span
checkConversationIds([conv-a, conv-b])
Should have at least one AI span
checkValidTokenUsage(No AI spans captured)
checkInputMessagesSchema
Should have at least one chat or agent span
checkResponseModel(No chat or embedding spans captured)
No spans captured
python/langgraph :: Basic Agent Test (sync, openai)❗︎ 210994ms
checkAgentSpanAttributes
checkChatSpanAttributes
b5a83908gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b5a83908gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
b5a83908gen_ai.agent.nameChild span (gen_ai.chat, id: b5a83908) should have gen_ai.agent.name attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(2 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (8)
[
  {
    "trace_id": "6508eb8967d6497fb0f555f568e0f325",
    "span_id": "9babd2e0df26a61a",
    "parent_span_id": "b5a83908cc8084ff",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:24:10.419731Z",
    "timestamp": "2026-05-19T07:24:10.422251Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12099
    },
    "data": {
      "thread.id": "140426661727104",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "6508eb8967d6497fb0f555f568e0f325",
    "span_id": "a3b2ae1299343fca",
    "parent_span_id": "b5a83908cc8084ff",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:10.422579Z",
    "timestamp": "2026-05-19T07:24:10.424183Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12099
    },
    "data": {
      "thread.id": "140426661727104",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "6508eb8967d6497fb0f555f568e0f325",
    "span_id": "af471f34cddb8734",
    "parent_span_id": "a3b2ae1299343fca",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:10.423895Z",
    "timestamp": "2026-05-19T07:24:10.424167Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12099
    },
    "data": {
      "thread.id": "140426661727104",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "6508eb8967d6497fb0f555f568e0f325",
    "span_id": "b47d825f5b3325d9",
    "parent_span_id": "b5a83908cc8084ff",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:10.424265Z",
    "timestamp": "2026-05-19T07:24:10.424287Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12099
    },
    "data": {
      "thread.id": "140426661727104",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "6508eb8967d6497fb0f555f568e0f325",
    "span_id": "ba9374fb1056209d",
    "parent_span_id": "b5a83908cc8084ff",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:10.426741Z",
    "timestamp": "2026-05-19T07:24:14.793767Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140426661727104",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 41,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-agent-test-sync-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "847b54eff31a8579",
    "trace_id": "6508eb8967d6497fb0f555f568e0f325",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic Agent Test",
    "start_timestamp": "2026-05-19T07:24:10.402953Z",
    "timestamp": "2026-05-19T07:24:14.817000Z",
    "data": {
      "thread.id": "140426661727104",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "bd85e9b953f03b6d",
    "trace_id": "6508eb8967d6497fb0f555f568e0f325",
    "parent_span_id": "847b54eff31a8579",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175450.403778,
    "timestamp": 1779175454.816921,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.langgraph",
      "thread.id": "140426661727104",
      "thread.name": "MainThread",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\", \"response_metadata\": {}}, {\"role\": \"user\", \"content\": \"What is the capital of France?\", \"response_metadata\": {}}]",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 7,
      "gen_ai.usage.total_tokens": 31,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.text": "The capital of France is Paris.",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic Agent Test",
      "sentry.segment.id": "847b54eff31a8579",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b5a83908cc8084ff",
    "trace_id": "6508eb8967d6497fb0f555f568e0f325",
    "parent_span_id": "bd85e9b953f03b6d",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175450.409863,
    "timestamp": 1779175454.812859,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140426661727104",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 7,
      "gen_ai.usage.total_tokens": 31,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic Agent Test",
      "sentry.segment.id": "847b54eff31a8579",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langgraph :: Basic Agent Test (sync, anthropic)❗︎ 2 16145ms
checkAgentSpanAttributes
checkChatSpanAttributes
94e02ed7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
94e02ed7gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
94e02ed7gen_ai.agent.nameChild span (gen_ai.chat, id: 94e02ed7) should have gen_ai.agent.name attribute
checkValidTokenUsage
b92aaca0gen_ai.usage.input_tokensinput_tokens must exist
b92aaca0gen_ai.usage.output_tokensoutput_tokens must exist
b92aaca0gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(2 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (8)
[
  {
    "trace_id": "8b9ab3c642b54543934ada9558b10f8e",
    "span_id": "9094eb446a2c6652",
    "parent_span_id": "94e02ed702f3e67c",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:24:10.407419Z",
    "timestamp": "2026-05-19T07:24:10.409974Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12098
    },
    "data": {
      "thread.id": "140243291478912",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "8b9ab3c642b54543934ada9558b10f8e",
    "span_id": "a24a50f6c1d71705",
    "parent_span_id": "94e02ed702f3e67c",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:10.410069Z",
    "timestamp": "2026-05-19T07:24:10.416532Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12098
    },
    "data": {
      "thread.id": "140243291478912",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "8b9ab3c642b54543934ada9558b10f8e",
    "span_id": "bad4e9d45cb7ff0e",
    "parent_span_id": "a24a50f6c1d71705",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:10.413058Z",
    "timestamp": "2026-05-19T07:24:10.416514Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12098
    },
    "data": {
      "thread.id": "140243291478912",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "8b9ab3c642b54543934ada9558b10f8e",
    "span_id": "8743f32f699acdfb",
    "parent_span_id": "94e02ed702f3e67c",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:10.416591Z",
    "timestamp": "2026-05-19T07:24:10.416614Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12098
    },
    "data": {
      "thread.id": "140243291478912",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "8b9ab3c642b54543934ada9558b10f8e",
    "span_id": "8e189cdcecee3d6e",
    "parent_span_id": "94e02ed702f3e67c",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:24:10.418180Z",
    "timestamp": "2026-05-19T07:24:11.202712Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140243291478912",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 41,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-agent-test-sync-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "858764d0ca512713",
    "trace_id": "8b9ab3c642b54543934ada9558b10f8e",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic Agent Test",
    "start_timestamp": "2026-05-19T07:24:10.323699Z",
    "timestamp": "2026-05-19T07:24:11.252199Z",
    "data": {
      "thread.id": "140243291478912",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b92aaca0b8e30b17",
    "trace_id": "8b9ab3c642b54543934ada9558b10f8e",
    "parent_span_id": "858764d0ca512713",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175450.32701,
    "timestamp": 1779175451.25214,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.langgraph",
      "thread.id": "140243291478912",
      "thread.name": "MainThread",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\", \"response_metadata\": {}}, {\"role\": \"user\", \"content\": \"What is the capital of France?\", \"response_metadata\": {}}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "The capital of France is Paris.",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic Agent Test",
      "sentry.segment.id": "858764d0ca512713",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "94e02ed702f3e67c",
    "trace_id": "8b9ab3c642b54543934ada9558b10f8e",
    "parent_span_id": "b92aaca0b8e30b17",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175450.336565,
    "timestamp": 1779175451.251269,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140243291478912",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic Agent Test",
      "sentry.segment.id": "858764d0ca512713",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langgraph :: Basic Agent Test (async, openai)❗︎ 25357ms
checkAgentSpanAttributes
checkChatSpanAttributes
b3fe675dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b3fe675dgen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
b3fe675dgen_ai.agent.nameChild span (gen_ai.chat, id: b3fe675d) should have gen_ai.agent.name attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(2 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (8)
[
  {
    "trace_id": "348cb92cf936452fad04312391c6a5e8",
    "span_id": "b493b4418c3672a7",
    "parent_span_id": "b3fe675dfaa2a514",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:24:10.754819Z",
    "timestamp": "2026-05-19T07:24:10.757595Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12104
    },
    "data": {
      "thread.id": "140070987241152",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "348cb92cf936452fad04312391c6a5e8",
    "span_id": "a07ae80e84f1ac84",
    "parent_span_id": "b3fe675dfaa2a514",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:10.757694Z",
    "timestamp": "2026-05-19T07:24:10.757847Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12104
    },
    "data": {
      "thread.id": "140070987241152",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "348cb92cf936452fad04312391c6a5e8",
    "span_id": "92aa7e4e18c8bc90",
    "parent_span_id": "a07ae80e84f1ac84",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:10.757797Z",
    "timestamp": "2026-05-19T07:24:10.757838Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12104
    },
    "data": {
      "thread.id": "140070987241152",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "348cb92cf936452fad04312391c6a5e8",
    "span_id": "9a453646c7a6cbae",
    "parent_span_id": "b3fe675dfaa2a514",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:10.757904Z",
    "timestamp": "2026-05-19T07:24:10.757921Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12104
    },
    "data": {
      "thread.id": "140070987241152",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "348cb92cf936452fad04312391c6a5e8",
    "span_id": "96edbd0f893019e0",
    "parent_span_id": "b3fe675dfaa2a514",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:10.759652Z",
    "timestamp": "2026-05-19T07:24:11.219572Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140071102258048",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 52,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-agent-test-async-openai.py",
      "code.function": "<module>"
    }
  },
  {
    "span_id": "abc6c9f4ef1e1fd2",
    "trace_id": "348cb92cf936452fad04312391c6a5e8",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic Agent Test",
    "start_timestamp": "2026-05-19T07:24:10.733662Z",
    "timestamp": "2026-05-19T07:24:11.253279Z",
    "data": {
      "thread.id": "140071102258048",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "acafb696bac16815",
    "trace_id": "348cb92cf936452fad04312391c6a5e8",
    "parent_span_id": "abc6c9f4ef1e1fd2",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175450.736604,
    "timestamp": 1779175451.250154,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.langgraph",
      "thread.id": "140071102258048",
      "thread.name": "MainThread",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\", \"response_metadata\": {}}, {\"role\": \"user\", \"content\": \"What is the capital of France?\", \"response_metadata\": {}}]",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 7,
      "gen_ai.usage.total_tokens": 31,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.text": "The capital of France is Paris.",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic Agent Test",
      "sentry.segment.id": "abc6c9f4ef1e1fd2",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b3fe675dfaa2a514",
    "trace_id": "348cb92cf936452fad04312391c6a5e8",
    "parent_span_id": "acafb696bac16815",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175450.74526,
    "timestamp": 1779175451.246455,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140070987241152",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 7,
      "gen_ai.usage.total_tokens": 31,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic Agent Test",
      "sentry.segment.id": "abc6c9f4ef1e1fd2",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langgraph :: Basic Agent Test (async, anthropic)❗︎ 2 16074ms
checkAgentSpanAttributes
checkChatSpanAttributes
ad0d8975gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ad0d8975gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
ad0d8975gen_ai.agent.nameChild span (gen_ai.chat, id: ad0d8975) should have gen_ai.agent.name attribute
checkValidTokenUsage
8ce5a60fgen_ai.usage.input_tokensinput_tokens must exist
8ce5a60fgen_ai.usage.output_tokensoutput_tokens must exist
8ce5a60fgen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(2 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (8)
[
  {
    "trace_id": "44aae7e0b0a04339971d46aae5b9e834",
    "span_id": "99917b7f09acef18",
    "parent_span_id": "ad0d8975bd5f0503",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:24:11.654365Z",
    "timestamp": "2026-05-19T07:24:11.656028Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12111
    },
    "data": {
      "thread.id": "140127846262464",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "44aae7e0b0a04339971d46aae5b9e834",
    "span_id": "a117de3fa8aa070c",
    "parent_span_id": "ad0d8975bd5f0503",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:11.656121Z",
    "timestamp": "2026-05-19T07:24:11.657353Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12111
    },
    "data": {
      "thread.id": "140127846262464",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "44aae7e0b0a04339971d46aae5b9e834",
    "span_id": "9e73ae4219fc8a6a",
    "parent_span_id": "a117de3fa8aa070c",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:11.657110Z",
    "timestamp": "2026-05-19T07:24:11.657339Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12111
    },
    "data": {
      "thread.id": "140127846262464",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "44aae7e0b0a04339971d46aae5b9e834",
    "span_id": "8c893c0fdf499e60",
    "parent_span_id": "ad0d8975bd5f0503",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:11.657398Z",
    "timestamp": "2026-05-19T07:24:11.657414Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12111
    },
    "data": {
      "thread.id": "140127846262464",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "44aae7e0b0a04339971d46aae5b9e834",
    "span_id": "99e81943cf86dc9e",
    "parent_span_id": "ad0d8975bd5f0503",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:24:11.659391Z",
    "timestamp": "2026-05-19T07:24:12.418901Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140127963032448",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 52,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-agent-test-async-anthropic.py",
      "code.function": "<module>"
    }
  },
  {
    "span_id": "aaf9420a520bd1d6",
    "trace_id": "44aae7e0b0a04339971d46aae5b9e834",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic Agent Test",
    "start_timestamp": "2026-05-19T07:24:11.618856Z",
    "timestamp": "2026-05-19T07:24:12.460901Z",
    "data": {
      "thread.id": "140127963032448",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "8ce5a60f32accd96",
    "trace_id": "44aae7e0b0a04339971d46aae5b9e834",
    "parent_span_id": "aaf9420a520bd1d6",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175451.619968,
    "timestamp": 1779175452.45984,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.langgraph",
      "thread.id": "140127963032448",
      "thread.name": "MainThread",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\", \"response_metadata\": {}}, {\"role\": \"user\", \"content\": \"What is the capital of France?\", \"response_metadata\": {}}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "The capital of France is Paris.",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic Agent Test",
      "sentry.segment.id": "aaf9420a520bd1d6",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "ad0d8975bd5f0503",
    "trace_id": "44aae7e0b0a04339971d46aae5b9e834",
    "parent_span_id": "8ce5a60f32accd96",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175451.624896,
    "timestamp": 1779175452.458051,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140127846262464",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic Agent Test",
      "sentry.segment.id": "aaf9420a520bd1d6",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langgraph :: Tool Call Agent Test (sync, openai)❗︎ 2 17098ms
checkAgentSpanAttributes
checkChatSpanAttributes
be950db9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
be950db9gen_ai.output.messagesMissing output messages attribute
8152876fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8152876fgen_ai.output.messagesMissing output messages attribute
808c10degen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
808c10degen_ai.output.messagesMissing output messages attribute
checkToolSpanAttributes
checkAgentHierarchy
be950db9gen_ai.agent.nameChild span (gen_ai.chat, id: be950db9) should have gen_ai.agent.name attribute
8bd0d734gen_ai.agent.nameChild span (gen_ai.execute_tool, id: 8bd0d734) should have gen_ai.agent.name attribute
8152876fgen_ai.agent.nameChild span (gen_ai.chat, id: 8152876f) should have gen_ai.agent.name attribute
88c061fegen_ai.agent.nameChild span (gen_ai.execute_tool, id: 88c061fe) should have gen_ai.agent.name attribute
808c10degen_ai.agent.nameChild span (gen_ai.chat, id: 808c10de) should have gen_ai.agent.name attribute
checkValidTokenUsage
checkAvailableTools
checkResponseToolCalls(add, multiply)
checkToolCalls(add, multiply)
8bd0d734gen_ai.tool.outputTool "add" output should equal 8 but is {"content":"8","additional_kwargs":{},"response_metadata":{},"type":"tool","name":"add","id":"None","tool_call_id":"call_2LOKbRaqAwrA6ujxR9Ej5ZRG","artifact":"None","status":"success"}
88c061fegen_ai.tool.outputTool "multiply" output should equal 32 but is {"content":"32","additional_kwargs":{},"response_metadata":{},"type":"tool","name":"multiply","id":"None","tool_call_id":"call_ZmKZFb6hBZLbFy7xMKV76RVZ","artifact":"None","status":"success"}
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.available_tools(3 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(2 spans) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(2 spans) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
{}Captured Spans (14)
[
  {
    "trace_id": "fe69422c9be044b49fdc5a04e367c63c",
    "span_id": "9efcfd86c7455122",
    "parent_span_id": "be950db9b8113d28",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:24:12.567460Z",
    "timestamp": "2026-05-19T07:24:12.568884Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12118
    },
    "data": {
      "thread.id": "139768676649856",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "fe69422c9be044b49fdc5a04e367c63c",
    "span_id": "9279356e044904a3",
    "parent_span_id": "be950db9b8113d28",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:12.568972Z",
    "timestamp": "2026-05-19T07:24:12.569996Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12118
    },
    "data": {
      "thread.id": "139768676649856",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "fe69422c9be044b49fdc5a04e367c63c",
    "span_id": "9ad8f6dfad1ce3ee",
    "parent_span_id": "9279356e044904a3",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:12.569862Z",
    "timestamp": "2026-05-19T07:24:12.569986Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12118
    },
    "data": {
      "thread.id": "139768676649856",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "fe69422c9be044b49fdc5a04e367c63c",
    "span_id": "97f25aebb4350738",
    "parent_span_id": "be950db9b8113d28",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:12.570030Z",
    "timestamp": "2026-05-19T07:24:12.570042Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12118
    },
    "data": {
      "thread.id": "139768676649856",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "fe69422c9be044b49fdc5a04e367c63c",
    "span_id": "acc4d3c0ec8ba373",
    "parent_span_id": "be950db9b8113d28",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:12.571373Z",
    "timestamp": "2026-05-19T07:24:13.179472Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139768676649856",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 49,
      "code.namespace": "__main__",
      "code.filepath": "test-tool-call-agent-test-sync-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "fe69422c9be044b49fdc5a04e367c63c",
    "span_id": "abec7af8a5b2109b",
    "parent_span_id": "8152876f7b416a71",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:13.223777Z",
    "timestamp": "2026-05-19T07:24:13.788013Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139768676649856",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 49,
      "code.namespace": "__main__",
      "code.filepath": "test-tool-call-agent-test-sync-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "fe69422c9be044b49fdc5a04e367c63c",
    "span_id": "9c3d538e53ec7e0e",
    "parent_span_id": "808c10de81a3d167",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:13.803741Z",
    "timestamp": "2026-05-19T07:24:14.705365Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139768676649856",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 49,
      "code.namespace": "__main__",
      "code.filepath": "test-tool-call-agent-test-sync-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "b4b6b72ba0252e74",
    "trace_id": "fe69422c9be044b49fdc5a04e367c63c",
    "parent_span_id": null,
    "op": "test",
    "description": "Tool Call Agent Test",
    "start_timestamp": "2026-05-19T07:24:12.558194Z",
    "timestamp": "2026-05-19T07:24:14.707432Z",
    "data": {
      "thread.id": "139768676649856",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "91c17fb02b0ea58e",
    "trace_id": "fe69422c9be044b49fdc5a04e367c63c",
    "parent_span_id": "b4b6b72ba0252e74",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent math_assistant",
    "start_timestamp": 1779175452.559132,
    "timestamp": 1779175454.707368,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.langgraph",
      "thread.id": "139768676649856",
      "thread.name": "MainThread",
      "gen_ai.pipeline.name": "math_assistant",
      "gen_ai.agent.name": "math_assistant",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Calculate (3 + 5) * 4. First use the add tool to add 3 and 5, then use the multiply tool to multiply the result by 4.\", \"response_metadata\": {}}]",
      "gen_ai.usage.input_tokens": 399,
      "gen_ai.usage.output_tokens": 51,
      "gen_ai.usage.total_tokens": 450,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.text": "The result of (3 + 5) * 4 is 32.",
      "gen_ai.response.tool_calls": "[{\"name\": \"add\", \"args\": {\"a\": 3, \"b\": 5}, \"id\": \"call_2LOKbRaqAwrA6ujxR9Ej5ZRG\", \"type\": \"tool_call\"}, {\"name\": \"multiply\", \"args\": {\"a\": 8, \"b\": 4}, \"id\": \"call_ZmKZFb6hBZLbFy7xMKV76RVZ\", \"type\": \"tool_call\"}]",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "b4b6b72ba0252e74",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "be950db9b8113d28",
    "trace_id": "fe69422c9be044b49fdc5a04e367c63c",
    "parent_span_id": "91c17fb02b0ea58e",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175452.563152,
    "timestamp": 1779175453.205283,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139768676649856",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system": "openai-chat",
      "gen_ai.request.available_tools": "[{\"name\": \"add\", \"description\": \"Add two numbers together\"}, {\"name\": \"multiply\", \"description\": \"Multiply two numbers together\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Calculate (3 + 5) * 4. First use the add tool to add 3 and 5, then use the multiply tool to multiply the result by 4.\"}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.finish_reasons": [
        "tool_calls"
      ],
      "gen_ai.response.tool_calls": "[{\"name\": \"add\", \"args\": {\"a\": 3, \"b\": 5}, \"id\": \"call_2LOKbRaqAwrA6ujxR9Ej5ZRG\", \"type\": \"tool_call\"}]",
      "gen_ai.response.text": "",
      "gen_ai.usage.input_tokens": 104,
      "gen_ai.usage.output_tokens": 17,
      "gen_ai.usage.total_tokens": 121,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "b4b6b72ba0252e74",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8bd0d7346df3ced8",
    "trace_id": "fe69422c9be044b49fdc5a04e367c63c",
    "parent_span_id": "91c17fb02b0ea58e",
    "op": "gen_ai.execute_tool",
    "description": "execute_tool add",
    "start_timestamp": 1779175453.210643,
    "timestamp": 1779175453.211363,
    "data": {
      "sentry.op": "gen_ai.execute_tool",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139768560473792",
      "thread.name": "ThreadPoolExecutor-2_0",
      "gen_ai.operation.name": "execute_tool",
      "gen_ai.tool.name": "add",
      "gen_ai.tool.description": "Add two numbers together",
      "gen_ai.tool.input": "{\"a\": 3, \"b\": 5}",
      "gen_ai.tool.output": "{\"content\": \"8\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"tool\", \"name\": \"add\", \"id\": \"None\", \"tool_call_id\": \"call_2LOKbRaqAwrA6ujxR9Ej5ZRG\", \"artifact\": \"None\", \"status\": \"success\"}",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "b4b6b72ba0252e74",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8152876f7b416a71",
    "trace_id": "fe69422c9be044b49fdc5a04e367c63c",
    "parent_span_id": "91c17fb02b0ea58e",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175453.219993,
    "timestamp": 1779175453.789324,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139768676649856",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system": "openai-chat",
      "gen_ai.request.available_tools": "[{\"name\": \"add\", \"description\": \"Add two numbers together\"}, {\"name\": \"multiply\", \"description\": \"Multiply two numbers together\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Calculate (3 + 5) * 4. First use the add tool to add 3 and 5, then use the multiply tool to multiply the result by 4.\"}, {\"role\": \"assistant\", \"content\": \"\", \"refusal\": \"None\"}, {\"role\": \"tool\", \"content\": \"8\"}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.finish_reasons": [
        "tool_calls"
      ],
      "gen_ai.response.tool_calls": "[{\"name\": \"multiply\", \"args\": {\"a\": 8, \"b\": 4}, \"id\": \"call_ZmKZFb6hBZLbFy7xMKV76RVZ\", \"type\": \"tool_call\"}]",
      "gen_ai.response.text": "",
      "gen_ai.usage.input_tokens": 133,
      "gen_ai.usage.output_tokens": 17,
      "gen_ai.usage.total_tokens": 150,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "b4b6b72ba0252e74",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "88c061fef9038b72",
    "trace_id": "fe69422c9be044b49fdc5a04e367c63c",
    "parent_span_id": "91c17fb02b0ea58e",
    "op": "gen_ai.execute_tool",
    "description": "execute_tool multiply",
    "start_timestamp": 1779175453.794319,
    "timestamp": 1779175453.797041,
    "data": {
      "sentry.op": "gen_ai.execute_tool",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139768560473792",
      "thread.name": "ThreadPoolExecutor-3_0",
      "gen_ai.operation.name": "execute_tool",
      "gen_ai.tool.name": "multiply",
      "gen_ai.tool.description": "Multiply two numbers together",
      "gen_ai.tool.input": "{\"a\": 8, \"b\": 4}",
      "gen_ai.tool.output": "{\"content\": \"32\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"tool\", \"name\": \"multiply\", \"id\": \"None\", \"tool_call_id\": \"call_ZmKZFb6hBZLbFy7xMKV76RVZ\", \"artifact\": \"None\", \"status\": \"success\"}",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "b4b6b72ba0252e74",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "808c10de81a3d167",
    "trace_id": "fe69422c9be044b49fdc5a04e367c63c",
    "parent_span_id": "91c17fb02b0ea58e",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175453.79894,
    "timestamp": 1779175454.706478,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139768676649856",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system": "openai-chat",
      "gen_ai.request.available_tools": "[{\"name\": \"add\", \"description\": \"Add two numbers together\"}, {\"name\": \"multiply\", \"description\": \"Multiply two numbers together\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Calculate (3 + 5) * 4. First use the add tool to add 3 and 5, then use the multiply tool to multiply the result by 4.\"}, {\"role\": \"assistant\", \"content\": \"\", \"refusal\": \"None\"}, {\"role\": \"tool\", \"content\": \"8\"}, {\"role\": \"assistant\", \"content\": \"\", \"refusal\": \"None\"}, {\"role\": \"tool\", \"content\": \"32\"}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "The result of (3 + 5) * 4 is 32.",
      "gen_ai.usage.input_tokens": 162,
      "gen_ai.usage.output_tokens": 17,
      "gen_ai.usage.total_tokens": 179,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "b4b6b72ba0252e74",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langgraph :: Tool Call Agent Test (sync, anthropic)❗︎ 2 29687ms
checkAgentSpanAttributes
checkChatSpanAttributes
9c72613fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9c72613fgen_ai.output.messagesMissing output messages attribute
b04b28c7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b04b28c7gen_ai.output.messagesMissing output messages attribute
bad82e20gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bad82e20gen_ai.output.messagesMissing output messages attribute
checkToolSpanAttributes
checkAgentHierarchy
9c72613fgen_ai.agent.nameChild span (gen_ai.chat, id: 9c72613f) should have gen_ai.agent.name attribute
bf8380b3gen_ai.agent.nameChild span (gen_ai.execute_tool, id: bf8380b3) should have gen_ai.agent.name attribute
b04b28c7gen_ai.agent.nameChild span (gen_ai.chat, id: b04b28c7) should have gen_ai.agent.name attribute
9acdd236gen_ai.agent.nameChild span (gen_ai.execute_tool, id: 9acdd236) should have gen_ai.agent.name attribute
bad82e20gen_ai.agent.nameChild span (gen_ai.chat, id: bad82e20) should have gen_ai.agent.name attribute
checkValidTokenUsage
855466f7gen_ai.usage.input_tokensinput_tokens must exist
855466f7gen_ai.usage.output_tokensoutput_tokens must exist
855466f7gen_ai.usage.total_tokenstotal_tokens must exist
checkAvailableTools
checkResponseToolCalls(add, multiply)
checkToolCalls(add, multiply)
bf8380b3gen_ai.tool.outputTool "add" output should equal 8 but is {"content":"8","additional_kwargs":{},"response_metadata":{},"type":"tool","name":"add","id":"None","tool_call_id":"toolu_01FybBRf6N6JNWvuCCZkSaVv","artifact":"None","status":"success"}
9acdd236gen_ai.tool.outputTool "multiply" output should equal 32 but is {"content":"32","additional_kwargs":{},"response_metadata":{},"type":"tool","name":"multiply","id":"None","tool_call_id":"toolu_011sz9BczzBfAE7mQ7fFZH4T","artifact":"None","status":"success"}
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.available_tools(3 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(2 spans) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(2 spans) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
{}Captured Spans (14)
[
  {
    "trace_id": "de9370c6af244e72bd8dbf26753fa217",
    "span_id": "9148112a9c424de6",
    "parent_span_id": "9c72613fc5498f68",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:24:14.764627Z",
    "timestamp": "2026-05-19T07:24:14.767984Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12133
    },
    "data": {
      "thread.id": "139695582763904",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "de9370c6af244e72bd8dbf26753fa217",
    "span_id": "acef2649b94c1e12",
    "parent_span_id": "9c72613fc5498f68",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:14.768108Z",
    "timestamp": "2026-05-19T07:24:14.769219Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12133
    },
    "data": {
      "thread.id": "139695582763904",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "de9370c6af244e72bd8dbf26753fa217",
    "span_id": "a925d723401fe1d5",
    "parent_span_id": "acef2649b94c1e12",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:14.769114Z",
    "timestamp": "2026-05-19T07:24:14.769206Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12133
    },
    "data": {
      "thread.id": "139695582763904",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "de9370c6af244e72bd8dbf26753fa217",
    "span_id": "bba817b59715d7c1",
    "parent_span_id": "9c72613fc5498f68",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:14.769264Z",
    "timestamp": "2026-05-19T07:24:14.769281Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12133
    },
    "data": {
      "thread.id": "139695582763904",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "de9370c6af244e72bd8dbf26753fa217",
    "span_id": "9710df1451976097",
    "parent_span_id": "9c72613fc5498f68",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:24:14.770791Z",
    "timestamp": "2026-05-19T07:24:16.208678Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139695582763904",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 49,
      "code.namespace": "__main__",
      "code.filepath": "test-tool-call-agent-test-sync-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "de9370c6af244e72bd8dbf26753fa217",
    "span_id": "82c4aa77b581c8e8",
    "parent_span_id": "b04b28c7b25f99b5",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:24:16.333832Z",
    "timestamp": "2026-05-19T07:24:17.233253Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139695582763904",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 49,
      "code.namespace": "__main__",
      "code.filepath": "test-tool-call-agent-test-sync-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "de9370c6af244e72bd8dbf26753fa217",
    "span_id": "9ca1a5ce17d79965",
    "parent_span_id": "bad82e205d7f318b",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:24:17.282677Z",
    "timestamp": "2026-05-19T07:24:18.288152Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139695582763904",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 49,
      "code.namespace": "__main__",
      "code.filepath": "test-tool-call-agent-test-sync-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "b51d476c191419ce",
    "trace_id": "de9370c6af244e72bd8dbf26753fa217",
    "parent_span_id": null,
    "op": "test",
    "description": "Tool Call Agent Test",
    "start_timestamp": "2026-05-19T07:24:14.664577Z",
    "timestamp": "2026-05-19T07:24:18.296593Z",
    "data": {
      "thread.id": "139695582763904",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "855466f739eca821",
    "trace_id": "de9370c6af244e72bd8dbf26753fa217",
    "parent_span_id": "b51d476c191419ce",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent math_assistant",
    "start_timestamp": 1779175454.669427,
    "timestamp": 1779175458.296512,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.langgraph",
      "thread.id": "139695582763904",
      "thread.name": "MainThread",
      "gen_ai.pipeline.name": "math_assistant",
      "gen_ai.agent.name": "math_assistant",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Calculate (3 + 5) * 4. First use the add tool to add 3 and 5, then use the multiply tool to multiply the result by 4.\", \"response_metadata\": {}}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "Perfect! The answer is **(3 + 5) * 4 = 32**\n\nTo summarize:\n- Step 1: 3 + 5 = 8\n- Step 2: 8 * 4 = 32",
      "gen_ai.response.tool_calls": "[{\"name\": \"add\", \"args\": {\"a\": 3, \"b\": 5}, \"id\": \"toolu_01FybBRf6N6JNWvuCCZkSaVv\", \"type\": \"tool_call\"}, {\"name\": \"multiply\", \"args\": {\"a\": 8, \"b\": 4}, \"id\": \"toolu_011sz9BczzBfAE7mQ7fFZH4T\", \"type\": \"tool_call\"}]",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "b51d476c191419ce",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9c72613fc5498f68",
    "trace_id": "de9370c6af244e72bd8dbf26753fa217",
    "parent_span_id": "855466f739eca821",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175454.67591,
    "timestamp": 1779175456.3,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139695582763904",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.request.available_tools": "[{\"name\": \"add\", \"description\": \"Add two numbers together\"}, {\"name\": \"multiply\", \"description\": \"Multiply two numbers together\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Calculate (3 + 5) * 4. First use the add tool to add 3 and 5, then use the multiply tool to multiply the result by 4.\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.tool_calls": "[{\"name\": \"add\", \"args\": {\"a\": 3, \"b\": 5}, \"id\": \"toolu_01FybBRf6N6JNWvuCCZkSaVv\", \"type\": \"tool_call\"}]",
      "gen_ai.response.text": "I'll help you calculate (3 + 5) * 4 step by step.\n\nFirst, let me add 3 and 5:",
      "gen_ai.usage.input_tokens": 649,
      "gen_ai.usage.output_tokens": 102,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "b51d476c191419ce",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "bf8380b3f352232a",
    "trace_id": "de9370c6af244e72bd8dbf26753fa217",
    "parent_span_id": "855466f739eca821",
    "op": "gen_ai.execute_tool",
    "description": "execute_tool add",
    "start_timestamp": 1779175456.304496,
    "timestamp": 1779175456.305202,
    "data": {
      "sentry.op": "gen_ai.execute_tool",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139695464900288",
      "thread.name": "ThreadPoolExecutor-2_0",
      "gen_ai.operation.name": "execute_tool",
      "gen_ai.tool.name": "add",
      "gen_ai.tool.description": "Add two numbers together",
      "gen_ai.tool.input": "{\"a\": 3, \"b\": 5}",
      "gen_ai.tool.output": "{\"content\": \"8\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"tool\", \"name\": \"add\", \"id\": \"None\", \"tool_call_id\": \"toolu_01FybBRf6N6JNWvuCCZkSaVv\", \"artifact\": \"None\", \"status\": \"success\"}",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "b51d476c191419ce",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b04b28c7b25f99b5",
    "trace_id": "de9370c6af244e72bd8dbf26753fa217",
    "parent_span_id": "855466f739eca821",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175456.312647,
    "timestamp": 1779175457.237692,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139695582763904",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.request.available_tools": "[{\"name\": \"add\", \"description\": \"Add two numbers together\"}, {\"name\": \"multiply\", \"description\": \"Multiply two numbers together\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Calculate (3 + 5) * 4. First use the add tool to add 3 and 5, then use the multiply tool to multiply the result by 4.\"}, {\"role\": \"assistant\", \"content\": [{\"text\": \"I'll help you calculate (3 + 5) * 4 step by step.\\n\\nFirst, let me add 3 and 5:\", \"type\": \"text\"}, {\"id\": \"toolu_01FybBRf6N6JNWvuCCZkSaVv\", \"caller\": {\"type\": \"direct\"}, \"input\": {\"a\": 3, \"b\": 5}, \"name\": \"add\", \"type\": \"tool_use\"}]}, {\"role\": \"tool\", \"content\": \"8\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.tool_calls": "[{\"name\": \"multiply\", \"args\": {\"a\": 8, \"b\": 4}, \"id\": \"toolu_011sz9BczzBfAE7mQ7fFZH4T\", \"type\": \"tool_call\"}]",
      "gen_ai.response.text": "Great! 3 + 5 = 8. Now let me multiply that result by 4:",
      "gen_ai.usage.input_tokens": 764,
      "gen_ai.usage.output_tokens": 92,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "b51d476c191419ce",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9acdd236d3c7e3de",
    "trace_id": "de9370c6af244e72bd8dbf26753fa217",
    "parent_span_id": "855466f739eca821",
    "op": "gen_ai.execute_tool",
    "description": "execute_tool multiply",
    "start_timestamp": 1779175457.242672,
    "timestamp": 1779175457.243375,
    "data": {
      "sentry.op": "gen_ai.execute_tool",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139695464900288",
      "thread.name": "ThreadPoolExecutor-3_0",
      "gen_ai.operation.name": "execute_tool",
      "gen_ai.tool.name": "multiply",
      "gen_ai.tool.description": "Multiply two numbers together",
      "gen_ai.tool.input": "{\"a\": 8, \"b\": 4}",
      "gen_ai.tool.output": "{\"content\": \"32\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"tool\", \"name\": \"multiply\", \"id\": \"None\", \"tool_call_id\": \"toolu_011sz9BczzBfAE7mQ7fFZH4T\", \"artifact\": \"None\", \"status\": \"success\"}",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "b51d476c191419ce",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "bad82e205d7f318b",
    "trace_id": "de9370c6af244e72bd8dbf26753fa217",
    "parent_span_id": "855466f739eca821",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175457.250897,
    "timestamp": 1779175458.289352,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139695582763904",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.request.available_tools": "[{\"name\": \"add\", \"description\": \"Add two numbers together\"}, {\"name\": \"multiply\", \"description\": \"Multiply two numbers together\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Calculate (3 + 5) * 4. First use the add tool to add 3 and 5, then use the multiply tool to multiply the result by 4.\"}, {\"role\": \"assistant\", \"content\": [{\"text\": \"I'll help you calculate (3 + 5) * 4 step by step.\\n\\nFirst, let me add 3 and 5:\", \"type\": \"text\"}, {\"id\": \"toolu_01FybBRf6N6JNWvuCCZkSaVv\", \"caller\": {\"type\": \"direct\"}, \"input\": {\"a\": 3, \"b\": 5}, \"name\": \"add\", \"type\": \"tool_use\"}]}, {\"role\": \"tool\", \"content\": \"8\"}, {\"role\": \"assistant\", \"content\": [{\"text\": \"Great! 3 + 5 = 8. Now let me multiply that result by 4:\", \"type\": \"text\"}, {\"id\": \"toolu_011sz9BczzBfAE7mQ7fFZH4T\", \"caller\": {\"type\": \"direct\"}, \"input\": {\"a\": 8, \"b\": 4}, \"name\": \"multiply\", \"type\": \"tool_use\"}]}, {\"role\": \"tool\", \"content\": \"32\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "Perfect! The answer is **(3 + 5) * 4 = 32**\n\nTo summarize:\n- Step 1: 3 + 5 = 8\n- Step 2: 8 * 4 = 32",
      "gen_ai.usage.input_tokens": 869,
      "gen_ai.usage.output_tokens": 61,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "b51d476c191419ce",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langgraph :: Tool Call Agent Test (async, openai)❗︎ 2 19746ms
checkAgentSpanAttributes
checkChatSpanAttributes
a398163dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a398163dgen_ai.output.messagesMissing output messages attribute
a432d91egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a432d91egen_ai.output.messagesMissing output messages attribute
9a0d33e9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9a0d33e9gen_ai.output.messagesMissing output messages attribute
checkToolSpanAttributes
checkAgentHierarchy
a398163dgen_ai.agent.nameChild span (gen_ai.chat, id: a398163d) should have gen_ai.agent.name attribute
9c40b4a8gen_ai.agent.nameChild span (gen_ai.execute_tool, id: 9c40b4a8) should have gen_ai.agent.name attribute
a432d91egen_ai.agent.nameChild span (gen_ai.chat, id: a432d91e) should have gen_ai.agent.name attribute
86a7c9aegen_ai.agent.nameChild span (gen_ai.execute_tool, id: 86a7c9ae) should have gen_ai.agent.name attribute
9a0d33e9gen_ai.agent.nameChild span (gen_ai.chat, id: 9a0d33e9) should have gen_ai.agent.name attribute
checkValidTokenUsage
checkAvailableTools
checkResponseToolCalls(add, multiply)
checkToolCalls(add, multiply)
9c40b4a8gen_ai.tool.outputTool "add" output should equal 8 but is {"content":"8","additional_kwargs":{},"response_metadata":{},"type":"tool","name":"add","id":"None","tool_call_id":"call_JtCaG8OyNHAM5FaaQ5tQH60y","artifact":"None","status":"success"}
86a7c9aegen_ai.tool.outputTool "multiply" output should equal 32 but is {"content":"32","additional_kwargs":{},"response_metadata":{},"type":"tool","name":"multiply","id":"None","tool_call_id":"call_ESgmQO3Jfw8z309GL3AZRHuW","artifact":"None","status":"success"}
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.available_tools(3 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(2 spans) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(2 spans) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
{}Captured Spans (14)
[
  {
    "trace_id": "59b12579642c481888bb44f26939788b",
    "span_id": "b1fba443d769a244",
    "parent_span_id": "a398163db6e3179a",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:24:18.513399Z",
    "timestamp": "2026-05-19T07:24:18.515026Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12153
    },
    "data": {
      "thread.id": "139731773953728",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "59b12579642c481888bb44f26939788b",
    "span_id": "ab9fcb9843857aad",
    "parent_span_id": "a398163db6e3179a",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:18.515146Z",
    "timestamp": "2026-05-19T07:24:18.522139Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12153
    },
    "data": {
      "thread.id": "139731773953728",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "59b12579642c481888bb44f26939788b",
    "span_id": "b3647d9348cea6d2",
    "parent_span_id": "ab9fcb9843857aad",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:18.516159Z",
    "timestamp": "2026-05-19T07:24:18.522108Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12153
    },
    "data": {
      "thread.id": "139731773953728",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "59b12579642c481888bb44f26939788b",
    "span_id": "b68b1f0e05ad85f9",
    "parent_span_id": "a398163db6e3179a",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:18.522240Z",
    "timestamp": "2026-05-19T07:24:18.522277Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12153
    },
    "data": {
      "thread.id": "139731773953728",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "59b12579642c481888bb44f26939788b",
    "span_id": "807e40760909235c",
    "parent_span_id": "a398163db6e3179a",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:18.525230Z",
    "timestamp": "2026-05-19T07:24:19.097588Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139731889994624",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 60,
      "code.namespace": "__main__",
      "code.filepath": "test-tool-call-agent-test-async-openai.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "59b12579642c481888bb44f26939788b",
    "span_id": "88626434a0fbee3b",
    "parent_span_id": "a432d91e395e3ddd",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:19.142910Z",
    "timestamp": "2026-05-19T07:24:19.839561Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139731889994624",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 60,
      "code.namespace": "__main__",
      "code.filepath": "test-tool-call-agent-test-async-openai.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "59b12579642c481888bb44f26939788b",
    "span_id": "8c99f1c42f6a31fd",
    "parent_span_id": "9a0d33e9ef668c31",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:19.865845Z",
    "timestamp": "2026-05-19T07:24:20.573755Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139731889994624",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 60,
      "code.namespace": "__main__",
      "code.filepath": "test-tool-call-agent-test-async-openai.py",
      "code.function": "<module>"
    }
  },
  {
    "span_id": "b0f17224f3e95cdf",
    "trace_id": "59b12579642c481888bb44f26939788b",
    "parent_span_id": null,
    "op": "test",
    "description": "Tool Call Agent Test",
    "start_timestamp": "2026-05-19T07:24:18.481705Z",
    "timestamp": "2026-05-19T07:24:20.586261Z",
    "data": {
      "thread.id": "139731889994624",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b168c80a54e0777c",
    "trace_id": "59b12579642c481888bb44f26939788b",
    "parent_span_id": "b0f17224f3e95cdf",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent math_assistant",
    "start_timestamp": 1779175458.48883,
    "timestamp": 1779175460.581454,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.langgraph",
      "thread.id": "139731889994624",
      "thread.name": "MainThread",
      "gen_ai.pipeline.name": "math_assistant",
      "gen_ai.agent.name": "math_assistant",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Calculate (3 + 5) * 4. First use the add tool to add 3 and 5, then use the multiply tool to multiply the result by 4.\", \"response_metadata\": {}}]",
      "gen_ai.usage.input_tokens": 399,
      "gen_ai.usage.output_tokens": 57,
      "gen_ai.usage.total_tokens": 456,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.text": "The result of the calculation \\((3 + 5) * 4\\) is \\(32\\).",
      "gen_ai.response.tool_calls": "[{\"name\": \"add\", \"args\": {\"a\": 3, \"b\": 5}, \"id\": \"call_JtCaG8OyNHAM5FaaQ5tQH60y\", \"type\": \"tool_call\"}, {\"name\": \"multiply\", \"args\": {\"a\": 8, \"b\": 4}, \"id\": \"call_ESgmQO3Jfw8z309GL3AZRHuW\", \"type\": \"tool_call\"}]",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "b0f17224f3e95cdf",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a398163db6e3179a",
    "trace_id": "59b12579642c481888bb44f26939788b",
    "parent_span_id": "b168c80a54e0777c",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175458.502047,
    "timestamp": 1779175459.123001,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139731773953728",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system": "openai-chat",
      "gen_ai.request.available_tools": "[{\"name\": \"add\", \"description\": \"Add two numbers together\"}, {\"name\": \"multiply\", \"description\": \"Multiply two numbers together\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Calculate (3 + 5) * 4. First use the add tool to add 3 and 5, then use the multiply tool to multiply the result by 4.\"}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.finish_reasons": [
        "tool_calls"
      ],
      "gen_ai.response.tool_calls": "[{\"name\": \"add\", \"args\": {\"a\": 3, \"b\": 5}, \"id\": \"call_JtCaG8OyNHAM5FaaQ5tQH60y\", \"type\": \"tool_call\"}]",
      "gen_ai.response.text": "",
      "gen_ai.usage.input_tokens": 104,
      "gen_ai.usage.output_tokens": 17,
      "gen_ai.usage.total_tokens": 121,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "b0f17224f3e95cdf",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9c40b4a813ab7318",
    "trace_id": "59b12579642c481888bb44f26939788b",
    "parent_span_id": "b168c80a54e0777c",
    "op": "gen_ai.execute_tool",
    "description": "execute_tool add",
    "start_timestamp": 1779175459.131375,
    "timestamp": 1779175459.13209,
    "data": {
      "sentry.op": "gen_ai.execute_tool",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139731773953728",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "execute_tool",
      "gen_ai.tool.name": "add",
      "gen_ai.tool.description": "Add two numbers together",
      "gen_ai.tool.input": "{\"a\": 3, \"b\": 5}",
      "gen_ai.tool.output": "{\"content\": \"8\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"tool\", \"name\": \"add\", \"id\": \"None\", \"tool_call_id\": \"call_JtCaG8OyNHAM5FaaQ5tQH60y\", \"artifact\": \"None\", \"status\": \"success\"}",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "b0f17224f3e95cdf",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a432d91e395e3ddd",
    "trace_id": "59b12579642c481888bb44f26939788b",
    "parent_span_id": "b168c80a54e0777c",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175459.135668,
    "timestamp": 1779175459.846492,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139731773953728",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system": "openai-chat",
      "gen_ai.request.available_tools": "[{\"name\": \"add\", \"description\": \"Add two numbers together\"}, {\"name\": \"multiply\", \"description\": \"Multiply two numbers together\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Calculate (3 + 5) * 4. First use the add tool to add 3 and 5, then use the multiply tool to multiply the result by 4.\"}, {\"role\": \"assistant\", \"content\": \"\", \"refusal\": \"None\"}, {\"role\": \"tool\", \"content\": \"8\"}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.finish_reasons": [
        "tool_calls"
      ],
      "gen_ai.response.tool_calls": "[{\"name\": \"multiply\", \"args\": {\"a\": 8, \"b\": 4}, \"id\": \"call_ESgmQO3Jfw8z309GL3AZRHuW\", \"type\": \"tool_call\"}]",
      "gen_ai.response.text": "",
      "gen_ai.usage.input_tokens": 133,
      "gen_ai.usage.output_tokens": 17,
      "gen_ai.usage.total_tokens": 150,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "b0f17224f3e95cdf",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "86a7c9ae211a2828",
    "trace_id": "59b12579642c481888bb44f26939788b",
    "parent_span_id": "b168c80a54e0777c",
    "op": "gen_ai.execute_tool",
    "description": "execute_tool multiply",
    "start_timestamp": 1779175459.851414,
    "timestamp": 1779175459.852217,
    "data": {
      "sentry.op": "gen_ai.execute_tool",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139731773953728",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "execute_tool",
      "gen_ai.tool.name": "multiply",
      "gen_ai.tool.description": "Multiply two numbers together",
      "gen_ai.tool.input": "{\"a\": 8, \"b\": 4}",
      "gen_ai.tool.output": "{\"content\": \"32\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"tool\", \"name\": \"multiply\", \"id\": \"None\", \"tool_call_id\": \"call_ESgmQO3Jfw8z309GL3AZRHuW\", \"artifact\": \"None\", \"status\": \"success\"}",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "b0f17224f3e95cdf",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9a0d33e9ef668c31",
    "trace_id": "59b12579642c481888bb44f26939788b",
    "parent_span_id": "b168c80a54e0777c",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175459.858152,
    "timestamp": 1779175460.576749,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139731773953728",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system": "openai-chat",
      "gen_ai.request.available_tools": "[{\"name\": \"add\", \"description\": \"Add two numbers together\"}, {\"name\": \"multiply\", \"description\": \"Multiply two numbers together\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Calculate (3 + 5) * 4. First use the add tool to add 3 and 5, then use the multiply tool to multiply the result by 4.\"}, {\"role\": \"assistant\", \"content\": \"\", \"refusal\": \"None\"}, {\"role\": \"tool\", \"content\": \"8\"}, {\"role\": \"assistant\", \"content\": \"\", \"refusal\": \"None\"}, {\"role\": \"tool\", \"content\": \"32\"}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "The result of the calculation \\((3 + 5) * 4\\) is \\(32\\).",
      "gen_ai.usage.input_tokens": 162,
      "gen_ai.usage.output_tokens": 23,
      "gen_ai.usage.total_tokens": 185,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "b0f17224f3e95cdf",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langgraph :: Tool Call Agent Test (async, anthropic)❗︎ 2 213085ms
checkAgentSpanAttributes
checkChatSpanAttributes
ba515249gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ba515249gen_ai.output.messagesMissing output messages attribute
a95a4082gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a95a4082gen_ai.output.messagesMissing output messages attribute
8d2b608dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8d2b608dgen_ai.output.messagesMissing output messages attribute
checkToolSpanAttributes
checkAgentHierarchy
ba515249gen_ai.agent.nameChild span (gen_ai.chat, id: ba515249) should have gen_ai.agent.name attribute
ba7208a4gen_ai.agent.nameChild span (gen_ai.execute_tool, id: ba7208a4) should have gen_ai.agent.name attribute
a95a4082gen_ai.agent.nameChild span (gen_ai.chat, id: a95a4082) should have gen_ai.agent.name attribute
8351e070gen_ai.agent.nameChild span (gen_ai.execute_tool, id: 8351e070) should have gen_ai.agent.name attribute
8d2b608dgen_ai.agent.nameChild span (gen_ai.chat, id: 8d2b608d) should have gen_ai.agent.name attribute
checkValidTokenUsage
87115503gen_ai.usage.input_tokensinput_tokens must exist
87115503gen_ai.usage.output_tokensoutput_tokens must exist
87115503gen_ai.usage.total_tokenstotal_tokens must exist
checkAvailableTools
checkResponseToolCalls(add, multiply)
checkToolCalls(add, multiply)
ba7208a4gen_ai.tool.outputTool "add" output should equal 8 but is {"content":"8","additional_kwargs":{},"response_metadata":{},"type":"tool","name":"add","id":"None","tool_call_id":"toolu_01K46HsvyWXLwLTZ79uQu9tv","artifact":"None","status":"success"}
8351e070gen_ai.tool.outputTool "multiply" output should equal 32 but is {"content":"32","additional_kwargs":{},"response_metadata":{},"type":"tool","name":"multiply","id":"None","tool_call_id":"toolu_016Z22ifyuR3BCtUPGMRkAm7","artifact":"None","status":"success"}
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.available_tools(3 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(2 spans) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(2 spans) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
{}Captured Spans (14)
[
  {
    "trace_id": "f27046b903f841a4b4420fd0e78958d3",
    "span_id": "ab5c99fec7c2690b",
    "parent_span_id": "ba515249409ce91c",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:24:18.848690Z",
    "timestamp": "2026-05-19T07:24:18.850974Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12156
    },
    "data": {
      "thread.id": "139952918623936",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "f27046b903f841a4b4420fd0e78958d3",
    "span_id": "964c8c5967847914",
    "parent_span_id": "ba515249409ce91c",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:18.851076Z",
    "timestamp": "2026-05-19T07:24:18.854410Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12156
    },
    "data": {
      "thread.id": "139952918623936",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "f27046b903f841a4b4420fd0e78958d3",
    "span_id": "aa5b9039981867b9",
    "parent_span_id": "964c8c5967847914",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:18.854349Z",
    "timestamp": "2026-05-19T07:24:18.854397Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12156
    },
    "data": {
      "thread.id": "139952918623936",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "f27046b903f841a4b4420fd0e78958d3",
    "span_id": "9b8067c022962c0c",
    "parent_span_id": "ba515249409ce91c",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:18.854449Z",
    "timestamp": "2026-05-19T07:24:18.854462Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12156
    },
    "data": {
      "thread.id": "139952918623936",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "f27046b903f841a4b4420fd0e78958d3",
    "span_id": "b6d32c94ec9c3d8c",
    "parent_span_id": "ba515249409ce91c",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:24:18.856940Z",
    "timestamp": "2026-05-19T07:24:20.351067Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139953113213824",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 60,
      "code.namespace": "__main__",
      "code.filepath": "test-tool-call-agent-test-async-anthropic.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "f27046b903f841a4b4420fd0e78958d3",
    "span_id": "ac31ae14044a82d7",
    "parent_span_id": "a95a40820a07b828",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:24:20.473076Z",
    "timestamp": "2026-05-19T07:24:22.680576Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139953113213824",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 60,
      "code.namespace": "__main__",
      "code.filepath": "test-tool-call-agent-test-async-anthropic.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "f27046b903f841a4b4420fd0e78958d3",
    "span_id": "a4dfc33bbd83a821",
    "parent_span_id": "8d2b608d241bbdd8",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:24:22.719695Z",
    "timestamp": "2026-05-19T07:24:23.401121Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139953113213824",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 60,
      "code.namespace": "__main__",
      "code.filepath": "test-tool-call-agent-test-async-anthropic.py",
      "code.function": "<module>"
    }
  },
  {
    "span_id": "851203f7bda9a6cf",
    "trace_id": "f27046b903f841a4b4420fd0e78958d3",
    "parent_span_id": null,
    "op": "test",
    "description": "Tool Call Agent Test",
    "start_timestamp": "2026-05-19T07:24:18.752253Z",
    "timestamp": "2026-05-19T07:24:23.416259Z",
    "data": {
      "thread.id": "139953113213824",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "87115503513d6896",
    "trace_id": "f27046b903f841a4b4420fd0e78958d3",
    "parent_span_id": "851203f7bda9a6cf",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent math_assistant",
    "start_timestamp": 1779175458.755563,
    "timestamp": 1779175463.41,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.langgraph",
      "thread.id": "139953113213824",
      "thread.name": "MainThread",
      "gen_ai.pipeline.name": "math_assistant",
      "gen_ai.agent.name": "math_assistant",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Calculate (3 + 5) * 4. First use the add tool to add 3 and 5, then use the multiply tool to multiply the result by 4.\", \"response_metadata\": {}}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "Perfect! The answer is **(3 + 5) * 4 = 32**",
      "gen_ai.response.tool_calls": "[{\"name\": \"add\", \"args\": {\"a\": 3, \"b\": 5}, \"id\": \"toolu_01K46HsvyWXLwLTZ79uQu9tv\", \"type\": \"tool_call\"}, {\"name\": \"multiply\", \"args\": {\"a\": 8, \"b\": 4}, \"id\": \"toolu_016Z22ifyuR3BCtUPGMRkAm7\", \"type\": \"tool_call\"}]",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "851203f7bda9a6cf",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "ba515249409ce91c",
    "trace_id": "f27046b903f841a4b4420fd0e78958d3",
    "parent_span_id": "87115503513d6896",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175458.768471,
    "timestamp": 1779175460.439206,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139952918623936",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.request.available_tools": "[{\"name\": \"add\", \"description\": \"Add two numbers together\"}, {\"name\": \"multiply\", \"description\": \"Multiply two numbers together\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Calculate (3 + 5) * 4. First use the add tool to add 3 and 5, then use the multiply tool to multiply the result by 4.\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.tool_calls": "[{\"name\": \"add\", \"args\": {\"a\": 3, \"b\": 5}, \"id\": \"toolu_01K46HsvyWXLwLTZ79uQu9tv\", \"type\": \"tool_call\"}]",
      "gen_ai.response.text": "I'll help you calculate (3 + 5) * 4 in two steps.\n\nFirst, let me add 3 and 5:",
      "gen_ai.usage.input_tokens": 649,
      "gen_ai.usage.output_tokens": 102,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "851203f7bda9a6cf",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "ba7208a4eb8f20ab",
    "trace_id": "f27046b903f841a4b4420fd0e78958d3",
    "parent_span_id": "87115503513d6896",
    "op": "gen_ai.execute_tool",
    "description": "execute_tool add",
    "start_timestamp": 1779175460.445616,
    "timestamp": 1779175460.446294,
    "data": {
      "sentry.op": "gen_ai.execute_tool",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139952918623936",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "execute_tool",
      "gen_ai.tool.name": "add",
      "gen_ai.tool.description": "Add two numbers together",
      "gen_ai.tool.input": "{\"a\": 3, \"b\": 5}",
      "gen_ai.tool.output": "{\"content\": \"8\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"tool\", \"name\": \"add\", \"id\": \"None\", \"tool_call_id\": \"toolu_01K46HsvyWXLwLTZ79uQu9tv\", \"artifact\": \"None\", \"status\": \"success\"}",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "851203f7bda9a6cf",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a95a40820a07b828",
    "trace_id": "f27046b903f841a4b4420fd0e78958d3",
    "parent_span_id": "87115503513d6896",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175460.454017,
    "timestamp": 1779175462.685271,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139952918623936",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.request.available_tools": "[{\"name\": \"add\", \"description\": \"Add two numbers together\"}, {\"name\": \"multiply\", \"description\": \"Multiply two numbers together\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Calculate (3 + 5) * 4. First use the add tool to add 3 and 5, then use the multiply tool to multiply the result by 4.\"}, {\"role\": \"assistant\", \"content\": [{\"text\": \"I'll help you calculate (3 + 5) * 4 in two steps.\\n\\nFirst, let me add 3 and 5:\", \"type\": \"text\"}, {\"id\": \"toolu_01K46HsvyWXLwLTZ79uQu9tv\", \"caller\": {\"type\": \"direct\"}, \"input\": {\"a\": 3, \"b\": 5}, \"name\": \"add\", \"type\": \"tool_use\"}]}, {\"role\": \"tool\", \"content\": \"8\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.tool_calls": "[{\"name\": \"multiply\", \"args\": {\"a\": 8, \"b\": 4}, \"id\": \"toolu_016Z22ifyuR3BCtUPGMRkAm7\", \"type\": \"tool_call\"}]",
      "gen_ai.response.text": "Great! 3 + 5 = 8. Now let me multiply that result by 4:",
      "gen_ai.usage.input_tokens": 764,
      "gen_ai.usage.output_tokens": 92,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "851203f7bda9a6cf",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8351e070a8fc3a17",
    "trace_id": "f27046b903f841a4b4420fd0e78958d3",
    "parent_span_id": "87115503513d6896",
    "op": "gen_ai.execute_tool",
    "description": "execute_tool multiply",
    "start_timestamp": 1779175462.691114,
    "timestamp": 1779175462.691796,
    "data": {
      "sentry.op": "gen_ai.execute_tool",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139952918623936",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "execute_tool",
      "gen_ai.tool.name": "multiply",
      "gen_ai.tool.description": "Multiply two numbers together",
      "gen_ai.tool.input": "{\"a\": 8, \"b\": 4}",
      "gen_ai.tool.output": "{\"content\": \"32\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"tool\", \"name\": \"multiply\", \"id\": \"None\", \"tool_call_id\": \"toolu_016Z22ifyuR3BCtUPGMRkAm7\", \"artifact\": \"None\", \"status\": \"success\"}",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "851203f7bda9a6cf",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8d2b608d241bbdd8",
    "trace_id": "f27046b903f841a4b4420fd0e78958d3",
    "parent_span_id": "87115503513d6896",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175462.697661,
    "timestamp": 1779175463.405488,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139952918623936",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.request.available_tools": "[{\"name\": \"add\", \"description\": \"Add two numbers together\"}, {\"name\": \"multiply\", \"description\": \"Multiply two numbers together\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Calculate (3 + 5) * 4. First use the add tool to add 3 and 5, then use the multiply tool to multiply the result by 4.\"}, {\"role\": \"assistant\", \"content\": [{\"text\": \"I'll help you calculate (3 + 5) * 4 in two steps.\\n\\nFirst, let me add 3 and 5:\", \"type\": \"text\"}, {\"id\": \"toolu_01K46HsvyWXLwLTZ79uQu9tv\", \"caller\": {\"type\": \"direct\"}, \"input\": {\"a\": 3, \"b\": 5}, \"name\": \"add\", \"type\": \"tool_use\"}]}, {\"role\": \"tool\", \"content\": \"8\"}, {\"role\": \"assistant\", \"content\": [{\"text\": \"Great! 3 + 5 = 8. Now let me multiply that result by 4:\", \"type\": \"text\"}, {\"id\": \"toolu_016Z22ifyuR3BCtUPGMRkAm7\", \"caller\": {\"type\": \"direct\"}, \"input\": {\"a\": 8, \"b\": 4}, \"name\": \"multiply\", \"type\": \"tool_use\"}]}, {\"role\": \"tool\", \"content\": \"32\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "Perfect! The answer is **(3 + 5) * 4 = 32**",
      "gen_ai.usage.input_tokens": 869,
      "gen_ai.usage.output_tokens": 24,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "851203f7bda9a6cf",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langgraph :: Tool Error Agent Test (sync, openai)❗︎ 2 16445ms
checkAgentSpanAttributes
checkChatSpanAttributes
bedc5729gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bedc5729gen_ai.output.messagesMissing output messages attribute
b27133ddgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b27133ddgen_ai.output.messagesMissing output messages attribute
checkToolSpanAttributes
checkAgentHierarchy
bedc5729gen_ai.agent.nameChild span (gen_ai.chat, id: bedc5729) should have gen_ai.agent.name attribute
9de5282fgen_ai.agent.nameChild span (gen_ai.execute_tool, id: 9de5282f) should have gen_ai.agent.name attribute
b27133ddgen_ai.agent.nameChild span (gen_ai.chat, id: b27133dd) should have gen_ai.agent.name attribute
checkAvailableTools
checkResponseToolCalls(read_file)
checkInputMessagesSchema
checkToolErrorSpan
9de5282fstatusTool span status is "ok", expected a non-ok error status
checkResponseModel
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(1 span) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
{}Captured Spans (11)
[
  {
    "trace_id": "335d028fa78946ec84c1e752e9af7287",
    "span_id": "baa684f497203e14",
    "parent_span_id": "bedc57294216ac02",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:24:16.759506Z",
    "timestamp": "2026-05-19T07:24:16.761966Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12144
    },
    "data": {
      "thread.id": "140657705421696",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "335d028fa78946ec84c1e752e9af7287",
    "span_id": "917be05b85cae4f1",
    "parent_span_id": "bedc57294216ac02",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:16.762057Z",
    "timestamp": "2026-05-19T07:24:16.762439Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12144
    },
    "data": {
      "thread.id": "140657705421696",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "335d028fa78946ec84c1e752e9af7287",
    "span_id": "896c4c51a5f933c8",
    "parent_span_id": "917be05b85cae4f1",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:16.762202Z",
    "timestamp": "2026-05-19T07:24:16.762427Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12144
    },
    "data": {
      "thread.id": "140657705421696",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "335d028fa78946ec84c1e752e9af7287",
    "span_id": "aec0bcf5d9a9bb52",
    "parent_span_id": "bedc57294216ac02",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:16.762487Z",
    "timestamp": "2026-05-19T07:24:16.762506Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12144
    },
    "data": {
      "thread.id": "140657705421696",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "335d028fa78946ec84c1e752e9af7287",
    "span_id": "97e73b6f8fb51d82",
    "parent_span_id": "bedc57294216ac02",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:16.763937Z",
    "timestamp": "2026-05-19T07:24:17.214802Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140657705421696",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 45,
      "code.namespace": "__main__",
      "code.filepath": "test-tool-error-agent-test-sync-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "335d028fa78946ec84c1e752e9af7287",
    "span_id": "b7363d065fa6368c",
    "parent_span_id": "b27133dd922c8ee2",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:17.263033Z",
    "timestamp": "2026-05-19T07:24:17.753623Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140657705421696",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 45,
      "code.namespace": "__main__",
      "code.filepath": "test-tool-error-agent-test-sync-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "bd69418f036baf52",
    "trace_id": "335d028fa78946ec84c1e752e9af7287",
    "parent_span_id": null,
    "op": "test",
    "description": "Tool Error Agent Test",
    "start_timestamp": "2026-05-19T07:24:16.749271Z",
    "timestamp": "2026-05-19T07:24:17.755794Z",
    "data": {
      "thread.id": "140657705421696",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "9cd350254e3fa71f",
    "trace_id": "335d028fa78946ec84c1e752e9af7287",
    "parent_span_id": "bd69418f036baf52",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent file_assistant",
    "start_timestamp": 1779175456.750131,
    "timestamp": 1779175457.755731,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.langgraph",
      "thread.id": "140657705421696",
      "thread.name": "MainThread",
      "gen_ai.pipeline.name": "file_assistant",
      "gen_ai.agent.name": "file_assistant",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Please read the file at /nonexistent/file.txt and tell me what it contains. Use the read_file tool.\", \"response_metadata\": {}}]",
      "gen_ai.usage.input_tokens": 164,
      "gen_ai.usage.output_tokens": 36,
      "gen_ai.usage.total_tokens": 200,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.text": "It seems that the file at the specified path does not exist or cannot be found.",
      "gen_ai.response.tool_calls": "[{\"name\": \"read_file\", \"args\": {\"path\": \"/nonexistent/file.txt\"}, \"id\": \"call_otgEydjoCGKck1OT5QQtH2kk\", \"type\": \"tool_call\"}]",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Error Agent Test",
      "sentry.segment.id": "bd69418f036baf52",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "bedc57294216ac02",
    "trace_id": "335d028fa78946ec84c1e752e9af7287",
    "parent_span_id": "9cd350254e3fa71f",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175456.754383,
    "timestamp": 1779175457.242276,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140657705421696",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system": "openai-chat",
      "gen_ai.request.available_tools": "[{\"name\": \"read_file\", \"description\": \"Read the contents of a file\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Please read the file at /nonexistent/file.txt and tell me what it contains. Use the read_file tool.\"}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.finish_reasons": [
        "tool_calls"
      ],
      "gen_ai.response.tool_calls": "[{\"name\": \"read_file\", \"args\": {\"path\": \"/nonexistent/file.txt\"}, \"id\": \"call_otgEydjoCGKck1OT5QQtH2kk\", \"type\": \"tool_call\"}]",
      "gen_ai.response.text": "",
      "gen_ai.usage.input_tokens": 67,
      "gen_ai.usage.output_tokens": 18,
      "gen_ai.usage.total_tokens": 85,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Error Agent Test",
      "sentry.segment.id": "bd69418f036baf52",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9de5282f55b02dbf",
    "trace_id": "335d028fa78946ec84c1e752e9af7287",
    "parent_span_id": "9cd350254e3fa71f",
    "op": "gen_ai.execute_tool",
    "description": "execute_tool read_file",
    "start_timestamp": 1779175457.247564,
    "timestamp": 1779175457.251358,
    "data": {
      "sentry.op": "gen_ai.execute_tool",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140657590392512",
      "thread.name": "ThreadPoolExecutor-2_0",
      "gen_ai.operation.name": "execute_tool",
      "gen_ai.tool.name": "read_file",
      "gen_ai.tool.description": "Read the contents of a file",
      "gen_ai.tool.input": "{\"path\": \"/nonexistent/file.txt\"}",
      "gen_ai.tool.output": "{\"content\": \"null\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"tool\", \"name\": \"read_file\", \"id\": \"None\", \"tool_call_id\": \"call_otgEydjoCGKck1OT5QQtH2kk\", \"artifact\": \"None\", \"status\": \"success\"}",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Error Agent Test",
      "sentry.segment.id": "bd69418f036baf52",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b27133dd922c8ee2",
    "trace_id": "335d028fa78946ec84c1e752e9af7287",
    "parent_span_id": "9cd350254e3fa71f",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175457.253477,
    "timestamp": 1779175457.754805,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140657705421696",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system": "openai-chat",
      "gen_ai.request.available_tools": "[{\"name\": \"read_file\", \"description\": \"Read the contents of a file\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Please read the file at /nonexistent/file.txt and tell me what it contains. Use the read_file tool.\"}, {\"role\": \"assistant\", \"content\": \"\", \"refusal\": \"None\"}, {\"role\": \"tool\", \"content\": \"null\"}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "It seems that the file at the specified path does not exist or cannot be found.",
      "gen_ai.usage.input_tokens": 97,
      "gen_ai.usage.output_tokens": 18,
      "gen_ai.usage.total_tokens": 115,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Error Agent Test",
      "sentry.segment.id": "bd69418f036baf52",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langgraph :: Tool Error Agent Test (sync, anthropic)❗︎ 2 111936ms
checkAgentSpanAttributes
checkChatSpanAttributes
a1b79581gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a1b79581gen_ai.output.messagesMissing output messages attribute
8cefc570gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8cefc570gen_ai.output.messagesMissing output messages attribute
checkToolSpanAttributes
checkAgentHierarchy
a1b79581gen_ai.agent.nameChild span (gen_ai.chat, id: a1b79581) should have gen_ai.agent.name attribute
afcaa5e3gen_ai.agent.nameChild span (gen_ai.execute_tool, id: afcaa5e3) should have gen_ai.agent.name attribute
8cefc570gen_ai.agent.nameChild span (gen_ai.chat, id: 8cefc570) should have gen_ai.agent.name attribute
checkAvailableTools
checkResponseToolCalls(read_file)
checkInputMessagesSchema
checkToolErrorSpan
afcaa5e3statusTool span status is "ok", expected a non-ok error status
checkResponseModel
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(1 span) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
{}Captured Spans (11)
[
  {
    "trace_id": "dfebbb5ddc4b4481a103a4892efff8e8",
    "span_id": "a170826e9838f448",
    "parent_span_id": "a1b7958179486407",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:24:20.429432Z",
    "timestamp": "2026-05-19T07:24:20.437003Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12172
    },
    "data": {
      "thread.id": "140289390586752",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "dfebbb5ddc4b4481a103a4892efff8e8",
    "span_id": "9f462876b9685071",
    "parent_span_id": "a1b7958179486407",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:20.437138Z",
    "timestamp": "2026-05-19T07:24:20.437302Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12172
    },
    "data": {
      "thread.id": "140289390586752",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "dfebbb5ddc4b4481a103a4892efff8e8",
    "span_id": "9167f9d732974e75",
    "parent_span_id": "9f462876b9685071",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:20.437252Z",
    "timestamp": "2026-05-19T07:24:20.437294Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12172
    },
    "data": {
      "thread.id": "140289390586752",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "dfebbb5ddc4b4481a103a4892efff8e8",
    "span_id": "8442902ffc07ef09",
    "parent_span_id": "a1b7958179486407",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:20.437337Z",
    "timestamp": "2026-05-19T07:24:20.437350Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12172
    },
    "data": {
      "thread.id": "140289390586752",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "dfebbb5ddc4b4481a103a4892efff8e8",
    "span_id": "ae1b34b877ba29da",
    "parent_span_id": "a1b7958179486407",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:24:20.438861Z",
    "timestamp": "2026-05-19T07:24:21.625543Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140289390586752",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 45,
      "code.namespace": "__main__",
      "code.filepath": "test-tool-error-agent-test-sync-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "dfebbb5ddc4b4481a103a4892efff8e8",
    "span_id": "9ed37ece8b3f799d",
    "parent_span_id": "8cefc570d98e3ce7",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:24:21.767203Z",
    "timestamp": "2026-05-19T07:24:22.902909Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140289390586752",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 45,
      "code.namespace": "__main__",
      "code.filepath": "test-tool-error-agent-test-sync-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "845df900a92bd686",
    "trace_id": "dfebbb5ddc4b4481a103a4892efff8e8",
    "parent_span_id": null,
    "op": "test",
    "description": "Tool Error Agent Test",
    "start_timestamp": "2026-05-19T07:24:20.336669Z",
    "timestamp": "2026-05-19T07:24:22.908327Z",
    "data": {
      "thread.id": "140289390586752",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "9b4c17c7b19bf682",
    "trace_id": "dfebbb5ddc4b4481a103a4892efff8e8",
    "parent_span_id": "845df900a92bd686",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent file_assistant",
    "start_timestamp": 1779175460.337491,
    "timestamp": 1779175462.908256,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.langgraph",
      "thread.id": "140289390586752",
      "thread.name": "MainThread",
      "gen_ai.pipeline.name": "file_assistant",
      "gen_ai.agent.name": "file_assistant",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Please read the file at /nonexistent/file.txt and tell me what it contains. Use the read_file tool.\", \"response_metadata\": {}}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "The file at `/nonexistent/file.txt` does not exist or cannot be read. The read_file tool returned `null`, which indicates that the file was not found at that path. \n\nIf you'd like to read a file, please provide the path to a file that actually exists on the system.",
      "gen_ai.response.tool_calls": "[{\"name\": \"read_file\", \"args\": {\"path\": \"/nonexistent/file.txt\"}, \"id\": \"toolu_012dvR9Ykfs1NLmvegHCm59Y\", \"type\": \"tool_call\"}]",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Error Agent Test",
      "sentry.segment.id": "845df900a92bd686",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a1b7958179486407",
    "trace_id": "dfebbb5ddc4b4481a103a4892efff8e8",
    "parent_span_id": "9b4c17c7b19bf682",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175460.345918,
    "timestamp": 1779175461.734087,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140289390586752",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.request.available_tools": "[{\"name\": \"read_file\", \"description\": \"Read the contents of a file\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Please read the file at /nonexistent/file.txt and tell me what it contains. Use the read_file tool.\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.tool_calls": "[{\"name\": \"read_file\", \"args\": {\"path\": \"/nonexistent/file.txt\"}, \"id\": \"toolu_012dvR9Ykfs1NLmvegHCm59Y\", \"type\": \"tool_call\"}]",
      "gen_ai.response.text": "",
      "gen_ai.usage.input_tokens": 579,
      "gen_ai.usage.output_tokens": 61,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Error Agent Test",
      "sentry.segment.id": "845df900a92bd686",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "afcaa5e3cd19f2c7",
    "trace_id": "dfebbb5ddc4b4481a103a4892efff8e8",
    "parent_span_id": "9b4c17c7b19bf682",
    "op": "gen_ai.execute_tool",
    "description": "execute_tool read_file",
    "start_timestamp": 1779175461.742973,
    "timestamp": 1779175461.743813,
    "data": {
      "sentry.op": "gen_ai.execute_tool",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140289201141440",
      "thread.name": "ThreadPoolExecutor-2_0",
      "gen_ai.operation.name": "execute_tool",
      "gen_ai.tool.name": "read_file",
      "gen_ai.tool.description": "Read the contents of a file",
      "gen_ai.tool.input": "{\"path\": \"/nonexistent/file.txt\"}",
      "gen_ai.tool.output": "{\"content\": \"null\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"tool\", \"name\": \"read_file\", \"id\": \"None\", \"tool_call_id\": \"toolu_012dvR9Ykfs1NLmvegHCm59Y\", \"artifact\": \"None\", \"status\": \"success\"}",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Error Agent Test",
      "sentry.segment.id": "845df900a92bd686",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8cefc570d98e3ce7",
    "trace_id": "dfebbb5ddc4b4481a103a4892efff8e8",
    "parent_span_id": "9b4c17c7b19bf682",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175461.747987,
    "timestamp": 1779175462.907252,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140289390586752",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.request.available_tools": "[{\"name\": \"read_file\", \"description\": \"Read the contents of a file\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Please read the file at /nonexistent/file.txt and tell me what it contains. Use the read_file tool.\"}, {\"role\": \"assistant\", \"content\": [{\"id\": \"toolu_012dvR9Ykfs1NLmvegHCm59Y\", \"caller\": {\"type\": \"direct\"}, \"input\": {\"path\": \"/nonexistent/file.txt\"}, \"name\": \"read_file\", \"type\": \"tool_use\"}]}, {\"role\": \"tool\", \"content\": \"null\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "The file at `/nonexistent/file.txt` does not exist or cannot be read. The read_file tool returned `null`, which indicates that the file was not found at that path. \n\nIf you'd like to read a file, please provide the path to a file that actually exists on the system.",
      "gen_ai.usage.input_tokens": 653,
      "gen_ai.usage.output_tokens": 69,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Error Agent Test",
      "sentry.segment.id": "845df900a92bd686",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langgraph :: Tool Error Agent Test (async, openai)❗︎ 2 18205ms
checkAgentSpanAttributes
checkChatSpanAttributes
8c406e21gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8c406e21gen_ai.output.messagesMissing output messages attribute
92a9794bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
92a9794bgen_ai.output.messagesMissing output messages attribute
checkToolSpanAttributes
checkAgentHierarchy
8c406e21gen_ai.agent.nameChild span (gen_ai.chat, id: 8c406e21) should have gen_ai.agent.name attribute
bf3c1c22gen_ai.agent.nameChild span (gen_ai.execute_tool, id: bf3c1c22) should have gen_ai.agent.name attribute
92a9794bgen_ai.agent.nameChild span (gen_ai.chat, id: 92a9794b) should have gen_ai.agent.name attribute
checkAvailableTools
checkResponseToolCalls(read_file)
checkInputMessagesSchema
checkToolErrorSpan
bf3c1c22statusTool span status is "ok", expected a non-ok error status
checkResponseModel
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(1 span) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
{}Captured Spans (11)
[
  {
    "trace_id": "62b9b2e705394082811760bf20422be6",
    "span_id": "a89d2b377143dbb9",
    "parent_span_id": "8c406e214e519aeb",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:24:19.037951Z",
    "timestamp": "2026-05-19T07:24:19.039994Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12159
    },
    "data": {
      "thread.id": "140233232348864",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "62b9b2e705394082811760bf20422be6",
    "span_id": "83dc3e09d82d6585",
    "parent_span_id": "8c406e214e519aeb",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:19.040091Z",
    "timestamp": "2026-05-19T07:24:19.040774Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12159
    },
    "data": {
      "thread.id": "140233232348864",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "62b9b2e705394082811760bf20422be6",
    "span_id": "97fe76cbc69b9d35",
    "parent_span_id": "83dc3e09d82d6585",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:19.040530Z",
    "timestamp": "2026-05-19T07:24:19.040761Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12159
    },
    "data": {
      "thread.id": "140233232348864",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "62b9b2e705394082811760bf20422be6",
    "span_id": "9bfeba1bbd7b7cde",
    "parent_span_id": "8c406e214e519aeb",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:19.040818Z",
    "timestamp": "2026-05-19T07:24:19.040839Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12159
    },
    "data": {
      "thread.id": "140233232348864",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "62b9b2e705394082811760bf20422be6",
    "span_id": "8a21147e988bc72d",
    "parent_span_id": "8c406e214e519aeb",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:19.042401Z",
    "timestamp": "2026-05-19T07:24:19.523671Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140233422015360",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 56,
      "code.namespace": "__main__",
      "code.filepath": "test-tool-error-agent-test-async-openai.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "62b9b2e705394082811760bf20422be6",
    "span_id": "a0503980acd52433",
    "parent_span_id": "92a9794bf8094d19",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:19.568481Z",
    "timestamp": "2026-05-19T07:24:20.012613Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140233422015360",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 56,
      "code.namespace": "__main__",
      "code.filepath": "test-tool-error-agent-test-async-openai.py",
      "code.function": "<module>"
    }
  },
  {
    "span_id": "87a65a7924ad70cf",
    "trace_id": "62b9b2e705394082811760bf20422be6",
    "parent_span_id": null,
    "op": "test",
    "description": "Tool Error Agent Test",
    "start_timestamp": "2026-05-19T07:24:19.026016Z",
    "timestamp": "2026-05-19T07:24:20.035536Z",
    "data": {
      "thread.id": "140233422015360",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "bc4cfcec68a27c56",
    "trace_id": "62b9b2e705394082811760bf20422be6",
    "parent_span_id": "87a65a7924ad70cf",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent file_assistant",
    "start_timestamp": 1779175459.027615,
    "timestamp": 1779175460.02918,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.langgraph",
      "thread.id": "140233422015360",
      "thread.name": "MainThread",
      "gen_ai.pipeline.name": "file_assistant",
      "gen_ai.agent.name": "file_assistant",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Please read the file at /nonexistent/file.txt and tell me what it contains. Use the read_file tool.\", \"response_metadata\": {}}]",
      "gen_ai.usage.input_tokens": 164,
      "gen_ai.usage.output_tokens": 40,
      "gen_ai.usage.total_tokens": 204,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.text": "The file at `/nonexistent/file.txt` does not exist, so there is no content to read.",
      "gen_ai.response.tool_calls": "[{\"name\": \"read_file\", \"args\": {\"path\": \"/nonexistent/file.txt\"}, \"id\": \"call_fdBUNFSgL2tsRRjRO0eWS6o5\", \"type\": \"tool_call\"}]",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Error Agent Test",
      "sentry.segment.id": "87a65a7924ad70cf",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8c406e214e519aeb",
    "trace_id": "62b9b2e705394082811760bf20422be6",
    "parent_span_id": "bc4cfcec68a27c56",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175459.033263,
    "timestamp": 1779175459.54652,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140233232348864",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system": "openai-chat",
      "gen_ai.request.available_tools": "[{\"name\": \"read_file\", \"description\": \"Read the contents of a file\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Please read the file at /nonexistent/file.txt and tell me what it contains. Use the read_file tool.\"}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.finish_reasons": [
        "tool_calls"
      ],
      "gen_ai.response.tool_calls": "[{\"name\": \"read_file\", \"args\": {\"path\": \"/nonexistent/file.txt\"}, \"id\": \"call_fdBUNFSgL2tsRRjRO0eWS6o5\", \"type\": \"tool_call\"}]",
      "gen_ai.response.text": "",
      "gen_ai.usage.input_tokens": 67,
      "gen_ai.usage.output_tokens": 18,
      "gen_ai.usage.total_tokens": 85,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Error Agent Test",
      "sentry.segment.id": "87a65a7924ad70cf",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "bf3c1c222b264ffa",
    "trace_id": "62b9b2e705394082811760bf20422be6",
    "parent_span_id": "bc4cfcec68a27c56",
    "op": "gen_ai.execute_tool",
    "description": "execute_tool read_file",
    "start_timestamp": 1779175459.555354,
    "timestamp": 1779175459.556154,
    "data": {
      "sentry.op": "gen_ai.execute_tool",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140233232348864",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "execute_tool",
      "gen_ai.tool.name": "read_file",
      "gen_ai.tool.description": "Read the contents of a file",
      "gen_ai.tool.input": "{\"path\": \"/nonexistent/file.txt\"}",
      "gen_ai.tool.output": "{\"content\": \"null\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"tool\", \"name\": \"read_file\", \"id\": \"None\", \"tool_call_id\": \"call_fdBUNFSgL2tsRRjRO0eWS6o5\", \"artifact\": \"None\", \"status\": \"success\"}",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Error Agent Test",
      "sentry.segment.id": "87a65a7924ad70cf",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "92a9794bf8094d19",
    "trace_id": "62b9b2e705394082811760bf20422be6",
    "parent_span_id": "bc4cfcec68a27c56",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175459.560923,
    "timestamp": 1779175460.019022,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140233232348864",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system": "openai-chat",
      "gen_ai.request.available_tools": "[{\"name\": \"read_file\", \"description\": \"Read the contents of a file\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Please read the file at /nonexistent/file.txt and tell me what it contains. Use the read_file tool.\"}, {\"role\": \"assistant\", \"content\": \"\", \"refusal\": \"None\"}, {\"role\": \"tool\", \"content\": \"null\"}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "The file at `/nonexistent/file.txt` does not exist, so there is no content to read.",
      "gen_ai.usage.input_tokens": 97,
      "gen_ai.usage.output_tokens": 22,
      "gen_ai.usage.total_tokens": 119,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Error Agent Test",
      "sentry.segment.id": "87a65a7924ad70cf",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langgraph :: Tool Error Agent Test (async, anthropic)❗︎ 2 111740ms
checkAgentSpanAttributes
checkChatSpanAttributes
9084acb0gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9084acb0gen_ai.output.messagesMissing output messages attribute
86b0376agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
86b0376agen_ai.output.messagesMissing output messages attribute
checkToolSpanAttributes
checkAgentHierarchy
9084acb0gen_ai.agent.nameChild span (gen_ai.chat, id: 9084acb0) should have gen_ai.agent.name attribute
88bb520cgen_ai.agent.nameChild span (gen_ai.execute_tool, id: 88bb520c) should have gen_ai.agent.name attribute
86b0376agen_ai.agent.nameChild span (gen_ai.chat, id: 86b0376a) should have gen_ai.agent.name attribute
checkAvailableTools
checkResponseToolCalls(read_file)
checkInputMessagesSchema
checkToolErrorSpan
88bb520cstatusTool span status is "ok", expected a non-ok error status
checkResponseModel
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(1 span) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
{}Captured Spans (11)
[
  {
    "trace_id": "a4e307aa77c64bb1afd28f35f1e73c1d",
    "span_id": "a5f1b79b6eebac47",
    "parent_span_id": "9084acb0d42c388e",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:24:22.965463Z",
    "timestamp": "2026-05-19T07:24:22.968004Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12193
    },
    "data": {
      "thread.id": "140599978092224",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "a4e307aa77c64bb1afd28f35f1e73c1d",
    "span_id": "a2c211b2929314ca",
    "parent_span_id": "9084acb0d42c388e",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:22.968131Z",
    "timestamp": "2026-05-19T07:24:22.974452Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12193
    },
    "data": {
      "thread.id": "140599978092224",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "a4e307aa77c64bb1afd28f35f1e73c1d",
    "span_id": "8cb4150f677ed7b1",
    "parent_span_id": "a2c211b2929314ca",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:22.974364Z",
    "timestamp": "2026-05-19T07:24:22.974432Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12193
    },
    "data": {
      "thread.id": "140599978092224",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "a4e307aa77c64bb1afd28f35f1e73c1d",
    "span_id": "8caea986b74738f6",
    "parent_span_id": "9084acb0d42c388e",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:22.974498Z",
    "timestamp": "2026-05-19T07:24:22.974517Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12193
    },
    "data": {
      "thread.id": "140599978092224",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "a4e307aa77c64bb1afd28f35f1e73c1d",
    "span_id": "82849b8e6030f42f",
    "parent_span_id": "9084acb0d42c388e",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:24:22.976450Z",
    "timestamp": "2026-05-19T07:24:24.012310Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140600094231424",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 56,
      "code.namespace": "__main__",
      "code.filepath": "test-tool-error-agent-test-async-anthropic.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "a4e307aa77c64bb1afd28f35f1e73c1d",
    "span_id": "8447029a5c1952f9",
    "parent_span_id": "86b0376ac8169070",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:24:24.187557Z",
    "timestamp": "2026-05-19T07:24:25.328137Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140600094231424",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 56,
      "code.namespace": "__main__",
      "code.filepath": "test-tool-error-agent-test-async-anthropic.py",
      "code.function": "<module>"
    }
  },
  {
    "span_id": "aa39815449b9f923",
    "trace_id": "a4e307aa77c64bb1afd28f35f1e73c1d",
    "parent_span_id": null,
    "op": "test",
    "description": "Tool Error Agent Test",
    "start_timestamp": "2026-05-19T07:24:22.845168Z",
    "timestamp": "2026-05-19T07:24:25.339605Z",
    "data": {
      "thread.id": "140600094231424",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b37d0ef145bfaf35",
    "trace_id": "a4e307aa77c64bb1afd28f35f1e73c1d",
    "parent_span_id": "aa39815449b9f923",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent file_assistant",
    "start_timestamp": 1779175462.846432,
    "timestamp": 1779175465.336176,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.langgraph",
      "thread.id": "140600094231424",
      "thread.name": "MainThread",
      "gen_ai.pipeline.name": "file_assistant",
      "gen_ai.agent.name": "file_assistant",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Please read the file at /nonexistent/file.txt and tell me what it contains. Use the read_file tool.\", \"response_metadata\": {}}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "The read_file tool returned `null`, which indicates that the file at `/nonexistent/file.txt` does not exist or cannot be read. This is expected since you specified a nonexistent file path. The file is not accessible, so I cannot retrieve its contents.\n\nIf you have an actual file you'd like me to read, please provide the correct path and I'll be happy to help!",
      "gen_ai.response.tool_calls": "[{\"name\": \"read_file\", \"args\": {\"path\": \"/nonexistent/file.txt\"}, \"id\": \"toolu_01MNp5gGBA58QHeP1KdFsdT2\", \"type\": \"tool_call\"}]",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Error Agent Test",
      "sentry.segment.id": "aa39815449b9f923",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9084acb0d42c388e",
    "trace_id": "a4e307aa77c64bb1afd28f35f1e73c1d",
    "parent_span_id": "b37d0ef145bfaf35",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175462.860106,
    "timestamp": 1779175464.139124,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140599978092224",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.request.available_tools": "[{\"name\": \"read_file\", \"description\": \"Read the contents of a file\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Please read the file at /nonexistent/file.txt and tell me what it contains. Use the read_file tool.\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.tool_calls": "[{\"name\": \"read_file\", \"args\": {\"path\": \"/nonexistent/file.txt\"}, \"id\": \"toolu_01MNp5gGBA58QHeP1KdFsdT2\", \"type\": \"tool_call\"}]",
      "gen_ai.response.text": "",
      "gen_ai.usage.input_tokens": 579,
      "gen_ai.usage.output_tokens": 61,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Error Agent Test",
      "sentry.segment.id": "aa39815449b9f923",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "88bb520c1d18038c",
    "trace_id": "a4e307aa77c64bb1afd28f35f1e73c1d",
    "parent_span_id": "b37d0ef145bfaf35",
    "op": "gen_ai.execute_tool",
    "description": "execute_tool read_file",
    "start_timestamp": 1779175464.150019,
    "timestamp": 1779175464.150757,
    "data": {
      "sentry.op": "gen_ai.execute_tool",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140599978092224",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "execute_tool",
      "gen_ai.tool.name": "read_file",
      "gen_ai.tool.description": "Read the contents of a file",
      "gen_ai.tool.input": "{\"path\": \"/nonexistent/file.txt\"}",
      "gen_ai.tool.output": "{\"content\": \"null\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"tool\", \"name\": \"read_file\", \"id\": \"None\", \"tool_call_id\": \"toolu_01MNp5gGBA58QHeP1KdFsdT2\", \"artifact\": \"None\", \"status\": \"success\"}",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Error Agent Test",
      "sentry.segment.id": "aa39815449b9f923",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "86b0376ac8169070",
    "trace_id": "a4e307aa77c64bb1afd28f35f1e73c1d",
    "parent_span_id": "b37d0ef145bfaf35",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175464.159005,
    "timestamp": 1779175465.334072,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140599978092224",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.request.available_tools": "[{\"name\": \"read_file\", \"description\": \"Read the contents of a file\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Please read the file at /nonexistent/file.txt and tell me what it contains. Use the read_file tool.\"}, {\"role\": \"assistant\", \"content\": [{\"id\": \"toolu_01MNp5gGBA58QHeP1KdFsdT2\", \"caller\": {\"type\": \"direct\"}, \"input\": {\"path\": \"/nonexistent/file.txt\"}, \"name\": \"read_file\", \"type\": \"tool_use\"}]}, {\"role\": \"tool\", \"content\": \"null\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "The read_file tool returned `null`, which indicates that the file at `/nonexistent/file.txt` does not exist or cannot be read. This is expected since you specified a nonexistent file path. The file is not accessible, so I cannot retrieve its contents.\n\nIf you have an actual file you'd like me to read, please provide the correct path and I'll be happy to help!",
      "gen_ai.usage.input_tokens": 653,
      "gen_ai.usage.output_tokens": 88,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Error Agent Test",
      "sentry.segment.id": "aa39815449b9f923",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langgraph :: Vision Agent Test (sync, openai)❗︎ 2 17241ms
checkAgentSpanAttributes
checkChatSpanAttributes
9eb68630gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9eb68630gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
9eb68630gen_ai.agent.nameChild span (gen_ai.chat, id: 9eb68630) should have gen_ai.agent.name attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
9eb68630gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
9eb68630gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
93900d15gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
93900d15gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(2 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (8)
[
  {
    "trace_id": "e3909e51c54841a69e14b8216a74d24d",
    "span_id": "b72566b0869e50ae",
    "parent_span_id": "9eb686308d3be9d0",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:24:20.943854Z",
    "timestamp": "2026-05-19T07:24:20.946578Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12178
    },
    "data": {
      "thread.id": "139640519322496",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "e3909e51c54841a69e14b8216a74d24d",
    "span_id": "98bfe3f96d570d1e",
    "parent_span_id": "9eb686308d3be9d0",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:20.946703Z",
    "timestamp": "2026-05-19T07:24:20.946894Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12178
    },
    "data": {
      "thread.id": "139640519322496",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "e3909e51c54841a69e14b8216a74d24d",
    "span_id": "b262bf76f66dbe75",
    "parent_span_id": "98bfe3f96d570d1e",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:20.946824Z",
    "timestamp": "2026-05-19T07:24:20.946886Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12178
    },
    "data": {
      "thread.id": "139640519322496",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "e3909e51c54841a69e14b8216a74d24d",
    "span_id": "81b349f715c69277",
    "parent_span_id": "9eb686308d3be9d0",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:20.946931Z",
    "timestamp": "2026-05-19T07:24:20.946945Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12178
    },
    "data": {
      "thread.id": "139640519322496",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "e3909e51c54841a69e14b8216a74d24d",
    "span_id": "90c2cf7540ecd88d",
    "parent_span_id": "9eb686308d3be9d0",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:20.948328Z",
    "timestamp": "2026-05-19T07:24:21.478931Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139640519322496",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 44,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-agent-test-sync-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "80105438b0058764",
    "trace_id": "e3909e51c54841a69e14b8216a74d24d",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision Agent Test",
    "start_timestamp": "2026-05-19T07:24:20.932526Z",
    "timestamp": "2026-05-19T07:24:21.503065Z",
    "data": {
      "thread.id": "139640519322496",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "93900d150a691a3f",
    "trace_id": "e3909e51c54841a69e14b8216a74d24d",
    "parent_span_id": "80105438b0058764",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent vision_assistant",
    "start_timestamp": 1779175460.933288,
    "timestamp": 1779175461.503012,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.langgraph",
      "thread.id": "139640519322496",
      "thread.name": "MainThread",
      "gen_ai.pipeline.name": "vision_assistant",
      "gen_ai.agent.name": "vision_assistant",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\", \"response_metadata\": {}}, {\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"image_url\", \"image_url\": {\"url\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}}], \"response_metadata\": {}}]",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 8538,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.text": "Red",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision Agent Test",
      "sentry.segment.id": "80105438b0058764",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9eb686308d3be9d0",
    "trace_id": "e3909e51c54841a69e14b8216a74d24d",
    "parent_span_id": "93900d150a691a3f",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175460.937327,
    "timestamp": 1779175461.50217,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139640519322496",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"blob\", \"modality\": \"image\", \"mime_type\": \"image/png\", \"content\": \"iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}]}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "Red",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 8538,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision Agent Test",
      "sentry.segment.id": "80105438b0058764",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langgraph :: Vision Agent Test (sync, anthropic)❗︎ 2 211085ms
checkAgentSpanAttributes
checkChatSpanAttributes
99c80135gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
99c80135gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
99c80135gen_ai.agent.nameChild span (gen_ai.chat, id: 99c80135) should have gen_ai.agent.name attribute
checkValidTokenUsage
9a16a43egen_ai.usage.input_tokensinput_tokens must exist
9a16a43egen_ai.usage.output_tokensoutput_tokens must exist
9a16a43egen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkBinaryRedaction
99c80135gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
99c80135gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
9a16a43egen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
9a16a43egen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(2 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (8)
[
  {
    "trace_id": "a2ca01fe1c6b4249b0f6c5ab4278e9f6",
    "span_id": "aed681ce53ca01ac",
    "parent_span_id": "99c801353d61f5a3",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:24:27.002479Z",
    "timestamp": "2026-05-19T07:24:27.010174Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12214
    },
    "data": {
      "thread.id": "140115009055616",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "a2ca01fe1c6b4249b0f6c5ab4278e9f6",
    "span_id": "a1390e9742de752b",
    "parent_span_id": "99c801353d61f5a3",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:27.010319Z",
    "timestamp": "2026-05-19T07:24:27.017392Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12214
    },
    "data": {
      "thread.id": "140115009055616",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "a2ca01fe1c6b4249b0f6c5ab4278e9f6",
    "span_id": "b96910599ecafe08",
    "parent_span_id": "a1390e9742de752b",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:27.017307Z",
    "timestamp": "2026-05-19T07:24:27.017372Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12214
    },
    "data": {
      "thread.id": "140115009055616",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "a2ca01fe1c6b4249b0f6c5ab4278e9f6",
    "span_id": "a26167fcce2cbde8",
    "parent_span_id": "99c801353d61f5a3",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:27.017433Z",
    "timestamp": "2026-05-19T07:24:27.017446Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12214
    },
    "data": {
      "thread.id": "140115009055616",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "a2ca01fe1c6b4249b0f6c5ab4278e9f6",
    "span_id": "9961690953ac04ea",
    "parent_span_id": "99c801353d61f5a3",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:24:27.018866Z",
    "timestamp": "2026-05-19T07:24:27.604113Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140115009055616",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 44,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-agent-test-sync-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "a003ada6740057b8",
    "trace_id": "a2ca01fe1c6b4249b0f6c5ab4278e9f6",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision Agent Test",
    "start_timestamp": "2026-05-19T07:24:26.884794Z",
    "timestamp": "2026-05-19T07:24:27.759565Z",
    "data": {
      "thread.id": "140115009055616",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "9a16a43e3413ffca",
    "trace_id": "a2ca01fe1c6b4249b0f6c5ab4278e9f6",
    "parent_span_id": "a003ada6740057b8",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent vision_assistant",
    "start_timestamp": 1779175466.891405,
    "timestamp": 1779175467.759505,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.langgraph",
      "thread.id": "140115009055616",
      "thread.name": "MainThread",
      "gen_ai.pipeline.name": "vision_assistant",
      "gen_ai.agent.name": "vision_assistant",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\", \"response_metadata\": {}}, {\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"image_url\", \"image_url\": {\"url\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}}], \"response_metadata\": {}}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "Pink",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision Agent Test",
      "sentry.segment.id": "a003ada6740057b8",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "99c801353d61f5a3",
    "trace_id": "a2ca01fe1c6b4249b0f6c5ab4278e9f6",
    "parent_span_id": "9a16a43e3413ffca",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175466.901857,
    "timestamp": 1779175467.758612,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140115009055616",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"blob\", \"modality\": \"image\", \"mime_type\": \"image/png\", \"content\": \"iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}]}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "Pink",
      "gen_ai.usage.input_tokens": 38,
      "gen_ai.usage.output_tokens": 4,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision Agent Test",
      "sentry.segment.id": "a003ada6740057b8",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langgraph :: Vision Agent Test (async, openai)❗︎ 2 19246ms
checkAgentSpanAttributes
checkChatSpanAttributes
9fcb6ceegen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9fcb6ceegen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
9fcb6ceegen_ai.agent.nameChild span (gen_ai.chat, id: 9fcb6cee) should have gen_ai.agent.name attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
9fcb6ceegen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
9fcb6ceegen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
942d2028gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
942d2028gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(2 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (8)
[
  {
    "trace_id": "062fbe9ac4ab4b9bb11ab5304f60dead",
    "span_id": "9dfb688bbf49d5d6",
    "parent_span_id": "9fcb6ceec9ff3082",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:24:25.256174Z",
    "timestamp": "2026-05-19T07:24:25.260979Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12202
    },
    "data": {
      "thread.id": "140257963022016",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "062fbe9ac4ab4b9bb11ab5304f60dead",
    "span_id": "aeeffe7b84a9b7f4",
    "parent_span_id": "9fcb6ceec9ff3082",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:25.261083Z",
    "timestamp": "2026-05-19T07:24:25.261458Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12202
    },
    "data": {
      "thread.id": "140257963022016",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "062fbe9ac4ab4b9bb11ab5304f60dead",
    "span_id": "a4ffa198f4156822",
    "parent_span_id": "aeeffe7b84a9b7f4",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:25.261413Z",
    "timestamp": "2026-05-19T07:24:25.261450Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12202
    },
    "data": {
      "thread.id": "140257963022016",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "062fbe9ac4ab4b9bb11ab5304f60dead",
    "span_id": "808fc4994133e301",
    "parent_span_id": "9fcb6ceec9ff3082",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:25.261490Z",
    "timestamp": "2026-05-19T07:24:25.261501Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12202
    },
    "data": {
      "thread.id": "140257963022016",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "062fbe9ac4ab4b9bb11ab5304f60dead",
    "span_id": "b36e4296dcef3124",
    "parent_span_id": "9fcb6ceec9ff3082",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:25.263003Z",
    "timestamp": "2026-05-19T07:24:25.824520Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140258077944704",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 55,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-agent-test-async-openai.py",
      "code.function": "<module>"
    }
  },
  {
    "span_id": "bc9da3b74bc37215",
    "trace_id": "062fbe9ac4ab4b9bb11ab5304f60dead",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision Agent Test",
    "start_timestamp": "2026-05-19T07:24:25.224299Z",
    "timestamp": "2026-05-19T07:24:25.885261Z",
    "data": {
      "thread.id": "140258077944704",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "942d20288262b1d7",
    "trace_id": "062fbe9ac4ab4b9bb11ab5304f60dead",
    "parent_span_id": "bc9da3b74bc37215",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent vision_assistant",
    "start_timestamp": 1779175465.225566,
    "timestamp": 1779175465.881233,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.langgraph",
      "thread.id": "140258077944704",
      "thread.name": "MainThread",
      "gen_ai.pipeline.name": "vision_assistant",
      "gen_ai.agent.name": "vision_assistant",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\", \"response_metadata\": {}}, {\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"image_url\", \"image_url\": {\"url\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}}], \"response_metadata\": {}}]",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 8538,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.text": "Red",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision Agent Test",
      "sentry.segment.id": "bc9da3b74bc37215",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9fcb6ceec9ff3082",
    "trace_id": "062fbe9ac4ab4b9bb11ab5304f60dead",
    "parent_span_id": "942d20288262b1d7",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175465.239667,
    "timestamp": 1779175465.86802,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140257963022016",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"blob\", \"modality\": \"image\", \"mime_type\": \"image/png\", \"content\": \"iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}]}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "Red",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 8538,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision Agent Test",
      "sentry.segment.id": "bc9da3b74bc37215",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langgraph :: Vision Agent Test (async, anthropic)❗︎ 2 213208ms
checkAgentSpanAttributes
checkChatSpanAttributes
b8487a14gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b8487a14gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
b8487a14gen_ai.agent.nameChild span (gen_ai.chat, id: b8487a14) should have gen_ai.agent.name attribute
checkValidTokenUsage
a9543ff3gen_ai.usage.input_tokensinput_tokens must exist
a9543ff3gen_ai.usage.output_tokensoutput_tokens must exist
a9543ff3gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkBinaryRedaction
b8487a14gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
b8487a14gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
a9543ff3gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
a9543ff3gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(2 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (8)
[
  {
    "trace_id": "04814679ba8448ba9093f51b8d0de3a6",
    "span_id": "b0527ad6c4f767a4",
    "parent_span_id": "b8487a143668ab8c",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:24:29.747217Z",
    "timestamp": "2026-05-19T07:24:29.749004Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12235
    },
    "data": {
      "thread.id": "140421808256704",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "04814679ba8448ba9093f51b8d0de3a6",
    "span_id": "b3a3151e3d5c1dd5",
    "parent_span_id": "b8487a143668ab8c",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:29.749131Z",
    "timestamp": "2026-05-19T07:24:29.753594Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12235
    },
    "data": {
      "thread.id": "140421808256704",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "04814679ba8448ba9093f51b8d0de3a6",
    "span_id": "b6c5652a210c03ba",
    "parent_span_id": "b3a3151e3d5c1dd5",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:29.753502Z",
    "timestamp": "2026-05-19T07:24:29.753572Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12235
    },
    "data": {
      "thread.id": "140421808256704",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "04814679ba8448ba9093f51b8d0de3a6",
    "span_id": "acf644d2d9fb140a",
    "parent_span_id": "b8487a143668ab8c",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:29.753643Z",
    "timestamp": "2026-05-19T07:24:29.753662Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12235
    },
    "data": {
      "thread.id": "140421808256704",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "04814679ba8448ba9093f51b8d0de3a6",
    "span_id": "8c624d15fa2a6df3",
    "parent_span_id": "b8487a143668ab8c",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:24:29.755628Z",
    "timestamp": "2026-05-19T07:24:31.492687Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140422002084736",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 55,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-agent-test-async-anthropic.py",
      "code.function": "<module>"
    }
  },
  {
    "span_id": "b11ecec5fde08ab2",
    "trace_id": "04814679ba8448ba9093f51b8d0de3a6",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision Agent Test",
    "start_timestamp": "2026-05-19T07:24:29.602118Z",
    "timestamp": "2026-05-19T07:24:31.635453Z",
    "data": {
      "thread.id": "140422002084736",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "a9543ff34245635b",
    "trace_id": "04814679ba8448ba9093f51b8d0de3a6",
    "parent_span_id": "b11ecec5fde08ab2",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent vision_assistant",
    "start_timestamp": 1779175469.605616,
    "timestamp": 1779175471.631285,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.langgraph",
      "thread.id": "140422002084736",
      "thread.name": "MainThread",
      "gen_ai.pipeline.name": "vision_assistant",
      "gen_ai.agent.name": "vision_assistant",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\", \"response_metadata\": {}}, {\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"image_url\", \"image_url\": {\"url\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}}], \"response_metadata\": {}}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "Pink",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision Agent Test",
      "sentry.segment.id": "b11ecec5fde08ab2",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b8487a143668ab8c",
    "trace_id": "04814679ba8448ba9093f51b8d0de3a6",
    "parent_span_id": "a9543ff34245635b",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175469.638069,
    "timestamp": 1779175471.621068,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140421808256704",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"blob\", \"modality\": \"image\", \"mime_type\": \"image/png\", \"content\": \"iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}]}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "Pink",
      "gen_ai.usage.input_tokens": 38,
      "gen_ai.usage.output_tokens": 4,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision Agent Test",
      "sentry.segment.id": "b11ecec5fde08ab2",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langgraph :: Long Input Agent Test (sync, openai)❗︎ 238661ms
checkAgentSpanAttributes
checkChatSpanAttributes
bc2d624fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bc2d624fgen_ai.output.messagesMissing output messages attribute
a8c9ea74gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a8c9ea74gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
bc2d624fgen_ai.agent.nameChild span (gen_ai.chat, id: bc2d624f) should have gen_ai.agent.name attribute
bb20e5e8gen_ai.agent.nameChild span (gen_ai.execute_tool, id: bb20e5e8) should have gen_ai.agent.name attribute
a8c9ea74gen_ai.agent.nameChild span (gen_ai.chat, id: a8c9ea74) should have gen_ai.agent.name attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(1 span) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
{}Captured Spans (11)
[
  {
    "trace_id": "69a8a9c2ba2f41e18d23e24bac8dd3a9",
    "span_id": "9b41262cb2e34ecc",
    "parent_span_id": "bc2d624f587b15ea",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:24:30.290403Z",
    "timestamp": "2026-05-19T07:24:30.295898Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12244
    },
    "data": {
      "thread.id": "140595419585408",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "69a8a9c2ba2f41e18d23e24bac8dd3a9",
    "span_id": "bf192c748f8a7796",
    "parent_span_id": "bc2d624f587b15ea",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:30.296034Z",
    "timestamp": "2026-05-19T07:24:30.296198Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12244
    },
    "data": {
      "thread.id": "140595419585408",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "69a8a9c2ba2f41e18d23e24bac8dd3a9",
    "span_id": "a0b05f1bd0d513d3",
    "parent_span_id": "bf192c748f8a7796",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:30.296153Z",
    "timestamp": "2026-05-19T07:24:30.296190Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12244
    },
    "data": {
      "thread.id": "140595419585408",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "69a8a9c2ba2f41e18d23e24bac8dd3a9",
    "span_id": "b7cc0fba54a12f3d",
    "parent_span_id": "bc2d624f587b15ea",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:30.296234Z",
    "timestamp": "2026-05-19T07:24:30.296247Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12244
    },
    "data": {
      "thread.id": "140595419585408",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "69a8a9c2ba2f41e18d23e24bac8dd3a9",
    "span_id": "81d106285def0b20",
    "parent_span_id": "bc2d624f587b15ea",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:30.300072Z",
    "timestamp": "2026-05-19T07:24:56.725406Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140595419585408",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 45,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-agent-test-sync-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "69a8a9c2ba2f41e18d23e24bac8dd3a9",
    "span_id": "b98d252cc4cc824e",
    "parent_span_id": "a8c9ea740e22864f",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:56.778637Z",
    "timestamp": "2026-05-19T07:24:57.466501Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140595419585408",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 45,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-agent-test-sync-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "8cca2fe40e994216",
    "trace_id": "69a8a9c2ba2f41e18d23e24bac8dd3a9",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input Agent Test",
    "start_timestamp": "2026-05-19T07:24:30.267747Z",
    "timestamp": "2026-05-19T07:24:57.476555Z",
    "data": {
      "thread.id": "140595419585408",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b344f08b60cb85c6",
    "trace_id": "69a8a9c2ba2f41e18d23e24bac8dd3a9",
    "parent_span_id": "8cca2fe40e994216",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent summarizer_assistant",
    "start_timestamp": 1779175470.271212,
    "timestamp": 1779175497.476481,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.langgraph",
      "thread.id": "140595419585408",
      "thread.name": "MainThread",
      "gen_ai.pipeline.name": "summarizer_assistant",
      "gen_ai.agent.name": "summarizer_assistant",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Please summarize the following text in one sentence. You may use the get_word_count tool first if needed: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \", \"response_metadata\": {}}]",
      "gen_ai.usage.input_tokens": 12246,
      "gen_ai.usage.output_tokens": 1313,
      "gen_ai.usage.total_tokens": 13559,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.text": "The text consists of a repeated message designed to create a long input, totaling 2400 words.",
      "gen_ai.response.tool_calls": "[{\"name\": \"get_word_count\", \"args\": {\"text\": \"This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input.\"}, \"id\": \"call_dQLI3DU8FGT2gJyeZ9OYRmZK\", \"type\": \"tool_call\"}]",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input Agent Test",
      "sentry.segment.id": "8cca2fe40e994216",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "bc2d624f587b15ea",
    "trace_id": "69a8a9c2ba2f41e18d23e24bac8dd3a9",
    "parent_span_id": "b344f08b60cb85c6",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175470.279058,
    "timestamp": 1779175496.753527,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140595419585408",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system": "openai-chat",
      "gen_ai.request.available_tools": "[{\"name\": \"get_word_count\", \"description\": \"Count the number of words in a text\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Please summarize the following text in one sentence. You may use the get_word_count tool first if needed: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.finish_reasons": [
        "tool_calls"
      ],
      "gen_ai.response.tool_calls": "[{\"name\": \"get_word_count\", \"args\": {\"text\": \"This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input.\"}, \"id\": \"call_dQLI3DU8FGT2gJyeZ9OYRmZK\", \"type\": \"tool_call\"}]",
      "gen_ai.response.text": "",
      "gen_ai.usage.input_tokens": 5469,
      "gen_ai.usage.output_tokens": 1292,
      "gen_ai.usage.total_tokens": 6761,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input Agent Test",
      "sentry.segment.id": "8cca2fe40e994216",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "bb20e5e87a0a2d71",
    "trace_id": "69a8a9c2ba2f41e18d23e24bac8dd3a9",
    "parent_span_id": "b344f08b60cb85c6",
    "op": "gen_ai.execute_tool",
    "description": "execute_tool get_word_count",
    "start_timestamp": 1779175496.763675,
    "timestamp": 1779175496.764513,
    "data": {
      "sentry.op": "gen_ai.execute_tool",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140595304601280",
      "thread.name": "ThreadPoolExecutor-2_0",
      "gen_ai.operation.name": "execute_tool",
      "gen_ai.tool.name": "get_word_count",
      "gen_ai.tool.description": "Count the number of words in a text",
      "gen_ai.tool.input": "{\"text\": \"This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input.\"}",
      "gen_ai.tool.output": "{\"content\": \"2400\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"tool\", \"name\": \"get_word_count\", \"id\": \"None\", \"tool_call_id\": \"call_dQLI3DU8FGT2gJyeZ9OYRmZK\", \"artifact\": \"None\", \"status\": \"success\"}",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input Agent Test",
      "sentry.segment.id": "8cca2fe40e994216",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a8c9ea740e22864f",
    "trace_id": "69a8a9c2ba2f41e18d23e24bac8dd3a9",
    "parent_span_id": "b344f08b60cb85c6",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175496.768839,
    "timestamp": 1779175497.467684,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140595419585408",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system": "openai-chat",
      "gen_ai.request.available_tools": "[{\"name\": \"get_word_count\", \"description\": \"Count the number of words in a text\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Please summarize the following text in one sentence. You may use the get_word_count tool first if needed: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}, {\"role\": \"assistant\", \"content\": \"\", \"refusal\": \"None\"}, {\"role\": \"tool\", \"content\": \"2400\"}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "The text consists of a repeated message designed to create a long input, totaling 2400 words.",
      "gen_ai.usage.input_tokens": 6777,
      "gen_ai.usage.output_tokens": 21,
      "gen_ai.usage.total_tokens": 6798,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input Agent Test",
      "sentry.segment.id": "8cca2fe40e994216",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langgraph :: Long Input Agent Test (sync, anthropic)❗︎ 238861ms
checkAgentSpanAttributes
checkChatSpanAttributes
873bb35egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
873bb35egen_ai.output.messagesMissing output messages attribute
9c73485cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9c73485cgen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
873bb35egen_ai.agent.nameChild span (gen_ai.chat, id: 873bb35e) should have gen_ai.agent.name attribute
93ba098agen_ai.agent.nameChild span (gen_ai.execute_tool, id: 93ba098a) should have gen_ai.agent.name attribute
9c73485cgen_ai.agent.nameChild span (gen_ai.chat, id: 9c73485c) should have gen_ai.agent.name attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(1 span) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
{}Captured Spans (11)
[
  {
    "trace_id": "d0765cafac0442d3b320be4b3d63d5ce",
    "span_id": "919828814d365b39",
    "parent_span_id": "873bb35ecb235580",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:24:30.280643Z",
    "timestamp": "2026-05-19T07:24:30.288273Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12243
    },
    "data": {
      "thread.id": "140433421474688",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "d0765cafac0442d3b320be4b3d63d5ce",
    "span_id": "821fdff0d5e630fb",
    "parent_span_id": "873bb35ecb235580",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:30.288407Z",
    "timestamp": "2026-05-19T07:24:30.288719Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12243
    },
    "data": {
      "thread.id": "140433421474688",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "d0765cafac0442d3b320be4b3d63d5ce",
    "span_id": "89c5fd539dcf7b03",
    "parent_span_id": "821fdff0d5e630fb",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:30.288523Z",
    "timestamp": "2026-05-19T07:24:30.288709Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12243
    },
    "data": {
      "thread.id": "140433421474688",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "d0765cafac0442d3b320be4b3d63d5ce",
    "span_id": "abb15126ebb29fb5",
    "parent_span_id": "873bb35ecb235580",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:30.288764Z",
    "timestamp": "2026-05-19T07:24:30.288782Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12243
    },
    "data": {
      "thread.id": "140433421474688",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "d0765cafac0442d3b320be4b3d63d5ce",
    "span_id": "bf79497191535954",
    "parent_span_id": "873bb35ecb235580",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:24:30.290569Z",
    "timestamp": "2026-05-19T07:24:53.769833Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140433421474688",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 45,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-agent-test-sync-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "d0765cafac0442d3b320be4b3d63d5ce",
    "span_id": "82f35b1cfb09141a",
    "parent_span_id": "9c73485c593a0437",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:24:53.868257Z",
    "timestamp": "2026-05-19T07:24:58.319105Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140433421474688",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 45,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-agent-test-sync-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "949e849984eeb734",
    "trace_id": "d0765cafac0442d3b320be4b3d63d5ce",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input Agent Test",
    "start_timestamp": "2026-05-19T07:24:30.179763Z",
    "timestamp": "2026-05-19T07:24:58.324343Z",
    "data": {
      "thread.id": "140433421474688",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "82a07f9fa3f033ee",
    "trace_id": "d0765cafac0442d3b320be4b3d63d5ce",
    "parent_span_id": "949e849984eeb734",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent summarizer_assistant",
    "start_timestamp": 1779175470.180693,
    "timestamp": 1779175498.324272,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.langgraph",
      "thread.id": "140433421474688",
      "thread.name": "MainThread",
      "gen_ai.pipeline.name": "summarizer_assistant",
      "gen_ai.agent.name": "summarizer_assistant",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Please summarize the following text in one sentence. You may use the get_word_count tool first if needed: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \", \"response_metadata\": {}}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "**Summary:** The text consists of a single sentence repeated 120 times containing 2,400 words total, stating that \"a test message will be repeated many times to create a very long input.\"",
      "gen_ai.response.tool_calls": "[{\"name\": \"get_word_count\", \"args\": {\"text\": \"This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input.\"}, \"id\": \"toolu_01MsN8AQicgau82CaALFbBgZ\", \"type\": \"tool_call\"}]",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input Agent Test",
      "sentry.segment.id": "949e849984eeb734",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "873bb35ecb235580",
    "trace_id": "d0765cafac0442d3b320be4b3d63d5ce",
    "parent_span_id": "82a07f9fa3f033ee",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175470.188271,
    "timestamp": 1779175493.839716,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140433421474688",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.request.available_tools": "[{\"name\": \"get_word_count\", \"description\": \"Count the number of words in a text\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Please summarize the following text in one sentence. You may use the get_word_count tool first if needed: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.tool_calls": "[{\"name\": \"get_word_count\", \"args\": {\"text\": \"This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input.\"}, \"id\": \"toolu_01MsN8AQicgau82CaALFbBgZ\", \"type\": \"tool_call\"}]",
      "gen_ai.response.text": "I'll use the word count tool to check the length of this text first.",
      "gen_ai.usage.input_tokens": 5981,
      "gen_ai.usage.output_tokens": 6676,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input Agent Test",
      "sentry.segment.id": "949e849984eeb734",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "93ba098a65202994",
    "trace_id": "d0765cafac0442d3b320be4b3d63d5ce",
    "parent_span_id": "82a07f9fa3f033ee",
    "op": "gen_ai.execute_tool",
    "description": "execute_tool get_word_count",
    "start_timestamp": 1779175493.845687,
    "timestamp": 1779175493.846578,
    "data": {
      "sentry.op": "gen_ai.execute_tool",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140433304839872",
      "thread.name": "ThreadPoolExecutor-2_0",
      "gen_ai.operation.name": "execute_tool",
      "gen_ai.tool.name": "get_word_count",
      "gen_ai.tool.description": "Count the number of words in a text",
      "gen_ai.tool.input": "{\"text\": \"This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input.\"}",
      "gen_ai.tool.output": "{\"content\": \"2400\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"tool\", \"name\": \"get_word_count\", \"id\": \"None\", \"tool_call_id\": \"toolu_01MsN8AQicgau82CaALFbBgZ\", \"artifact\": \"None\", \"status\": \"success\"}",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input Agent Test",
      "sentry.segment.id": "949e849984eeb734",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9c73485c593a0437",
    "trace_id": "d0765cafac0442d3b320be4b3d63d5ce",
    "parent_span_id": "82a07f9fa3f033ee",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175493.850768,
    "timestamp": 1779175498.320211,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140433421474688",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.request.available_tools": "[{\"name\": \"get_word_count\", \"description\": \"Count the number of words in a text\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Please summarize the following text in one sentence. You may use the get_word_count tool first if needed: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}, {\"role\": \"assistant\", \"content\": [{\"text\": \"I'll use the word count tool to check the length of this text first.\", \"type\": \"text\"}, {\"id\": \"toolu_01MsN8AQicgau82CaALFbBgZ\", \"caller\": {\"type\": \"direct\"}, \"input\": {\"text\": \"This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input.\"}, \"name\": \"get_word_count\", \"type\": \"tool_use\"}]}, {\"role\": \"tool\", \"content\": \"2400\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "**Summary:** The text consists of a single sentence repeated 120 times containing 2,400 words total, stating that \"a test message will be repeated many times to create a very long input.\"",
      "gen_ai.usage.input_tokens": 12671,
      "gen_ai.usage.output_tokens": 45,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input Agent Test",
      "sentry.segment.id": "949e849984eeb734",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langgraph :: Long Input Agent Test (async, openai)❗︎ 216607ms
checkAgentSpanAttributes
checkChatSpanAttributes
b9715b9dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b9715b9dgen_ai.output.messagesMissing output messages attribute
a58ebab7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a58ebab7gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
b9715b9dgen_ai.agent.nameChild span (gen_ai.chat, id: b9715b9d) should have gen_ai.agent.name attribute
885e25e4gen_ai.agent.nameChild span (gen_ai.execute_tool, id: 885e25e4) should have gen_ai.agent.name attribute
a58ebab7gen_ai.agent.nameChild span (gen_ai.chat, id: a58ebab7) should have gen_ai.agent.name attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(1 span) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
{}Captured Spans (11)
[
  {
    "trace_id": "20f6656ea8074ec78b8027964e864d05",
    "span_id": "93160952a6c3c27d",
    "parent_span_id": "b9715b9d96e4189e",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:24:31.666456Z",
    "timestamp": "2026-05-19T07:24:31.674038Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12265
    },
    "data": {
      "thread.id": "140549941106368",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "20f6656ea8074ec78b8027964e864d05",
    "span_id": "a76f087ad37604b9",
    "parent_span_id": "b9715b9d96e4189e",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:31.674189Z",
    "timestamp": "2026-05-19T07:24:31.678351Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12265
    },
    "data": {
      "thread.id": "140549941106368",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "20f6656ea8074ec78b8027964e864d05",
    "span_id": "84e208eb1ce4e64c",
    "parent_span_id": "a76f087ad37604b9",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:31.674310Z",
    "timestamp": "2026-05-19T07:24:31.678327Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12265
    },
    "data": {
      "thread.id": "140549941106368",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "20f6656ea8074ec78b8027964e864d05",
    "span_id": "a9dcea5098e70ccf",
    "parent_span_id": "b9715b9d96e4189e",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:31.678445Z",
    "timestamp": "2026-05-19T07:24:31.678594Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12265
    },
    "data": {
      "thread.id": "140549941106368",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "20f6656ea8074ec78b8027964e864d05",
    "span_id": "99caecdd10b0176c",
    "parent_span_id": "b9715b9d96e4189e",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:31.682319Z",
    "timestamp": "2026-05-19T07:24:35.962338Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140550056139648",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 56,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-agent-test-async-openai.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "20f6656ea8074ec78b8027964e864d05",
    "span_id": "bba88f9c5ee055ff",
    "parent_span_id": "a58ebab73a34dad4",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:36.010178Z",
    "timestamp": "2026-05-19T07:24:37.634796Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140550056139648",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 56,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-agent-test-async-openai.py",
      "code.function": "<module>"
    }
  },
  {
    "span_id": "a8cb97ad0690484f",
    "trace_id": "20f6656ea8074ec78b8027964e864d05",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input Agent Test",
    "start_timestamp": "2026-05-19T07:24:31.653127Z",
    "timestamp": "2026-05-19T07:24:37.644544Z",
    "data": {
      "thread.id": "140550056139648",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "9df1917c79abba77",
    "trace_id": "20f6656ea8074ec78b8027964e864d05",
    "parent_span_id": "a8cb97ad0690484f",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent summarizer_assistant",
    "start_timestamp": 1779175471.654387,
    "timestamp": 1779175477.643351,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.langgraph",
      "thread.id": "140550056139648",
      "thread.name": "MainThread",
      "gen_ai.pipeline.name": "summarizer_assistant",
      "gen_ai.agent.name": "summarizer_assistant",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Please summarize the following text in one sentence. You may use the get_word_count tool first if needed: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \", \"response_metadata\": {}}]",
      "gen_ai.usage.input_tokens": 11158,
      "gen_ai.usage.output_tokens": 220,
      "gen_ai.usage.total_tokens": 11378,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.text": "The provided text consists of repeated test messages aimed at creating a long input.",
      "gen_ai.response.tool_calls": "[{\"name\": \"get_word_count\", \"args\": {\"text\": \"This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be r...\"}, \"id\": \"call_Y22NCYSAaoeI9h9jiLgye3VW\", \"type\": \"tool_call\"}]",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input Agent Test",
      "sentry.segment.id": "a8cb97ad0690484f",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b9715b9d96e4189e",
    "trace_id": "20f6656ea8074ec78b8027964e864d05",
    "parent_span_id": "9df1917c79abba77",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175471.66152,
    "timestamp": 1779175475.991135,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140549941106368",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system": "openai-chat",
      "gen_ai.request.available_tools": "[{\"name\": \"get_word_count\", \"description\": \"Count the number of words in a text\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Please summarize the following text in one sentence. You may use the get_word_count tool first if needed: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.finish_reasons": [
        "tool_calls"
      ],
      "gen_ai.response.tool_calls": "[{\"name\": \"get_word_count\", \"args\": {\"text\": \"This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be r...\"}, \"id\": \"call_Y22NCYSAaoeI9h9jiLgye3VW\", \"type\": \"tool_call\"}]",
      "gen_ai.response.text": "",
      "gen_ai.usage.input_tokens": 5469,
      "gen_ai.usage.output_tokens": 204,
      "gen_ai.usage.total_tokens": 5673,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input Agent Test",
      "sentry.segment.id": "a8cb97ad0690484f",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "885e25e4d19e2b99",
    "trace_id": "20f6656ea8074ec78b8027964e864d05",
    "parent_span_id": "9df1917c79abba77",
    "op": "gen_ai.execute_tool",
    "description": "execute_tool get_word_count",
    "start_timestamp": 1779175475.99642,
    "timestamp": 1779175475.997165,
    "data": {
      "sentry.op": "gen_ai.execute_tool",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140549941106368",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "execute_tool",
      "gen_ai.tool.name": "get_word_count",
      "gen_ai.tool.description": "Count the number of words in a text",
      "gen_ai.tool.input": "{\"text\": \"This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be r...\"}",
      "gen_ai.tool.output": "{\"content\": \"2400\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"tool\", \"name\": \"get_word_count\", \"id\": \"None\", \"tool_call_id\": \"call_Y22NCYSAaoeI9h9jiLgye3VW\", \"artifact\": \"None\", \"status\": \"success\"}",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input Agent Test",
      "sentry.segment.id": "a8cb97ad0690484f",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a58ebab73a34dad4",
    "trace_id": "20f6656ea8074ec78b8027964e864d05",
    "parent_span_id": "9df1917c79abba77",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175476.002945,
    "timestamp": 1779175477.639051,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140549941106368",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system": "openai-chat",
      "gen_ai.request.available_tools": "[{\"name\": \"get_word_count\", \"description\": \"Count the number of words in a text\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Please summarize the following text in one sentence. You may use the get_word_count tool first if needed: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}, {\"role\": \"assistant\", \"content\": \"\", \"refusal\": \"None\"}, {\"role\": \"tool\", \"content\": \"2400\"}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "The provided text consists of repeated test messages aimed at creating a long input.",
      "gen_ai.usage.input_tokens": 5689,
      "gen_ai.usage.output_tokens": 16,
      "gen_ai.usage.total_tokens": 5705,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input Agent Test",
      "sentry.segment.id": "a8cb97ad0690484f",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langgraph :: Long Input Agent Test (async, anthropic)❗︎ 239889ms
checkAgentSpanAttributes
checkChatSpanAttributes
9d5a23adgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9d5a23adgen_ai.output.messagesMissing output messages attribute
aa8641ebgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
aa8641ebgen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
9d5a23adgen_ai.agent.nameChild span (gen_ai.chat, id: 9d5a23ad) should have gen_ai.agent.name attribute
838b4e1agen_ai.agent.nameChild span (gen_ai.execute_tool, id: 838b4e1a) should have gen_ai.agent.name attribute
aa8641ebgen_ai.agent.nameChild span (gen_ai.chat, id: aa8641eb) should have gen_ai.agent.name attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(1 span) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
{}Captured Spans (11)
[
  {
    "trace_id": "b1ade3c9afa84f899eff9811114a81b1",
    "span_id": "b8e3aa14368db755",
    "parent_span_id": "9d5a23ade44639bf",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:24:32.564114Z",
    "timestamp": "2026-05-19T07:24:32.566805Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12280
    },
    "data": {
      "thread.id": "140231009363648",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "b1ade3c9afa84f899eff9811114a81b1",
    "span_id": "bdc9d0f810f9fd53",
    "parent_span_id": "9d5a23ade44639bf",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:32.566942Z",
    "timestamp": "2026-05-19T07:24:32.567117Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12280
    },
    "data": {
      "thread.id": "140231009363648",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "b1ade3c9afa84f899eff9811114a81b1",
    "span_id": "b018e6846e9ddd51",
    "parent_span_id": "bdc9d0f810f9fd53",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:32.567062Z",
    "timestamp": "2026-05-19T07:24:32.567106Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12280
    },
    "data": {
      "thread.id": "140231009363648",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "b1ade3c9afa84f899eff9811114a81b1",
    "span_id": "adac5f63d8565272",
    "parent_span_id": "9d5a23ade44639bf",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:32.567158Z",
    "timestamp": "2026-05-19T07:24:32.567177Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12280
    },
    "data": {
      "thread.id": "140231009363648",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "b1ade3c9afa84f899eff9811114a81b1",
    "span_id": "be9eb0e9be54bfb2",
    "parent_span_id": "9d5a23ade44639bf",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:24:32.569288Z",
    "timestamp": "2026-05-19T07:24:57.630507Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140231125601152",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 56,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-agent-test-async-anthropic.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "b1ade3c9afa84f899eff9811114a81b1",
    "span_id": "be161183838b5cfe",
    "parent_span_id": "aa8641eb88e3530a",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:24:57.766052Z",
    "timestamp": "2026-05-19T07:24:59.586577Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140231125601152",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 56,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-agent-test-async-anthropic.py",
      "code.function": "<module>"
    }
  },
  {
    "span_id": "970745e30515ffd2",
    "trace_id": "b1ade3c9afa84f899eff9811114a81b1",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input Agent Test",
    "start_timestamp": "2026-05-19T07:24:32.516343Z",
    "timestamp": "2026-05-19T07:24:59.614702Z",
    "data": {
      "thread.id": "140231125601152",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "93ac8db92b3340d5",
    "trace_id": "b1ade3c9afa84f899eff9811114a81b1",
    "parent_span_id": "970745e30515ffd2",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent summarizer_assistant",
    "start_timestamp": 1779175472.517637,
    "timestamp": 1779175499.604502,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.langgraph",
      "thread.id": "140231125601152",
      "thread.name": "MainThread",
      "gen_ai.pipeline.name": "summarizer_assistant",
      "gen_ai.agent.name": "summarizer_assistant",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Please summarize the following text in one sentence. You may use the get_word_count tool first if needed: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \", \"response_metadata\": {}}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "**Summary:** The text consists of 2,400 words that repetitively state \"This is a test message that will be repeated many times to create a very long input.\"",
      "gen_ai.response.tool_calls": "[{\"name\": \"get_word_count\", \"args\": {\"text\": \"This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input.\"}, \"id\": \"toolu_01MUX9ibo4S4qzrX5RUrjTud\", \"type\": \"tool_call\"}]",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input Agent Test",
      "sentry.segment.id": "970745e30515ffd2",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9d5a23ade44639bf",
    "trace_id": "b1ade3c9afa84f899eff9811114a81b1",
    "parent_span_id": "93ac8db92b3340d5",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175472.524559,
    "timestamp": 1779175497.73684,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140231009363648",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.request.available_tools": "[{\"name\": \"get_word_count\", \"description\": \"Count the number of words in a text\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Please summarize the following text in one sentence. You may use the get_word_count tool first if needed: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.tool_calls": "[{\"name\": \"get_word_count\", \"args\": {\"text\": \"This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input.\"}, \"id\": \"toolu_01MUX9ibo4S4qzrX5RUrjTud\", \"type\": \"tool_call\"}]",
      "gen_ai.response.text": "",
      "gen_ai.usage.input_tokens": 5981,
      "gen_ai.usage.output_tokens": 7326,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input Agent Test",
      "sentry.segment.id": "970745e30515ffd2",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "838b4e1a8875c890",
    "trace_id": "b1ade3c9afa84f899eff9811114a81b1",
    "parent_span_id": "93ac8db92b3340d5",
    "op": "gen_ai.execute_tool",
    "description": "execute_tool get_word_count",
    "start_timestamp": 1779175497.74405,
    "timestamp": 1779175497.744894,
    "data": {
      "sentry.op": "gen_ai.execute_tool",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140231009363648",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "execute_tool",
      "gen_ai.tool.name": "get_word_count",
      "gen_ai.tool.description": "Count the number of words in a text",
      "gen_ai.tool.input": "{\"text\": \"This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input.\"}",
      "gen_ai.tool.output": "{\"content\": \"2400\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"tool\", \"name\": \"get_word_count\", \"id\": \"None\", \"tool_call_id\": \"toolu_01MUX9ibo4S4qzrX5RUrjTud\", \"artifact\": \"None\", \"status\": \"success\"}",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input Agent Test",
      "sentry.segment.id": "970745e30515ffd2",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "aa8641eb88e3530a",
    "trace_id": "b1ade3c9afa84f899eff9811114a81b1",
    "parent_span_id": "93ac8db92b3340d5",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175497.75522,
    "timestamp": 1779175499.595514,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140231009363648",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.request.available_tools": "[{\"name\": \"get_word_count\", \"description\": \"Count the number of words in a text\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Please summarize the following text in one sentence. You may use the get_word_count tool first if needed: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}, {\"role\": \"assistant\", \"content\": [{\"id\": \"toolu_01MUX9ibo4S4qzrX5RUrjTud\", \"caller\": {\"type\": \"direct\"}, \"input\": {\"text\": \"This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input.\"}, \"name\": \"get_word_count\", \"type\": \"tool_use\"}]}, {\"role\": \"tool\", \"content\": \"2400\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "**Summary:** The text consists of 2,400 words that repetitively state \"This is a test message that will be repeated many times to create a very long input.\"",
      "gen_ai.usage.input_tokens": 13321,
      "gen_ai.usage.output_tokens": 40,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input Agent Test",
      "sentry.segment.id": "970745e30515ffd2",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langgraph :: Conversation ID Agent Test (sync, openai)❗︎ 213232ms
checkAgentSpanAttributes
checkChatSpanAttributes
a2759691gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a2759691gen_ai.output.messagesMissing output messages attribute
90f05374gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
90f05374gen_ai.output.messagesMissing output messages attribute
9bd665b6gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9bd665b6gen_ai.output.messagesMissing output messages attribute
9c285c46gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9c285c46gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
a2759691gen_ai.agent.nameChild span (gen_ai.chat, id: a2759691) should have gen_ai.agent.name attribute
90f05374gen_ai.agent.nameChild span (gen_ai.chat, id: 90f05374) should have gen_ai.agent.name attribute
9bd665b6gen_ai.agent.nameChild span (gen_ai.chat, id: 9bd665b6) should have gen_ai.agent.name attribute
9c285c46gen_ai.agent.nameChild span (gen_ai.chat, id: 9c285c46) should have gen_ai.agent.name attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(8 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(8 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (17)
[
  {
    "trace_id": "8cc6671cb5b6431cb6e770526e7b1da7",
    "span_id": "b883ea1159a89252",
    "parent_span_id": "a2759691554503b1",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:24:32.422282Z",
    "timestamp": "2026-05-19T07:24:32.424775Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12277
    },
    "data": {
      "thread.id": "140311906270080",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "8cc6671cb5b6431cb6e770526e7b1da7",
    "span_id": "8564b0943a3cca21",
    "parent_span_id": "a2759691554503b1",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:32.424914Z",
    "timestamp": "2026-05-19T07:24:32.425072Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12277
    },
    "data": {
      "thread.id": "140311906270080",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "8cc6671cb5b6431cb6e770526e7b1da7",
    "span_id": "b02d6d914f823d2c",
    "parent_span_id": "8564b0943a3cca21",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:32.425025Z",
    "timestamp": "2026-05-19T07:24:32.425063Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12277
    },
    "data": {
      "thread.id": "140311906270080",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "8cc6671cb5b6431cb6e770526e7b1da7",
    "span_id": "8d80bd0b2865c01e",
    "parent_span_id": "a2759691554503b1",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:32.425109Z",
    "timestamp": "2026-05-19T07:24:32.425122Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12277
    },
    "data": {
      "thread.id": "140311906270080",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "8cc6671cb5b6431cb6e770526e7b1da7",
    "span_id": "84a4489977d854cf",
    "parent_span_id": "a2759691554503b1",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:32.426589Z",
    "timestamp": "2026-05-19T07:24:33.019555Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140311906270080",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 41,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-agent-test-sync-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "8cc6671cb5b6431cb6e770526e7b1da7",
    "span_id": "aea30cf5681b57d9",
    "parent_span_id": "90f053742d24c46e",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:33.065757Z",
    "timestamp": "2026-05-19T07:24:33.729659Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140311906270080",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 55,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-agent-test-sync-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "8cc6671cb5b6431cb6e770526e7b1da7",
    "span_id": "ae47d8e2728afe95",
    "parent_span_id": "9bd665b6d5c476a2",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:33.735173Z",
    "timestamp": "2026-05-19T07:24:34.777005Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140311906270080",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 69,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-agent-test-sync-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "8cc6671cb5b6431cb6e770526e7b1da7",
    "span_id": "9fd528e1f8913d93",
    "parent_span_id": "9c285c465deeaab5",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:34.789719Z",
    "timestamp": "2026-05-19T07:24:35.330046Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140311906270080",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 83,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-agent-test-sync-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "874923681a3a3374",
    "trace_id": "8cc6671cb5b6431cb6e770526e7b1da7",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID Agent Test",
    "start_timestamp": "2026-05-19T07:24:32.411855Z",
    "timestamp": "2026-05-19T07:24:35.331771Z",
    "data": {
      "thread.id": "140311906270080",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b2d86c4058099353",
    "trace_id": "8cc6671cb5b6431cb6e770526e7b1da7",
    "parent_span_id": "874923681a3a3374",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175472.412656,
    "timestamp": 1779175473.055705,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.langgraph",
      "thread.id": "140311906270080",
      "thread.name": "MainThread",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\", \"response_metadata\": {}}]",
      "gen_ai.usage.input_tokens": 14,
      "gen_ai.usage.output_tokens": 7,
      "gen_ai.usage.total_tokens": 21,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "874923681a3a3374",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a2759691554503b1",
    "trace_id": "8cc6671cb5b6431cb6e770526e7b1da7",
    "parent_span_id": "b2d86c4058099353",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175472.417357,
    "timestamp": 1779175473.048662,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140311906270080",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system": "openai-chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.usage.input_tokens": 14,
      "gen_ai.usage.output_tokens": 7,
      "gen_ai.usage.total_tokens": 21,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "874923681a3a3374",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b58f0ec60a70fdfa",
    "trace_id": "8cc6671cb5b6431cb6e770526e7b1da7",
    "parent_span_id": "874923681a3a3374",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175473.055859,
    "timestamp": 1779175473.731466,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.langgraph",
      "thread.id": "140311906270080",
      "thread.name": "MainThread",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\", \"response_metadata\": {}}]",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.text": "2 + 2 equals 4.",
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "874923681a3a3374",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "90f053742d24c46e",
    "trace_id": "8cc6671cb5b6431cb6e770526e7b1da7",
    "parent_span_id": "b58f0ec60a70fdfa",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175473.057635,
    "timestamp": 1779175473.730816,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140311906270080",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system": "openai-chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "2 + 2 equals 4.",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "874923681a3a3374",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8fe6f9af3adc64d8",
    "trace_id": "8cc6671cb5b6431cb6e770526e7b1da7",
    "parent_span_id": "874923681a3a3374",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175473.731581,
    "timestamp": 1779175474.778619,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.langgraph",
      "thread.id": "140311906270080",
      "thread.name": "MainThread",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What about Germany?\", \"response_metadata\": {}}]",
      "gen_ai.usage.input_tokens": 11,
      "gen_ai.usage.output_tokens": 44,
      "gen_ai.usage.total_tokens": 55,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.text": "Could you please specify what aspect of Germany you're interested in? There are many topics to discuss, such as its history, culture, economy, geography, politics, or current events. Let me know what you're looking for!",
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "874923681a3a3374",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9bd665b6d5c476a2",
    "trace_id": "8cc6671cb5b6431cb6e770526e7b1da7",
    "parent_span_id": "8fe6f9af3adc64d8",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175473.733302,
    "timestamp": 1779175474.778032,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140311906270080",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system": "openai-chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "Could you please specify what aspect of Germany you're interested in? There are many topics to discuss, such as its history, culture, economy, geography, politics, or current events. Let me know what you're looking for!",
      "gen_ai.usage.input_tokens": 11,
      "gen_ai.usage.output_tokens": 44,
      "gen_ai.usage.total_tokens": 55,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "874923681a3a3374",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9e3aba281a37d21d",
    "trace_id": "8cc6671cb5b6431cb6e770526e7b1da7",
    "parent_span_id": "874923681a3a3374",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175474.778727,
    "timestamp": 1779175475.331712,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.langgraph",
      "thread.id": "140311906270080",
      "thread.name": "MainThread",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What about 3 + 3?\", \"response_metadata\": {}}]",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.text": "3 + 3 equals 6.",
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "874923681a3a3374",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9c285c465deeaab5",
    "trace_id": "8cc6671cb5b6431cb6e770526e7b1da7",
    "parent_span_id": "9e3aba281a37d21d",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175474.784707,
    "timestamp": 1779175475.331113,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140311906270080",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system": "openai-chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "3 + 3 equals 6.",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "874923681a3a3374",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langgraph :: Conversation ID Agent Test (sync, anthropic)❗︎ 2 112832ms
checkAgentSpanAttributes
checkChatSpanAttributes
8d3f6abbgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8d3f6abbgen_ai.output.messagesMissing output messages attribute
b120b8a3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b120b8a3gen_ai.output.messagesMissing output messages attribute
ae10bb59gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ae10bb59gen_ai.output.messagesMissing output messages attribute
acb802f0gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
acb802f0gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
8d3f6abbgen_ai.agent.nameChild span (gen_ai.chat, id: 8d3f6abb) should have gen_ai.agent.name attribute
b120b8a3gen_ai.agent.nameChild span (gen_ai.chat, id: b120b8a3) should have gen_ai.agent.name attribute
ae10bb59gen_ai.agent.nameChild span (gen_ai.chat, id: ae10bb59) should have gen_ai.agent.name attribute
acb802f0gen_ai.agent.nameChild span (gen_ai.chat, id: acb802f0) should have gen_ai.agent.name attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
bb8eb46bgen_ai.usage.input_tokensinput_tokens must exist
bb8eb46bgen_ai.usage.output_tokensoutput_tokens must exist
bb8eb46bgen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(8 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(8 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (17)
[
  {
    "trace_id": "0df6a43fcd884ea2bbc1a00952b0bb75",
    "span_id": "82576edfb57e89ba",
    "parent_span_id": "8d3f6abbd4a1d968",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:24:33.470170Z",
    "timestamp": "2026-05-19T07:24:33.472728Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12299
    },
    "data": {
      "thread.id": "139817221815168",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "0df6a43fcd884ea2bbc1a00952b0bb75",
    "span_id": "b758666775e8b6c1",
    "parent_span_id": "8d3f6abbd4a1d968",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:33.472850Z",
    "timestamp": "2026-05-19T07:24:33.473032Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12299
    },
    "data": {
      "thread.id": "139817221815168",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "0df6a43fcd884ea2bbc1a00952b0bb75",
    "span_id": "bf8198e76960330d",
    "parent_span_id": "b758666775e8b6c1",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:33.472982Z",
    "timestamp": "2026-05-19T07:24:33.473021Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12299
    },
    "data": {
      "thread.id": "139817221815168",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "0df6a43fcd884ea2bbc1a00952b0bb75",
    "span_id": "83f62b60d5e1f676",
    "parent_span_id": "8d3f6abbd4a1d968",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:33.473070Z",
    "timestamp": "2026-05-19T07:24:33.473083Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12299
    },
    "data": {
      "thread.id": "139817221815168",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "0df6a43fcd884ea2bbc1a00952b0bb75",
    "span_id": "a98aed194f8546c9",
    "parent_span_id": "8d3f6abbd4a1d968",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:24:33.474539Z",
    "timestamp": "2026-05-19T07:24:34.277992Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139817221815168",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 41,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-agent-test-sync-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "0df6a43fcd884ea2bbc1a00952b0bb75",
    "span_id": "a5d4bc5ea9c1b221",
    "parent_span_id": "b120b8a3d422d3b0",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:24:34.390006Z",
    "timestamp": "2026-05-19T07:24:34.993163Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139817221815168",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 55,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-agent-test-sync-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "0df6a43fcd884ea2bbc1a00952b0bb75",
    "span_id": "b3fc4bec7e65a62e",
    "parent_span_id": "ae10bb59819d43cf",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:24:35.005704Z",
    "timestamp": "2026-05-19T07:24:36.335092Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139817221815168",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 69,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-agent-test-sync-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "0df6a43fcd884ea2bbc1a00952b0bb75",
    "span_id": "90113ae7029354a7",
    "parent_span_id": "acb802f0613ca2ce",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:24:36.345027Z",
    "timestamp": "2026-05-19T07:24:37.143369Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139817221815168",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 83,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-agent-test-sync-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "8c923064b9d132e0",
    "trace_id": "0df6a43fcd884ea2bbc1a00952b0bb75",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID Agent Test",
    "start_timestamp": "2026-05-19T07:24:33.432415Z",
    "timestamp": "2026-05-19T07:24:37.144795Z",
    "data": {
      "thread.id": "139817221815168",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "bb8eb46b9866ebca",
    "trace_id": "0df6a43fcd884ea2bbc1a00952b0bb75",
    "parent_span_id": "8c923064b9d132e0",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175473.433201,
    "timestamp": 1779175474.380475,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.langgraph",
      "thread.id": "139817221815168",
      "thread.name": "MainThread",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\", \"response_metadata\": {}}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "8c923064b9d132e0",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8d3f6abbd4a1d968",
    "trace_id": "0df6a43fcd884ea2bbc1a00952b0bb75",
    "parent_span_id": "bb8eb46b9866ebca",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175473.437117,
    "timestamp": 1779175474.379683,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139817221815168",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.usage.input_tokens": 14,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "8c923064b9d132e0",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9965b3403bf3bf4c",
    "trace_id": "0df6a43fcd884ea2bbc1a00952b0bb75",
    "parent_span_id": "8c923064b9d132e0",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175474.38059,
    "timestamp": 1779175474.998983,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.langgraph",
      "thread.id": "139817221815168",
      "thread.name": "MainThread",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\", \"response_metadata\": {}}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "2 + 2 = 4",
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "8c923064b9d132e0",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b120b8a3d422d3b0",
    "trace_id": "0df6a43fcd884ea2bbc1a00952b0bb75",
    "parent_span_id": "9965b3403bf3bf4c",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175474.385422,
    "timestamp": 1779175474.994288,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139817221815168",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "2 + 2 = 4",
      "gen_ai.usage.input_tokens": 16,
      "gen_ai.usage.output_tokens": 13,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "8c923064b9d132e0",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9a9559236350f0e1",
    "trace_id": "0df6a43fcd884ea2bbc1a00952b0bb75",
    "parent_span_id": "8c923064b9d132e0",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175474.999123,
    "timestamp": 1779175476.336738,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.langgraph",
      "thread.id": "139817221815168",
      "thread.name": "MainThread",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What about Germany?\", \"response_metadata\": {}}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "I don't have context for what you're asking about Germany specifically. Could you clarify what you'd like to know? For example, are you interested in:\n\n- Germany's economy or politics\n- History\n- Culture or geography\n- A comparison with another country\n- Something else entirely\n\nWith more details, I can give you a helpful answer!",
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "8c923064b9d132e0",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "ae10bb59819d43cf",
    "trace_id": "0df6a43fcd884ea2bbc1a00952b0bb75",
    "parent_span_id": "9a9559236350f0e1",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175475.001096,
    "timestamp": 1779175476.336145,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139817221815168",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "I don't have context for what you're asking about Germany specifically. Could you clarify what you'd like to know? For example, are you interested in:\n\n- Germany's economy or politics\n- History\n- Culture or geography\n- A comparison with another country\n- Something else entirely\n\nWith more details, I can give you a helpful answer!",
      "gen_ai.usage.input_tokens": 11,
      "gen_ai.usage.output_tokens": 76,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "8c923064b9d132e0",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a18fe9a734c1722b",
    "trace_id": "0df6a43fcd884ea2bbc1a00952b0bb75",
    "parent_span_id": "8c923064b9d132e0",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175476.336863,
    "timestamp": 1779175477.144747,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.langgraph",
      "thread.id": "139817221815168",
      "thread.name": "MainThread",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What about 3 + 3?\", \"response_metadata\": {}}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "3 + 3 = 6",
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "8c923064b9d132e0",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "acb802f0613ca2ce",
    "trace_id": "0df6a43fcd884ea2bbc1a00952b0bb75",
    "parent_span_id": "a18fe9a734c1722b",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175476.343372,
    "timestamp": 1779175477.144252,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139817221815168",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "3 + 3 = 6",
      "gen_ai.usage.input_tokens": 16,
      "gen_ai.usage.output_tokens": 13,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "8c923064b9d132e0",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langgraph :: Conversation ID Agent Test (async, openai)❗︎ 212194ms
checkAgentSpanAttributes
checkChatSpanAttributes
978d2382gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
978d2382gen_ai.output.messagesMissing output messages attribute
92ba9418gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
92ba9418gen_ai.output.messagesMissing output messages attribute
bd68d213gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bd68d213gen_ai.output.messagesMissing output messages attribute
8ad015fagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8ad015fagen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
978d2382gen_ai.agent.nameChild span (gen_ai.chat, id: 978d2382) should have gen_ai.agent.name attribute
92ba9418gen_ai.agent.nameChild span (gen_ai.chat, id: 92ba9418) should have gen_ai.agent.name attribute
bd68d213gen_ai.agent.nameChild span (gen_ai.chat, id: bd68d213) should have gen_ai.agent.name attribute
8ad015fagen_ai.agent.nameChild span (gen_ai.chat, id: 8ad015fa) should have gen_ai.agent.name attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(8 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(8 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (17)
[
  {
    "trace_id": "29a2bb9b8ccb467797a74dfa050c478f",
    "span_id": "b1472c3af6fcceba",
    "parent_span_id": "978d2382d1849cef",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:24:33.538675Z",
    "timestamp": "2026-05-19T07:24:33.539764Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12302
    },
    "data": {
      "thread.id": "139643448579776",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "29a2bb9b8ccb467797a74dfa050c478f",
    "span_id": "8ccb82836d616024",
    "parent_span_id": "978d2382d1849cef",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:33.539849Z",
    "timestamp": "2026-05-19T07:24:33.540651Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12302
    },
    "data": {
      "thread.id": "139643448579776",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "29a2bb9b8ccb467797a74dfa050c478f",
    "span_id": "b8dc13d46b2d1b45",
    "parent_span_id": "8ccb82836d616024",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:33.540553Z",
    "timestamp": "2026-05-19T07:24:33.540641Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12302
    },
    "data": {
      "thread.id": "139643448579776",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "29a2bb9b8ccb467797a74dfa050c478f",
    "span_id": "8c83fc72129e2b2a",
    "parent_span_id": "978d2382d1849cef",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:33.540685Z",
    "timestamp": "2026-05-19T07:24:33.540697Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12302
    },
    "data": {
      "thread.id": "139643448579776",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "29a2bb9b8ccb467797a74dfa050c478f",
    "span_id": "8993dd557eac0865",
    "parent_span_id": "978d2382d1849cef",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:33.541948Z",
    "timestamp": "2026-05-19T07:24:34.145146Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139643564903296",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 94,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-agent-test-async-openai.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "29a2bb9b8ccb467797a74dfa050c478f",
    "span_id": "a2a9f4cb20e10113",
    "parent_span_id": "92ba9418f2f8f392",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:34.180438Z",
    "timestamp": "2026-05-19T07:24:34.975088Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139643564903296",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 94,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-agent-test-async-openai.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "29a2bb9b8ccb467797a74dfa050c478f",
    "span_id": "ba40367fdf950739",
    "parent_span_id": "bd68d2131af7f39f",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:34.988820Z",
    "timestamp": "2026-05-19T07:24:36.080584Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139643564903296",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 94,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-agent-test-async-openai.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "29a2bb9b8ccb467797a74dfa050c478f",
    "span_id": "bbaf0ec05c81c4e1",
    "parent_span_id": "8ad015fa72d1538b",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:36.102113Z",
    "timestamp": "2026-05-19T07:24:36.822850Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139643564903296",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 94,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-agent-test-async-openai.py",
      "code.function": "<module>"
    }
  },
  {
    "span_id": "a2cd037f2e1d38e4",
    "trace_id": "29a2bb9b8ccb467797a74dfa050c478f",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID Agent Test",
    "start_timestamp": "2026-05-19T07:24:33.530434Z",
    "timestamp": "2026-05-19T07:24:36.825928Z",
    "data": {
      "thread.id": "139643564903296",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "945aceb7c3f57496",
    "trace_id": "29a2bb9b8ccb467797a74dfa050c478f",
    "parent_span_id": "a2cd037f2e1d38e4",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175473.531375,
    "timestamp": 1779175474.169356,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.langgraph",
      "thread.id": "139643564903296",
      "thread.name": "MainThread",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\", \"response_metadata\": {}}]",
      "gen_ai.usage.input_tokens": 14,
      "gen_ai.usage.output_tokens": 7,
      "gen_ai.usage.total_tokens": 21,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "a2cd037f2e1d38e4",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "978d2382d1849cef",
    "trace_id": "29a2bb9b8ccb467797a74dfa050c478f",
    "parent_span_id": "945aceb7c3f57496",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175473.535501,
    "timestamp": 1779175474.164956,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139643448579776",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system": "openai-chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.usage.input_tokens": 14,
      "gen_ai.usage.output_tokens": 7,
      "gen_ai.usage.total_tokens": 21,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "a2cd037f2e1d38e4",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b3110587ade4eb7e",
    "trace_id": "29a2bb9b8ccb467797a74dfa050c478f",
    "parent_span_id": "a2cd037f2e1d38e4",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175474.169495,
    "timestamp": 1779175474.981316,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.langgraph",
      "thread.id": "139643564903296",
      "thread.name": "MainThread",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\", \"response_metadata\": {}}]",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.text": "2 + 2 equals 4.",
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "a2cd037f2e1d38e4",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "92ba9418f2f8f392",
    "trace_id": "29a2bb9b8ccb467797a74dfa050c478f",
    "parent_span_id": "b3110587ade4eb7e",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175474.175022,
    "timestamp": 1779175474.97974,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139643448579776",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system": "openai-chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "2 + 2 equals 4.",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "a2cd037f2e1d38e4",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a61bdb3e61e6f852",
    "trace_id": "29a2bb9b8ccb467797a74dfa050c478f",
    "parent_span_id": "a2cd037f2e1d38e4",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175474.981432,
    "timestamp": 1779175476.086042,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.langgraph",
      "thread.id": "139643564903296",
      "thread.name": "MainThread",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What about Germany?\", \"response_metadata\": {}}]",
      "gen_ai.usage.input_tokens": 11,
      "gen_ai.usage.output_tokens": 51,
      "gen_ai.usage.total_tokens": 62,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.text": "Could you please provide more context or specify what aspect of Germany you are interested in? There are many topics to consider, such as its history, culture, economy, politics, geography, or current events. Let me know so I can assist you better!",
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "a2cd037f2e1d38e4",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "bd68d2131af7f39f",
    "trace_id": "29a2bb9b8ccb467797a74dfa050c478f",
    "parent_span_id": "a61bdb3e61e6f852",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175474.986781,
    "timestamp": 1779175476.083396,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139643448579776",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system": "openai-chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "Could you please provide more context or specify what aspect of Germany you are interested in? There are many topics to consider, such as its history, culture, economy, politics, geography, or current events. Let me know so I can assist you better!",
      "gen_ai.usage.input_tokens": 11,
      "gen_ai.usage.output_tokens": 51,
      "gen_ai.usage.total_tokens": 62,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "a2cd037f2e1d38e4",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a38404cef2bdd463",
    "trace_id": "29a2bb9b8ccb467797a74dfa050c478f",
    "parent_span_id": "a2cd037f2e1d38e4",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175476.086157,
    "timestamp": 1779175476.825105,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.langgraph",
      "thread.id": "139643564903296",
      "thread.name": "MainThread",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What about 3 + 3?\", \"response_metadata\": {}}]",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.text": "3 + 3 equals 6.",
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "a2cd037f2e1d38e4",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8ad015fa72d1538b",
    "trace_id": "29a2bb9b8ccb467797a74dfa050c478f",
    "parent_span_id": "a38404cef2bdd463",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175476.091516,
    "timestamp": 1779175476.824075,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139643448579776",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system": "openai-chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "3 + 3 equals 6.",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "a2cd037f2e1d38e4",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langgraph :: Conversation ID Agent Test (async, anthropic)❗︎ 2 111379ms
checkAgentSpanAttributes
checkChatSpanAttributes
9019cf10gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9019cf10gen_ai.output.messagesMissing output messages attribute
ba8316aagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ba8316aagen_ai.output.messagesMissing output messages attribute
be5c70d1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
be5c70d1gen_ai.output.messagesMissing output messages attribute
9b504eb4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9b504eb4gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
9019cf10gen_ai.agent.nameChild span (gen_ai.chat, id: 9019cf10) should have gen_ai.agent.name attribute
ba8316aagen_ai.agent.nameChild span (gen_ai.chat, id: ba8316aa) should have gen_ai.agent.name attribute
be5c70d1gen_ai.agent.nameChild span (gen_ai.chat, id: be5c70d1) should have gen_ai.agent.name attribute
9b504eb4gen_ai.agent.nameChild span (gen_ai.chat, id: 9b504eb4) should have gen_ai.agent.name attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
969a9436gen_ai.usage.input_tokensinput_tokens must exist
969a9436gen_ai.usage.output_tokensoutput_tokens must exist
969a9436gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(8 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(8 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (17)
[
  {
    "trace_id": "120962ac73fa497a8e2899cbf656bd2a",
    "span_id": "843e8aebd2987392",
    "parent_span_id": "9019cf10435f8c93",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:24:34.131917Z",
    "timestamp": "2026-05-19T07:24:34.134559Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12314
    },
    "data": {
      "thread.id": "140515290904256",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "120962ac73fa497a8e2899cbf656bd2a",
    "span_id": "9ba648a2d34e7608",
    "parent_span_id": "9019cf10435f8c93",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:34.134675Z",
    "timestamp": "2026-05-19T07:24:34.134835Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12314
    },
    "data": {
      "thread.id": "140515290904256",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "120962ac73fa497a8e2899cbf656bd2a",
    "span_id": "ae13409874ba7509",
    "parent_span_id": "9ba648a2d34e7608",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:34.134786Z",
    "timestamp": "2026-05-19T07:24:34.134825Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12314
    },
    "data": {
      "thread.id": "140515290904256",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "120962ac73fa497a8e2899cbf656bd2a",
    "span_id": "b341c2f79afeb689",
    "parent_span_id": "9019cf10435f8c93",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:34.134896Z",
    "timestamp": "2026-05-19T07:24:34.134912Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12314
    },
    "data": {
      "thread.id": "140515290904256",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "120962ac73fa497a8e2899cbf656bd2a",
    "span_id": "9ecd854a2e2a7bb8",
    "parent_span_id": "9019cf10435f8c93",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:24:34.136846Z",
    "timestamp": "2026-05-19T07:24:34.739469Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140515478915968",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 94,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-agent-test-async-anthropic.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "120962ac73fa497a8e2899cbf656bd2a",
    "span_id": "944be2cad7d44b63",
    "parent_span_id": "ba8316aae3f019c0",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:24:34.838929Z",
    "timestamp": "2026-05-19T07:24:35.432018Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140515478915968",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 94,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-agent-test-async-anthropic.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "120962ac73fa497a8e2899cbf656bd2a",
    "span_id": "ad4cd51089f0b8a5",
    "parent_span_id": "be5c70d1a27670b1",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:24:35.447929Z",
    "timestamp": "2026-05-19T07:24:36.924390Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140515478915968",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 94,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-agent-test-async-anthropic.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "120962ac73fa497a8e2899cbf656bd2a",
    "span_id": "885711efdc4ace70",
    "parent_span_id": "9b504eb4452f86f2",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:24:36.931226Z",
    "timestamp": "2026-05-19T07:24:37.423888Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140515478915968",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 94,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-agent-test-async-anthropic.py",
      "code.function": "<module>"
    }
  },
  {
    "span_id": "8adda830e5c53e86",
    "trace_id": "120962ac73fa497a8e2899cbf656bd2a",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID Agent Test",
    "start_timestamp": "2026-05-19T07:24:34.091553Z",
    "timestamp": "2026-05-19T07:24:37.427171Z",
    "data": {
      "thread.id": "140515478915968",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "969a94366c4af85a",
    "trace_id": "120962ac73fa497a8e2899cbf656bd2a",
    "parent_span_id": "8adda830e5c53e86",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175474.092913,
    "timestamp": 1779175474.831139,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.langgraph",
      "thread.id": "140515478915968",
      "thread.name": "MainThread",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\", \"response_metadata\": {}}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "8adda830e5c53e86",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9019cf10435f8c93",
    "trace_id": "120962ac73fa497a8e2899cbf656bd2a",
    "parent_span_id": "969a94366c4af85a",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175474.098725,
    "timestamp": 1779175474.828025,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140515290904256",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.usage.input_tokens": 14,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "8adda830e5c53e86",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a8e79e7f438a6e95",
    "trace_id": "120962ac73fa497a8e2899cbf656bd2a",
    "parent_span_id": "8adda830e5c53e86",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175474.831264,
    "timestamp": 1779175475.435225,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.langgraph",
      "thread.id": "140515478915968",
      "thread.name": "MainThread",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\", \"response_metadata\": {}}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "2 + 2 = 4",
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "8adda830e5c53e86",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "ba8316aae3f019c0",
    "trace_id": "120962ac73fa497a8e2899cbf656bd2a",
    "parent_span_id": "a8e79e7f438a6e95",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175474.836895,
    "timestamp": 1779175475.43353,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140515290904256",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "2 + 2 = 4",
      "gen_ai.usage.input_tokens": 16,
      "gen_ai.usage.output_tokens": 13,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "8adda830e5c53e86",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b2c55f57e833d00f",
    "trace_id": "120962ac73fa497a8e2899cbf656bd2a",
    "parent_span_id": "8adda830e5c53e86",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175475.435343,
    "timestamp": 1779175476.927034,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.langgraph",
      "thread.id": "140515478915968",
      "thread.name": "MainThread",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What about Germany?\", \"response_metadata\": {}}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "I don't have context for what you're asking about Germany specifically. Your question seems to be a follow-up, but this is the start of our conversation.\n\nCould you provide more details about what you'd like to know about Germany? For example:\n- Its history, geography, or culture?\n- Current events or politics?\n- Economy or business?\n- A comparison with another country?\n- Something else?\n\nI'm happy to help once I understand what you're looking for!",
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "8adda830e5c53e86",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "be5c70d1a27670b1",
    "trace_id": "120962ac73fa497a8e2899cbf656bd2a",
    "parent_span_id": "b2c55f57e833d00f",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175475.443025,
    "timestamp": 1779175476.925672,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140515290904256",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "I don't have context for what you're asking about Germany specifically. Your question seems to be a follow-up, but this is the start of our conversation.\n\nCould you provide more details about what you'd like to know about Germany? For example:\n- Its history, geography, or culture?\n- Current events or politics?\n- Economy or business?\n- A comparison with another country?\n- Something else?\n\nI'm happy to help once I understand what you're looking for!",
      "gen_ai.usage.input_tokens": 11,
      "gen_ai.usage.output_tokens": 106,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "8adda830e5c53e86",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9f3e831005881318",
    "trace_id": "120962ac73fa497a8e2899cbf656bd2a",
    "parent_span_id": "8adda830e5c53e86",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175476.927137,
    "timestamp": 1779175477.426296,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.langgraph",
      "thread.id": "140515478915968",
      "thread.name": "MainThread",
      "gen_ai.pipeline.name": "helpful_assistant",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What about 3 + 3?\", \"response_metadata\": {}}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "3 + 3 = 6",
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "8adda830e5c53e86",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9b504eb4452f86f2",
    "trace_id": "120962ac73fa497a8e2899cbf656bd2a",
    "parent_span_id": "9f3e831005881318",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175476.929632,
    "timestamp": 1779175477.425106,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140515290904256",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "3 + 3 = 6",
      "gen_ai.usage.input_tokens": 16,
      "gen_ai.usage.output_tokens": 13,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "8adda830e5c53e86",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai-agents :: Basic Agent Test (async)❗︎ 15468ms
checkAgentSpanAttributes
checkChatSpanAttributes
aa8fa6dbgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
aa8fa6dbgen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached
checkOutputTokensReasoning
Deprecated Attributes
gen_ai.request.messages(2 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (9)
[
  {
    "trace_id": "6390e4e07b824192b1b728c62ca2f00c",
    "span_id": "a165bc1f3938f7ae",
    "parent_span_id": "b304bb19d582883f",
    "same_process_as_parent": true,
    "op": null,
    "description": "helpful_assistant workflow",
    "start_timestamp": "2026-05-19T07:24:36.526003Z",
    "timestamp": "2026-05-19T07:24:37.419161Z",
    "origin": "auto.ai.openai_agents",
    "data": {
      "thread.id": "140189127863168",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "6390e4e07b824192b1b728c62ca2f00c",
    "span_id": "9393aeb454673615",
    "parent_span_id": "aa8fa6dbbc99e5f0",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:24:36.567101Z",
    "timestamp": "2026-05-19T07:24:36.568295Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12333
    },
    "data": {
      "thread.id": "140188940498624",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "6390e4e07b824192b1b728c62ca2f00c",
    "span_id": "8a3d7e89bf64895f",
    "parent_span_id": "aa8fa6dbbc99e5f0",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:36.568396Z",
    "timestamp": "2026-05-19T07:24:36.569199Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12333
    },
    "data": {
      "thread.id": "140188940498624",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "6390e4e07b824192b1b728c62ca2f00c",
    "span_id": "80b88c891c8b5836",
    "parent_span_id": "8a3d7e89bf64895f",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:36.569105Z",
    "timestamp": "2026-05-19T07:24:36.569189Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12333
    },
    "data": {
      "thread.id": "140188940498624",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "6390e4e07b824192b1b728c62ca2f00c",
    "span_id": "86cae75c7e4311f3",
    "parent_span_id": "aa8fa6dbbc99e5f0",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:36.569230Z",
    "timestamp": "2026-05-19T07:24:36.569242Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12333
    },
    "data": {
      "thread.id": "140188940498624",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "6390e4e07b824192b1b728c62ca2f00c",
    "span_id": "b7902899c06ac435",
    "parent_span_id": "aa8fa6dbbc99e5f0",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:24:36.570900Z",
    "timestamp": "2026-05-19T07:24:37.233236Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140189127863168",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 42,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-agent-test-async.py",
      "code.function": "<module>"
    }
  },
  {
    "span_id": "b304bb19d582883f",
    "trace_id": "6390e4e07b824192b1b728c62ca2f00c",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic Agent Test",
    "start_timestamp": "2026-05-19T07:24:36.524778Z",
    "timestamp": "2026-05-19T07:24:37.420195Z",
    "data": {
      "thread.id": "140189127863168",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "bf3f5d521cb5af51",
    "trace_id": "6390e4e07b824192b1b728c62ca2f00c",
    "parent_span_id": "a165bc1f3938f7ae",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175476.527481,
    "timestamp": 1779175477.419034,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.openai_agents",
      "thread.id": "140189127863168",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"content\": [{\"text\": \"A helpful assistant that answers questions\", \"type\": \"text\"}], \"role\": \"system\"}, {\"content\": [{\"text\": \"What is the capital of France?\", \"type\": \"text\"}], \"role\": \"user\"}]",
      "gen_ai.system": "openai",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.output_tokens.reasoning": 0,
      "gen_ai.usage.total_tokens": 32,
      "gen_ai.response.text": "The capital of France is Paris.",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic Agent Test",
      "sentry.segment.id": "b304bb19d582883f",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "aa8fa6dbbc99e5f0",
    "trace_id": "6390e4e07b824192b1b728c62ca2f00c",
    "parent_span_id": "bf3f5d521cb5af51",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175476.558066,
    "timestamp": 1779175477.418408,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai_agents",
      "thread.id": "140189127863168",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "openai",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"A helpful assistant that answers questions\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What is the capital of France?\"}]}]",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.output_tokens.reasoning": 0,
      "gen_ai.usage.total_tokens": 32,
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic Agent Test",
      "sentry.segment.id": "b304bb19d582883f",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai-agents :: Tool Call Agent Test (async)❗︎ 18093ms
checkAgentSpanAttributes
checkChatSpanAttributes
a3aced60gen_ai.output.messagesMissing output messages attribute
8aa6c390gen_ai.output.messagesMissing output messages attribute
95847266gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
95847266gen_ai.output.messagesMissing output messages attribute
checkToolSpanAttributes
checkAgentHierarchy
checkValidTokenUsage
checkAvailableTools
checkResponseToolCalls(add, multiply)
checkToolCalls(add, multiply)
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached
checkOutputTokensReasoning
Deprecated Attributes
gen_ai.request.available_tools(6 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(6 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(2 spans) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(2 spans) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
{}Captured Spans (15)
[
  {
    "trace_id": "4287afde6dc24d56b1e01a354170108e",
    "span_id": "81b241fea87242b7",
    "parent_span_id": "916958d74e45eb4f",
    "same_process_as_parent": true,
    "op": null,
    "description": "math_assistant workflow",
    "start_timestamp": "2026-05-19T07:24:36.510722Z",
    "timestamp": "2026-05-19T07:24:40.041814Z",
    "origin": "auto.ai.openai_agents",
    "data": {
      "thread.id": "140349746559872",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "4287afde6dc24d56b1e01a354170108e",
    "span_id": "aa8dad6359df56c6",
    "parent_span_id": "a3aced601479dcd1",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:24:36.539000Z",
    "timestamp": "2026-05-19T07:24:36.540293Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12331
    },
    "data": {
      "thread.id": "140349630637760",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "4287afde6dc24d56b1e01a354170108e",
    "span_id": "bd321649d77286aa",
    "parent_span_id": "a3aced601479dcd1",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:36.540429Z",
    "timestamp": "2026-05-19T07:24:36.541259Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12331
    },
    "data": {
      "thread.id": "140349630637760",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "4287afde6dc24d56b1e01a354170108e",
    "span_id": "9ff5b04d64874e59",
    "parent_span_id": "bd321649d77286aa",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:36.541167Z",
    "timestamp": "2026-05-19T07:24:36.541247Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12331
    },
    "data": {
      "thread.id": "140349630637760",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "4287afde6dc24d56b1e01a354170108e",
    "span_id": "b92d02a0548b9cff",
    "parent_span_id": "a3aced601479dcd1",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:36.541293Z",
    "timestamp": "2026-05-19T07:24:36.541305Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12331
    },
    "data": {
      "thread.id": "140349630637760",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "4287afde6dc24d56b1e01a354170108e",
    "span_id": "a3e740b6bc62de7b",
    "parent_span_id": "a3aced601479dcd1",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:24:36.542709Z",
    "timestamp": "2026-05-19T07:24:37.503598Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140349746559872",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 53,
      "code.namespace": "__main__",
      "code.filepath": "test-tool-call-agent-test-async.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "4287afde6dc24d56b1e01a354170108e",
    "span_id": "ab42ca1ebd515567",
    "parent_span_id": "8aa6c390d524895c",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:24:37.847884Z",
    "timestamp": "2026-05-19T07:24:38.865842Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140349746559872",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 46,
      "code.namespace": "__main__",
      "code.filepath": "test-tool-call-agent-test-async.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "4287afde6dc24d56b1e01a354170108e",
    "span_id": "97061e6c4c54ca6f",
    "parent_span_id": "958472666e10dd72",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:24:38.889653Z",
    "timestamp": "2026-05-19T07:24:40.033506Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140349746559872",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 46,
      "code.namespace": "__main__",
      "code.filepath": "test-tool-call-agent-test-async.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "916958d74e45eb4f",
    "trace_id": "4287afde6dc24d56b1e01a354170108e",
    "parent_span_id": null,
    "op": "test",
    "description": "Tool Call Agent Test",
    "start_timestamp": "2026-05-19T07:24:36.509739Z",
    "timestamp": "2026-05-19T07:24:40.048368Z",
    "data": {
      "thread.id": "140349746559872",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "a952b18b3c65c16c",
    "trace_id": "4287afde6dc24d56b1e01a354170108e",
    "parent_span_id": "81b241fea87242b7",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent math_assistant",
    "start_timestamp": 1779175476.512004,
    "timestamp": 1779175480.04171,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.openai_agents",
      "thread.id": "140349746559872",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"content\": [{\"text\": \"A math assistant that can perform basic arithmetic\", \"type\": \"text\"}], \"role\": \"system\"}, {\"content\": [{\"text\": \"Calculate (3 + 5) * 4. First use the add tool to add 3 and 5, then use the multiply tool to multiply the result by 4.\", \"type\": \"text\"}], \"role\": \"user\"}]",
      "gen_ai.system": "openai",
      "gen_ai.agent.name": "math_assistant",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.available_tools": "[{\"name\": \"add\", \"description\": \"Add two numbers together\", \"params_json_schema\": {\"properties\": {\"a\": {\"title\": \"A\", \"type\": \"string\"}, \"b\": {\"title\": \"B\", \"type\": \"string\"}}, \"required\": [\"a\", \"b\"], \"title\": \"add_args\", \"type\": \"object\", \"additionalProperties\": false}, \"on_invoke_tool\": \"<function agents.tool.function_tool.<locals>._create_function_tool.<locals>._on_invoke_tool>\", \"strict_json_schema\": true, \"is_enabled\": true, \"tool_input_guardrails\": null, \"tool_output_guardrails\": null}, {\"name\": \"multiply\", \"description\": \"Multiply two numbers together\", \"params_json_schema\": {\"properties\": {\"a\": {\"title\": \"A\", \"type\": \"string\"}, \"b\": {\"title\": \"B\", \"type\": \"string\"}}, \"required\": [\"a\", \"b\"], \"title\": \"multiply_args\", \"type\": \"object\", \"additionalProperties\": false}, \"on_invoke_tool\": \"<function agents.tool.function_tool.<locals>._create_function_tool.<locals>._on_invoke_tool>\", \"strict_json_schema\": true, \"is_enabled\": true, \"tool_input_guardrails\": null, \"tool_output_guardrails\": null}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 462,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.output_tokens": 59,
      "gen_ai.usage.output_tokens.reasoning": 0,
      "gen_ai.usage.total_tokens": 521,
      "gen_ai.response.text": "The result of \\((3 + 5) \\times 4\\) is \\(32\\).",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "916958d74e45eb4f",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a3aced601479dcd1",
    "trace_id": "4287afde6dc24d56b1e01a354170108e",
    "parent_span_id": "a952b18b3c65c16c",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175476.530639,
    "timestamp": 1779175477.839642,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai_agents",
      "thread.id": "140349746559872",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "openai",
      "gen_ai.agent.name": "math_assistant",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.available_tools": "[{\"name\": \"add\", \"description\": \"Add two numbers together\", \"params_json_schema\": {\"properties\": {\"a\": {\"title\": \"A\", \"type\": \"string\"}, \"b\": {\"title\": \"B\", \"type\": \"string\"}}, \"required\": [\"a\", \"b\"], \"title\": \"add_args\", \"type\": \"object\", \"additionalProperties\": false}, \"on_invoke_tool\": \"<function agents.tool.function_tool.<locals>._create_function_tool.<locals>._on_invoke_tool>\", \"strict_json_schema\": true, \"is_enabled\": true, \"tool_input_guardrails\": null, \"tool_output_guardrails\": null}, {\"name\": \"multiply\", \"description\": \"Multiply two numbers together\", \"params_json_schema\": {\"properties\": {\"a\": {\"title\": \"A\", \"type\": \"string\"}, \"b\": {\"title\": \"B\", \"type\": \"string\"}}, \"required\": [\"a\", \"b\"], \"title\": \"multiply_args\", \"type\": \"object\", \"additionalProperties\": false}, \"on_invoke_tool\": \"<function agents.tool.function_tool.<locals>._create_function_tool.<locals>._on_invoke_tool>\", \"strict_json_schema\": true, \"is_enabled\": true, \"tool_input_guardrails\": null, \"tool_output_guardrails\": null}]",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"A math assistant that can perform basic arithmetic\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"Calculate (3 + 5) * 4. First use the add tool to add 3 and 5, then use the multiply tool to multiply the result by 4.\"}]}]",
      "gen_ai.usage.input_tokens": 128,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.output_tokens": 18,
      "gen_ai.usage.output_tokens.reasoning": 0,
      "gen_ai.usage.total_tokens": 146,
      "gen_ai.response.tool_calls": "[{\"arguments\": \"{\\\"a\\\":\\\"3\\\",\\\"b\\\":\\\"5\\\"}\", \"call_id\": \"call_TEKBFjU4DLrRiUSqVOEbJsRx\", \"name\": \"add\", \"type\": \"function_call\", \"id\": \"fc_0617c201b6fadfe6006a0c103527c48195bb23fb43941df0c8\", \"namespace\": null, \"status\": \"completed\"}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "916958d74e45eb4f",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "ad62a435b442e13e",
    "trace_id": "4287afde6dc24d56b1e01a354170108e",
    "parent_span_id": "a952b18b3c65c16c",
    "op": "gen_ai.execute_tool",
    "description": "execute_tool add",
    "start_timestamp": 1779175477.840328,
    "timestamp": 1779175477.840537,
    "data": {
      "sentry.op": "gen_ai.execute_tool",
      "sentry.origin": "auto.ai.openai_agents",
      "thread.id": "140349746559872",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "execute_tool",
      "gen_ai.tool.name": "add",
      "gen_ai.tool.description": "Add two numbers together",
      "gen_ai.tool.input": "{\"a\":\"3\",\"b\":\"5\"}",
      "gen_ai.system": "openai",
      "gen_ai.agent.name": "math_assistant",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.available_tools": "[{\"name\": \"add\", \"description\": \"Add two numbers together\", \"params_json_schema\": {\"properties\": {\"a\": {\"title\": \"A\", \"type\": \"string\"}, \"b\": {\"title\": \"B\", \"type\": \"string\"}}, \"required\": [\"a\", \"b\"], \"title\": \"add_args\", \"type\": \"object\", \"additionalProperties\": false}, \"on_invoke_tool\": \"<function agents.tool.function_tool.<locals>._create_function_tool.<locals>._on_invoke_tool>\", \"strict_json_schema\": true, \"is_enabled\": true, \"tool_input_guardrails\": null, \"tool_output_guardrails\": null}, {\"name\": \"multiply\", \"description\": \"Multiply two numbers together\", \"params_json_schema\": {\"properties\": {\"a\": {\"title\": \"A\", \"type\": \"string\"}, \"b\": {\"title\": \"B\", \"type\": \"string\"}}, \"required\": [\"a\", \"b\"], \"title\": \"multiply_args\", \"type\": \"object\", \"additionalProperties\": false}, \"on_invoke_tool\": \"<function agents.tool.function_tool.<locals>._create_function_tool.<locals>._on_invoke_tool>\", \"strict_json_schema\": true, \"is_enabled\": true, \"tool_input_guardrails\": null, \"tool_output_guardrails\": null}]",
      "gen_ai.tool.output": 8,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "916958d74e45eb4f",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8aa6c390d524895c",
    "trace_id": "4287afde6dc24d56b1e01a354170108e",
    "parent_span_id": "a952b18b3c65c16c",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175477.841444,
    "timestamp": 1779175478.870644,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai_agents",
      "thread.id": "140349746559872",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "openai",
      "gen_ai.agent.name": "math_assistant",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.available_tools": "[{\"name\": \"add\", \"description\": \"Add two numbers together\", \"params_json_schema\": {\"properties\": {\"a\": {\"title\": \"A\", \"type\": \"string\"}, \"b\": {\"title\": \"B\", \"type\": \"string\"}}, \"required\": [\"a\", \"b\"], \"title\": \"add_args\", \"type\": \"object\", \"additionalProperties\": false}, \"on_invoke_tool\": \"<function agents.tool.function_tool.<locals>._create_function_tool.<locals>._on_invoke_tool>\", \"strict_json_schema\": true, \"is_enabled\": true, \"tool_input_guardrails\": null, \"tool_output_guardrails\": null}, {\"name\": \"multiply\", \"description\": \"Multiply two numbers together\", \"params_json_schema\": {\"properties\": {\"a\": {\"title\": \"A\", \"type\": \"string\"}, \"b\": {\"title\": \"B\", \"type\": \"string\"}}, \"required\": [\"a\", \"b\"], \"title\": \"multiply_args\", \"type\": \"object\", \"additionalProperties\": false}, \"on_invoke_tool\": \"<function agents.tool.function_tool.<locals>._create_function_tool.<locals>._on_invoke_tool>\", \"strict_json_schema\": true, \"is_enabled\": true, \"tool_input_guardrails\": null, \"tool_output_guardrails\": null}]",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"A math assistant that can perform basic arithmetic\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"Calculate (3 + 5) * 4. First use the add tool to add 3 and 5, then use the multiply tool to multiply the result by 4.\"}]}, {\"role\": \"assistant\", \"content\": [{\"arguments\": \"{\\\"a\\\":\\\"3\\\",\\\"b\\\":\\\"5\\\"}\", \"call_id\": \"call_TEKBFjU4DLrRiUSqVOEbJsRx\", \"name\": \"add\", \"type\": \"function_call\", \"id\": \"fc_0617c201b6fadfe6006a0c103527c48195bb23fb43941df0c8\", \"status\": \"completed\"}]}, {\"role\": \"tool\", \"content\": [{\"call_id\": \"call_TEKBFjU4DLrRiUSqVOEbJsRx\", \"output\": \"8\", \"type\": \"function_call_output\"}]}]",
      "gen_ai.usage.input_tokens": 154,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.output_tokens": 18,
      "gen_ai.usage.output_tokens.reasoning": 0,
      "gen_ai.usage.total_tokens": 172,
      "gen_ai.response.tool_calls": "[{\"arguments\": \"{\\\"a\\\":\\\"8\\\",\\\"b\\\":\\\"4\\\"}\", \"call_id\": \"call_RMHVp3F6HVgkxRkGvGzMJhaX\", \"name\": \"multiply\", \"type\": \"function_call\", \"id\": \"fc_0617c201b6fadfe6006a0c103672dc8195b0601949bf12a54a\", \"namespace\": null, \"status\": \"completed\"}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "916958d74e45eb4f",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a9c30ad3a6f717c1",
    "trace_id": "4287afde6dc24d56b1e01a354170108e",
    "parent_span_id": "a952b18b3c65c16c",
    "op": "gen_ai.execute_tool",
    "description": "execute_tool multiply",
    "start_timestamp": 1779175478.871239,
    "timestamp": 1779175478.871429,
    "data": {
      "sentry.op": "gen_ai.execute_tool",
      "sentry.origin": "auto.ai.openai_agents",
      "thread.id": "140349746559872",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "execute_tool",
      "gen_ai.tool.name": "multiply",
      "gen_ai.tool.description": "Multiply two numbers together",
      "gen_ai.tool.input": "{\"a\":\"8\",\"b\":\"4\"}",
      "gen_ai.system": "openai",
      "gen_ai.agent.name": "math_assistant",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.available_tools": "[{\"name\": \"add\", \"description\": \"Add two numbers together\", \"params_json_schema\": {\"properties\": {\"a\": {\"title\": \"A\", \"type\": \"string\"}, \"b\": {\"title\": \"B\", \"type\": \"string\"}}, \"required\": [\"a\", \"b\"], \"title\": \"add_args\", \"type\": \"object\", \"additionalProperties\": false}, \"on_invoke_tool\": \"<function agents.tool.function_tool.<locals>._create_function_tool.<locals>._on_invoke_tool>\", \"strict_json_schema\": true, \"is_enabled\": true, \"tool_input_guardrails\": null, \"tool_output_guardrails\": null}, {\"name\": \"multiply\", \"description\": \"Multiply two numbers together\", \"params_json_schema\": {\"properties\": {\"a\": {\"title\": \"A\", \"type\": \"string\"}, \"b\": {\"title\": \"B\", \"type\": \"string\"}}, \"required\": [\"a\", \"b\"], \"title\": \"multiply_args\", \"type\": \"object\", \"additionalProperties\": false}, \"on_invoke_tool\": \"<function agents.tool.function_tool.<locals>._create_function_tool.<locals>._on_invoke_tool>\", \"strict_json_schema\": true, \"is_enabled\": true, \"tool_input_guardrails\": null, \"tool_output_guardrails\": null}]",
      "gen_ai.tool.output": 32,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "916958d74e45eb4f",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "958472666e10dd72",
    "trace_id": "4287afde6dc24d56b1e01a354170108e",
    "parent_span_id": "a952b18b3c65c16c",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175478.87218,
    "timestamp": 1779175480.041097,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai_agents",
      "thread.id": "140349746559872",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "openai",
      "gen_ai.agent.name": "math_assistant",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.available_tools": "[{\"name\": \"add\", \"description\": \"Add two numbers together\", \"params_json_schema\": {\"properties\": {\"a\": {\"title\": \"A\", \"type\": \"string\"}, \"b\": {\"title\": \"B\", \"type\": \"string\"}}, \"required\": [\"a\", \"b\"], \"title\": \"add_args\", \"type\": \"object\", \"additionalProperties\": false}, \"on_invoke_tool\": \"<function agents.tool.function_tool.<locals>._create_function_tool.<locals>._on_invoke_tool>\", \"strict_json_schema\": true, \"is_enabled\": true, \"tool_input_guardrails\": null, \"tool_output_guardrails\": null}, {\"name\": \"multiply\", \"description\": \"Multiply two numbers together\", \"params_json_schema\": {\"properties\": {\"a\": {\"title\": \"A\", \"type\": \"string\"}, \"b\": {\"title\": \"B\", \"type\": \"string\"}}, \"required\": [\"a\", \"b\"], \"title\": \"multiply_args\", \"type\": \"object\", \"additionalProperties\": false}, \"on_invoke_tool\": \"<function agents.tool.function_tool.<locals>._create_function_tool.<locals>._on_invoke_tool>\", \"strict_json_schema\": true, \"is_enabled\": true, \"tool_input_guardrails\": null, \"tool_output_guardrails\": null}]",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"A math assistant that can perform basic arithmetic\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"Calculate (3 + 5) * 4. First use the add tool to add 3 and 5, then use the multiply tool to multiply the result by 4.\"}]}, {\"role\": \"assistant\", \"content\": [{\"arguments\": \"{\\\"a\\\":\\\"3\\\",\\\"b\\\":\\\"5\\\"}\", \"call_id\": \"call_TEKBFjU4DLrRiUSqVOEbJsRx\", \"name\": \"add\", \"type\": \"function_call\", \"id\": \"fc_0617c201b6fadfe6006a0c103527c48195bb23fb43941df0c8\", \"status\": \"completed\"}]}, {\"role\": \"tool\", \"content\": [{\"call_id\": \"call_TEKBFjU4DLrRiUSqVOEbJsRx\", \"output\": \"8\", \"type\": \"function_call_output\"}]}, {\"role\": \"assistant\", \"content\": [{\"arguments\": \"{\\\"a\\\":\\\"8\\\",\\\"b\\\":\\\"4\\\"}\", \"call_id\": \"call_RMHVp3F6HVgkxRkGvGzMJhaX\", \"name\": \"multiply\", \"type\": \"function_call\", \"id\": \"fc_0617c201b6fadfe6006a0c103672dc8195b0601949bf12a54a\", \"status\": \"completed\"}]}, {\"role\": \"tool\", \"content\": [{\"call_id\": \"call_RMHVp3F6HVgkxRkGvGzMJhaX\", \"output\": \"32\", \"type\": \"function_call_output\"}]}]",
      "gen_ai.usage.input_tokens": 180,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.output_tokens": 23,
      "gen_ai.usage.output_tokens.reasoning": 0,
      "gen_ai.usage.total_tokens": 203,
      "gen_ai.response.text": "The result of \\((3 + 5) \\times 4\\) is \\(32\\).",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "916958d74e45eb4f",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai-agents :: Tool Error Agent Test (async)❗︎ 16381ms
checkAgentSpanAttributes
checkChatSpanAttributes
884d76e7gen_ai.output.messagesMissing output messages attribute
84dd8b12gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
84dd8b12gen_ai.output.messagesMissing output messages attribute
checkToolSpanAttributes
checkAgentHierarchy
checkAvailableTools
checkResponseToolCalls(read_file)
checkInputMessagesSchema
checkToolErrorSpan
checkResponseModel
Deprecated Attributes
gen_ai.request.available_tools(4 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(1 span) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(1 span) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
{}Captured Spans (12)
[
  {
    "trace_id": "0979f48701844de3b186f19b0fbde851",
    "span_id": "849254d14900402a",
    "parent_span_id": "8e7b7d66cf2d42f8",
    "same_process_as_parent": true,
    "op": null,
    "description": "file_assistant workflow",
    "start_timestamp": "2026-05-19T07:24:36.407690Z",
    "timestamp": "2026-05-19T07:24:38.903396Z",
    "origin": "auto.ai.openai_agents",
    "data": {
      "thread.id": "140514267069312",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "0979f48701844de3b186f19b0fbde851",
    "span_id": "aacb2b3bab0fdce6",
    "parent_span_id": "884d76e7dc8446d4",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:24:36.459688Z",
    "timestamp": "2026-05-19T07:24:36.462448Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12325
    },
    "data": {
      "thread.id": "140514082944704",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "0979f48701844de3b186f19b0fbde851",
    "span_id": "b710f4ccf42be2de",
    "parent_span_id": "884d76e7dc8446d4",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:36.462559Z",
    "timestamp": "2026-05-19T07:24:36.462719Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12325
    },
    "data": {
      "thread.id": "140514082944704",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "0979f48701844de3b186f19b0fbde851",
    "span_id": "b450fe29566c944f",
    "parent_span_id": "b710f4ccf42be2de",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:36.462672Z",
    "timestamp": "2026-05-19T07:24:36.462709Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12325
    },
    "data": {
      "thread.id": "140514082944704",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "0979f48701844de3b186f19b0fbde851",
    "span_id": "9337431f313f0ea3",
    "parent_span_id": "884d76e7dc8446d4",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:36.462753Z",
    "timestamp": "2026-05-19T07:24:36.462766Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12325
    },
    "data": {
      "thread.id": "140514082944704",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "0979f48701844de3b186f19b0fbde851",
    "span_id": "b30a1fdc2cb367d2",
    "parent_span_id": "884d76e7dc8446d4",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:24:36.464666Z",
    "timestamp": "2026-05-19T07:24:37.354521Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140514267069312",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 48,
      "code.namespace": "__main__",
      "code.filepath": "test-tool-error-agent-test-async.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "0979f48701844de3b186f19b0fbde851",
    "span_id": "af708d623fa9b990",
    "parent_span_id": "84dd8b128e5c782c",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:24:37.702284Z",
    "timestamp": "2026-05-19T07:24:38.899424Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140514267069312",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 41,
      "code.namespace": "__main__",
      "code.filepath": "test-tool-error-agent-test-async.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "8e7b7d66cf2d42f8",
    "trace_id": "0979f48701844de3b186f19b0fbde851",
    "parent_span_id": null,
    "op": "test",
    "description": "Tool Error Agent Test",
    "start_timestamp": "2026-05-19T07:24:36.406101Z",
    "timestamp": "2026-05-19T07:24:38.907362Z",
    "data": {
      "thread.id": "140514267069312",
      "thread.name": "MainThread"
    },
    "status": "internal_error"
  },
  {
    "span_id": "b1cf3abaa4066e50",
    "trace_id": "0979f48701844de3b186f19b0fbde851",
    "parent_span_id": "849254d14900402a",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent file_assistant",
    "start_timestamp": 1779175476.40948,
    "timestamp": 1779175478.903292,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.openai_agents",
      "thread.id": "140514267069312",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"content\": [{\"text\": \"An assistant that can read files\", \"type\": \"text\"}], \"role\": \"system\"}, {\"content\": [{\"text\": \"Please read the file at /nonexistent/file.txt and tell me what it contains. Use the read_file tool.\", \"type\": \"text\"}], \"role\": \"user\"}]",
      "gen_ai.system": "openai",
      "gen_ai.agent.name": "file_assistant",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.available_tools": "[{\"name\": \"read_file\", \"description\": \"Read the contents of a file\", \"params_json_schema\": {\"properties\": {\"path\": {\"title\": \"Path\", \"type\": \"string\"}}, \"required\": [\"path\"], \"title\": \"read_file_args\", \"type\": \"object\", \"additionalProperties\": false}, \"on_invoke_tool\": \"<function agents.tool.function_tool.<locals>._create_function_tool.<locals>._on_invoke_tool>\", \"strict_json_schema\": true, \"is_enabled\": true, \"tool_input_guardrails\": null, \"tool_output_guardrails\": null}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 215,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.output_tokens": 55,
      "gen_ai.usage.output_tokens.reasoning": 0,
      "gen_ai.usage.total_tokens": 270,
      "gen_ai.response.text": "It seems that the file `/nonexistent/file.txt` does not exist. If you have a different file or path you'd like me to check, please let me know!",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Error Agent Test",
      "sentry.segment.id": "8e7b7d66cf2d42f8",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "884d76e7dc8446d4",
    "trace_id": "0979f48701844de3b186f19b0fbde851",
    "parent_span_id": "b1cf3abaa4066e50",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175476.443256,
    "timestamp": 1779175477.689208,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai_agents",
      "thread.id": "140514267069312",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "openai",
      "gen_ai.agent.name": "file_assistant",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.available_tools": "[{\"name\": \"read_file\", \"description\": \"Read the contents of a file\", \"params_json_schema\": {\"properties\": {\"path\": {\"title\": \"Path\", \"type\": \"string\"}}, \"required\": [\"path\"], \"title\": \"read_file_args\", \"type\": \"object\", \"additionalProperties\": false}, \"on_invoke_tool\": \"<function agents.tool.function_tool.<locals>._create_function_tool.<locals>._on_invoke_tool>\", \"strict_json_schema\": true, \"is_enabled\": true, \"tool_input_guardrails\": null, \"tool_output_guardrails\": null}]",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"An assistant that can read files\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"Please read the file at /nonexistent/file.txt and tell me what it contains. Use the read_file tool.\"}]}]",
      "gen_ai.usage.input_tokens": 79,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.output_tokens": 19,
      "gen_ai.usage.output_tokens.reasoning": 0,
      "gen_ai.usage.total_tokens": 98,
      "gen_ai.response.tool_calls": "[{\"arguments\": \"{\\\"path\\\":\\\"/nonexistent/file.txt\\\"}\", \"call_id\": \"call_MSdr6m43FGn1u8SAhlbT5Nbm\", \"name\": \"read_file\", \"type\": \"function_call\", \"id\": \"fc_014e1febd029cbaf006a0c10350f048193b25cfda19245b52b\", \"namespace\": null, \"status\": \"completed\"}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Error Agent Test",
      "sentry.segment.id": "8e7b7d66cf2d42f8",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "95d87a1d00885976",
    "trace_id": "0979f48701844de3b186f19b0fbde851",
    "parent_span_id": "b1cf3abaa4066e50",
    "op": "gen_ai.execute_tool",
    "description": "execute_tool read_file",
    "start_timestamp": 1779175477.689813,
    "timestamp": 1779175477.690078,
    "data": {
      "sentry.op": "gen_ai.execute_tool",
      "sentry.origin": "auto.ai.openai_agents",
      "thread.id": "140514267069312",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "execute_tool",
      "gen_ai.tool.name": "read_file",
      "gen_ai.tool.description": "Read the contents of a file",
      "gen_ai.tool.input": "{\"path\":\"/nonexistent/file.txt\"}",
      "gen_ai.system": "openai",
      "gen_ai.agent.name": "file_assistant",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.available_tools": "[{\"name\": \"read_file\", \"description\": \"Read the contents of a file\", \"params_json_schema\": {\"properties\": {\"path\": {\"title\": \"Path\", \"type\": \"string\"}}, \"required\": [\"path\"], \"title\": \"read_file_args\", \"type\": \"object\", \"additionalProperties\": false}, \"on_invoke_tool\": \"<function agents.tool.function_tool.<locals>._create_function_tool.<locals>._on_invoke_tool>\", \"strict_json_schema\": true, \"is_enabled\": true, \"tool_input_guardrails\": null, \"tool_output_guardrails\": null}]",
      "gen_ai.tool.output": "An error occurred while running the tool. Please try again. Error: FileNotFoundError: The file '/nonexistent/file.txt' does not exist",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Error Agent Test",
      "sentry.segment.id": "8e7b7d66cf2d42f8",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "84dd8b128e5c782c",
    "trace_id": "0979f48701844de3b186f19b0fbde851",
    "parent_span_id": "b1cf3abaa4066e50",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175477.690784,
    "timestamp": 1779175478.9007,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai_agents",
      "thread.id": "140514267069312",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "openai",
      "gen_ai.agent.name": "file_assistant",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.available_tools": "[{\"name\": \"read_file\", \"description\": \"Read the contents of a file\", \"params_json_schema\": {\"properties\": {\"path\": {\"title\": \"Path\", \"type\": \"string\"}}, \"required\": [\"path\"], \"title\": \"read_file_args\", \"type\": \"object\", \"additionalProperties\": false}, \"on_invoke_tool\": \"<function agents.tool.function_tool.<locals>._create_function_tool.<locals>._on_invoke_tool>\", \"strict_json_schema\": true, \"is_enabled\": true, \"tool_input_guardrails\": null, \"tool_output_guardrails\": null}]",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"An assistant that can read files\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"Please read the file at /nonexistent/file.txt and tell me what it contains. Use the read_file tool.\"}]}, {\"role\": \"assistant\", \"content\": [{\"arguments\": \"{\\\"path\\\":\\\"/nonexistent/file.txt\\\"}\", \"call_id\": \"call_MSdr6m43FGn1u8SAhlbT5Nbm\", \"name\": \"read_file\", \"type\": \"function_call\", \"id\": \"fc_014e1febd029cbaf006a0c10350f048193b25cfda19245b52b\", \"status\": \"completed\"}]}, {\"role\": \"tool\", \"content\": [{\"call_id\": \"call_MSdr6m43FGn1u8SAhlbT5Nbm\", \"output\": \"An error occurred while running the tool. Please try again. Error: FileNotFoundError: The file '/nonexistent/file.txt' does not exist\", \"type\": \"function_call_output\"}]}]",
      "gen_ai.usage.input_tokens": 136,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.output_tokens": 36,
      "gen_ai.usage.output_tokens.reasoning": 0,
      "gen_ai.usage.total_tokens": 172,
      "gen_ai.response.text": "It seems that the file `/nonexistent/file.txt` does not exist. If you have a different file or path you'd like me to check, please let me know!",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Error Agent Test",
      "sentry.segment.id": "8e7b7d66cf2d42f8",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai-agents :: Vision Agent Test (async)❗︎ 1 15462ms
checkAgentSpanAttributes
checkChatSpanAttributes
bf7337ddgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bf7337ddgen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
bf7337ddgen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
bf7337ddgen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
8ac39b30gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
8ac39b30gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(2 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (9)
[
  {
    "trace_id": "64060b6200b045458bd41921a4dadca9",
    "span_id": "8d668572044ad1b0",
    "parent_span_id": "bccfd1fd920d3817",
    "same_process_as_parent": true,
    "op": null,
    "description": "vision_assistant workflow",
    "start_timestamp": "2026-05-19T07:24:36.581094Z",
    "timestamp": "2026-05-19T07:24:38.063946Z",
    "origin": "auto.ai.openai_agents",
    "data": {
      "thread.id": "139803877432192",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "64060b6200b045458bd41921a4dadca9",
    "span_id": "a64360e705aa24d5",
    "parent_span_id": "bf7337dd718822d0",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:24:36.608780Z",
    "timestamp": "2026-05-19T07:24:36.609985Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12337
    },
    "data": {
      "thread.id": "139803760637632",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "64060b6200b045458bd41921a4dadca9",
    "span_id": "870badef97e6e98d",
    "parent_span_id": "bf7337dd718822d0",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:36.610059Z",
    "timestamp": "2026-05-19T07:24:36.610771Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12337
    },
    "data": {
      "thread.id": "139803760637632",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "64060b6200b045458bd41921a4dadca9",
    "span_id": "842e97edbbb3d079",
    "parent_span_id": "870badef97e6e98d",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:36.610691Z",
    "timestamp": "2026-05-19T07:24:36.610763Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12337
    },
    "data": {
      "thread.id": "139803760637632",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "64060b6200b045458bd41921a4dadca9",
    "span_id": "ab481d25a958de91",
    "parent_span_id": "bf7337dd718822d0",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:36.610796Z",
    "timestamp": "2026-05-19T07:24:36.610805Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12337
    },
    "data": {
      "thread.id": "139803760637632",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "64060b6200b045458bd41921a4dadca9",
    "span_id": "87ea9e77f079e1c1",
    "parent_span_id": "bf7337dd718822d0",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:24:36.612204Z",
    "timestamp": "2026-05-19T07:24:37.729046Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139803877432192",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 42,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-agent-test-async.py",
      "code.function": "<module>"
    }
  },
  {
    "span_id": "bccfd1fd920d3817",
    "trace_id": "64060b6200b045458bd41921a4dadca9",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision Agent Test",
    "start_timestamp": "2026-05-19T07:24:36.579952Z",
    "timestamp": "2026-05-19T07:24:38.070247Z",
    "data": {
      "thread.id": "139803877432192",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "8ac39b30d2a14c52",
    "trace_id": "64060b6200b045458bd41921a4dadca9",
    "parent_span_id": "8d668572044ad1b0",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent vision_assistant",
    "start_timestamp": 1779175476.582387,
    "timestamp": 1779175478.063816,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.openai_agents",
      "thread.id": "139803877432192",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"content\": [{\"text\": \"An assistant that can analyze images and describe what it sees\", \"type\": \"text\"}], \"role\": \"system\"}, {\"content\": [{\"text\": \"[{\\\"role\\\": \\\"user\\\", \\\"content\\\": [{\\\"type\\\": \\\"input_text\\\", \\\"text\\\": \\\"What color is this image? Reply with just the color name.\\\"}, {\\\"type\\\": \\\"input_image\\\", \\\"image_url\\\": \\\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\\\"}]}]\", \"type\": \"text\"}], \"role\": \"user\"}]",
      "gen_ai.system": "openai",
      "gen_ai.agent.name": "vision_assistant",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 8535,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.output_tokens": 2,
      "gen_ai.usage.output_tokens.reasoning": 0,
      "gen_ai.usage.total_tokens": 8537,
      "gen_ai.response.text": "Red",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision Agent Test",
      "sentry.segment.id": "bccfd1fd920d3817",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "bf7337dd718822d0",
    "trace_id": "64060b6200b045458bd41921a4dadca9",
    "parent_span_id": "8ac39b30d2a14c52",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175476.602786,
    "timestamp": 1779175478.063248,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai_agents",
      "thread.id": "139803877432192",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "openai",
      "gen_ai.agent.name": "vision_assistant",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"An assistant that can analyze images and describe what it sees\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"input_text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"input_image\", \"image_url\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}]}]",
      "gen_ai.usage.input_tokens": 8535,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.output_tokens": 2,
      "gen_ai.usage.output_tokens.reasoning": 0,
      "gen_ai.usage.total_tokens": 8537,
      "gen_ai.response.text": "Red",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision Agent Test",
      "sentry.segment.id": "bccfd1fd920d3817",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai-agents :: Long Input Agent Test (async)❗︎ 123000ms
checkAgentSpanAttributes
checkChatSpanAttributes
b16c2237gen_ai.output.messagesMissing output messages attribute
a6799e46gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a6799e46gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.available_tools(4 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(1 span) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(1 span) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
{}Captured Spans (13)
[
  {
    "trace_id": "d080be06e59943c59972aefe8b932fab",
    "span_id": "8984dbe92a0b620a",
    "parent_span_id": "8bf50c2be36b226c",
    "same_process_as_parent": true,
    "op": null,
    "description": "summarizer_assistant workflow",
    "start_timestamp": "2026-05-19T07:24:38.913482Z",
    "timestamp": "2026-05-19T07:24:57.859084Z",
    "origin": "auto.ai.openai_agents",
    "data": {
      "thread.id": "140350059080576",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "d080be06e59943c59972aefe8b932fab",
    "span_id": "9471e9a9f5bf554f",
    "parent_span_id": "b16c2237f5ef5332",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:24:38.988231Z",
    "timestamp": "2026-05-19T07:24:38.991948Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12365
    },
    "data": {
      "thread.id": "140349867554496",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "d080be06e59943c59972aefe8b932fab",
    "span_id": "b0a6221181fe9895",
    "parent_span_id": "b16c2237f5ef5332",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:38.992047Z",
    "timestamp": "2026-05-19T07:24:38.992192Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12365
    },
    "data": {
      "thread.id": "140349867554496",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "d080be06e59943c59972aefe8b932fab",
    "span_id": "a62bf55db696f528",
    "parent_span_id": "b0a6221181fe9895",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:38.992145Z",
    "timestamp": "2026-05-19T07:24:38.992182Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12365
    },
    "data": {
      "thread.id": "140349867554496",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "d080be06e59943c59972aefe8b932fab",
    "span_id": "8d7b290c4e808448",
    "parent_span_id": "b16c2237f5ef5332",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:38.992229Z",
    "timestamp": "2026-05-19T07:24:38.992244Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12365
    },
    "data": {
      "thread.id": "140349867554496",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "d080be06e59943c59972aefe8b932fab",
    "span_id": "bac9cfe590eaa1c5",
    "parent_span_id": "b16c2237f5ef5332",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:24:38.995386Z",
    "timestamp": "2026-05-19T07:24:56.514078Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140350059080576",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 48,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-agent-test-async.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "d080be06e59943c59972aefe8b932fab",
    "span_id": "99a5edbe1b34cc2b",
    "parent_span_id": "8984dbe92a0b620a",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/traces/ingest",
    "start_timestamp": "2026-05-19T07:24:42.722592Z",
    "timestamp": "2026-05-19T07:24:42.897451Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "204",
      "status": "ok"
    },
    "data": {
      "thread.id": "140349958993600",
      "thread.name": "Thread-1 (_run)",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/traces/ingest",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 204,
      "reason": "No Content"
    }
  },
  {
    "trace_id": "d080be06e59943c59972aefe8b932fab",
    "span_id": "8750256a90b23b2f",
    "parent_span_id": "a6799e461fae09e4",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:24:56.852006Z",
    "timestamp": "2026-05-19T07:24:57.853222Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140350059080576",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 41,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-agent-test-async.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "8bf50c2be36b226c",
    "trace_id": "d080be06e59943c59972aefe8b932fab",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input Agent Test",
    "start_timestamp": "2026-05-19T07:24:38.912120Z",
    "timestamp": "2026-05-19T07:24:57.863199Z",
    "data": {
      "thread.id": "140350059080576",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "bc6f8988b913eee5",
    "trace_id": "d080be06e59943c59972aefe8b932fab",
    "parent_span_id": "8984dbe92a0b620a",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent summarizer_assistant",
    "start_timestamp": 1779175478.915126,
    "timestamp": 1779175497.858979,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.openai_agents",
      "thread.id": "140350059080576",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"content\": [{\"text\": \"An assistant that can summarize text\", \"type\": \"text\"}], \"role\": \"system\"}, {\"content\": [{\"text\": \"Please summarize the following text in one sentence. You may use the get_word_count tool first if needed: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \", \"type\": \"text\"}], \"role\": \"user\"}]",
      "gen_ai.system": "openai",
      "gen_ai.agent.name": "summarizer_assistant",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.available_tools": "[{\"name\": \"get_word_count\", \"description\": \"Count the number of words in a text\", \"params_json_schema\": {\"properties\": {\"text\": {\"title\": \"Text\", \"type\": \"string\"}}, \"required\": [\"text\"], \"title\": \"get_word_count_args\", \"type\": \"object\", \"additionalProperties\": false}, \"on_invoke_tool\": \"<function agents.tool.function_tool.<locals>._create_function_tool.<locals>._on_invoke_tool>\", \"strict_json_schema\": true, \"is_enabled\": true, \"tool_input_guardrails\": null, \"tool_output_guardrails\": null}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 12016,
      "gen_ai.usage.input_tokens.cached": 6400,
      "gen_ai.usage.output_tokens": 1060,
      "gen_ai.usage.output_tokens.reasoning": 0,
      "gen_ai.usage.total_tokens": 13076,
      "gen_ai.response.text": "The text consists of repeated phrases indicating a test message aimed at generating a lengthy input.",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input Agent Test",
      "sentry.segment.id": "8bf50c2be36b226c",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b16c2237f5ef5332",
    "trace_id": "d080be06e59943c59972aefe8b932fab",
    "parent_span_id": "bc6f8988b913eee5",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175478.963165,
    "timestamp": 1779175496.831626,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai_agents",
      "thread.id": "140350059080576",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "openai",
      "gen_ai.agent.name": "summarizer_assistant",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.available_tools": "[{\"name\": \"get_word_count\", \"description\": \"Count the number of words in a text\", \"params_json_schema\": {\"properties\": {\"text\": {\"title\": \"Text\", \"type\": \"string\"}}, \"required\": [\"text\"], \"title\": \"get_word_count_args\", \"type\": \"object\", \"additionalProperties\": false}, \"on_invoke_tool\": \"<function agents.tool.function_tool.<locals>._create_function_tool.<locals>._on_invoke_tool>\", \"strict_json_schema\": true, \"is_enabled\": true, \"tool_input_guardrails\": null, \"tool_output_guardrails\": null}]",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"An assistant that can summarize text\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"Please summarize the following text in one sentence. You may use the get_word_count tool first if needed: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]}]",
      "gen_ai.usage.input_tokens": 5482,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.output_tokens": 1041,
      "gen_ai.usage.output_tokens.reasoning": 0,
      "gen_ai.usage.total_tokens": 6523,
      "gen_ai.response.tool_calls": "[{\"arguments\": \"{\\\"text\\\":\\\"This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input.\\\"}\", \"call_id\": \"call_qqj2QlVJK1MuLcNryAYImVp5\", \"name\": \"get_word_count\", \"type\": \"function_call\", \"id\": \"fc_0a0fd74fe1e1c624006a0c1037e9248190a4eaac206d7a83af\", \"namespace\": null, \"status\": \"completed\"}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input Agent Test",
      "sentry.segment.id": "8bf50c2be36b226c",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "98178c47c4ec7193",
    "trace_id": "d080be06e59943c59972aefe8b932fab",
    "parent_span_id": "bc6f8988b913eee5",
    "op": "gen_ai.execute_tool",
    "description": "execute_tool get_word_count",
    "start_timestamp": 1779175496.832301,
    "timestamp": 1779175496.83248,
    "data": {
      "sentry.op": "gen_ai.execute_tool",
      "sentry.origin": "auto.ai.openai_agents",
      "thread.id": "140350059080576",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "execute_tool",
      "gen_ai.tool.name": "get_word_count",
      "gen_ai.tool.description": "Count the number of words in a text",
      "gen_ai.tool.input": "{\"text\":\"This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input.\"}",
      "gen_ai.system": "openai",
      "gen_ai.agent.name": "summarizer_assistant",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.available_tools": "[{\"name\": \"get_word_count\", \"description\": \"Count the number of words in a text\", \"params_json_schema\": {\"properties\": {\"text\": {\"title\": \"Text\", \"type\": \"string\"}}, \"required\": [\"text\"], \"title\": \"get_word_count_args\", \"type\": \"object\", \"additionalProperties\": false}, \"on_invoke_tool\": \"<function agents.tool.function_tool.<locals>._create_function_tool.<locals>._on_invoke_tool>\", \"strict_json_schema\": true, \"is_enabled\": true, \"tool_input_guardrails\": null, \"tool_output_guardrails\": null}]",
      "gen_ai.tool.output": 2400,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input Agent Test",
      "sentry.segment.id": "8bf50c2be36b226c",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a6799e461fae09e4",
    "trace_id": "d080be06e59943c59972aefe8b932fab",
    "parent_span_id": "bc6f8988b913eee5",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175496.839562,
    "timestamp": 1779175497.857656,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai_agents",
      "thread.id": "140350059080576",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "openai",
      "gen_ai.agent.name": "summarizer_assistant",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.available_tools": "[{\"name\": \"get_word_count\", \"description\": \"Count the number of words in a text\", \"params_json_schema\": {\"properties\": {\"text\": {\"title\": \"Text\", \"type\": \"string\"}}, \"required\": [\"text\"], \"title\": \"get_word_count_args\", \"type\": \"object\", \"additionalProperties\": false}, \"on_invoke_tool\": \"<function agents.tool.function_tool.<locals>._create_function_tool.<locals>._on_invoke_tool>\", \"strict_json_schema\": true, \"is_enabled\": true, \"tool_input_guardrails\": null, \"tool_output_guardrails\": null}]",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"An assistant that can summarize text\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"Please summarize the following text in one sentence. You may use the get_word_count tool first if needed: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]}, {\"role\": \"assistant\", \"content\": [{\"arguments\": \"{\\\"text\\\":\\\"This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input.\\\"}\", \"call_id\": \"call_qqj2QlVJK1MuLcNryAYImVp5\", \"name\": \"get_word_count\", \"type\": \"function_call\", \"id\": \"fc_0a0fd74fe1e1c624006a0c1037e9248190a4eaac206d7a83af\", \"status\": \"completed\"}]}, {\"role\": \"tool\", \"content\": [{\"call_id\": \"call_qqj2QlVJK1MuLcNryAYImVp5\", \"output\": \"2400\", \"type\": \"function_call_output\"}]}]",
      "gen_ai.usage.input_tokens": 6534,
      "gen_ai.usage.input_tokens.cached": 6400,
      "gen_ai.usage.output_tokens": 19,
      "gen_ai.usage.output_tokens.reasoning": 0,
      "gen_ai.usage.total_tokens": 6553,
      "gen_ai.response.text": "The text consists of repeated phrases indicating a test message aimed at generating a lengthy input.",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input Agent Test",
      "sentry.segment.id": "8bf50c2be36b226c",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai-agents :: Conversation ID Agent Test (async)❗︎ 210066ms
checkAgentSpanAttributes
94ba6eaegen_ai.request.messagesagent span 0 should keep only the last input message, found 2 message(s)
a1b5c4cfgen_ai.request.messagesagent span 1 should keep only the last input message, found 2 message(s)
98303e43gen_ai.request.messagesagent span 2 should keep only the last input message, found 2 message(s)
afb60072gen_ai.request.messagesagent span 3 should keep only the last input message, found 2 message(s)
checkChatSpanAttributes
9a75e6dcgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9a75e6dcgen_ai.output.messagesMissing output messages attribute
b31d628fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b31d628fgen_ai.output.messagesMissing output messages attribute
8a19e246gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8a19e246gen_ai.output.messagesMissing output messages attribute
bd995d31gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bd995d31gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(8 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(8 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(8 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (22)
[
  {
    "trace_id": "bbb5f0c375ca4b4ba33905c5b8205267",
    "span_id": "b0f2e8c57dc5f0b4",
    "parent_span_id": "9be35220f6dea44b",
    "same_process_as_parent": true,
    "op": null,
    "description": "helpful_assistant workflow",
    "start_timestamp": "2026-05-19T07:24:41.011586Z",
    "timestamp": "2026-05-19T07:24:42.911740Z",
    "origin": "auto.ai.openai_agents",
    "data": {
      "thread.id": "140425403943808",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "bbb5f0c375ca4b4ba33905c5b8205267",
    "span_id": "9a13aa005c7a4d93",
    "parent_span_id": "9a75e6dc69a0abff",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:24:41.086273Z",
    "timestamp": "2026-05-19T07:24:41.089987Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12383
    },
    "data": {
      "thread.id": "140425214027456",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "bbb5f0c375ca4b4ba33905c5b8205267",
    "span_id": "bce5a5a61ea099e2",
    "parent_span_id": "9a75e6dc69a0abff",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:41.090109Z",
    "timestamp": "2026-05-19T07:24:41.092051Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12383
    },
    "data": {
      "thread.id": "140425214027456",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "bbb5f0c375ca4b4ba33905c5b8205267",
    "span_id": "9d56e66567fa69bf",
    "parent_span_id": "bce5a5a61ea099e2",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:41.090225Z",
    "timestamp": "2026-05-19T07:24:41.092026Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12383
    },
    "data": {
      "thread.id": "140425214027456",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "bbb5f0c375ca4b4ba33905c5b8205267",
    "span_id": "b4709e303c5fd790",
    "parent_span_id": "9a75e6dc69a0abff",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:41.092112Z",
    "timestamp": "2026-05-19T07:24:41.092136Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12383
    },
    "data": {
      "thread.id": "140425214027456",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "bbb5f0c375ca4b4ba33905c5b8205267",
    "span_id": "8a603a2ab52a26a8",
    "parent_span_id": "9a75e6dc69a0abff",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:24:41.093780Z",
    "timestamp": "2026-05-19T07:24:42.418794Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140425403943808",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 73,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-agent-test-async.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "bbb5f0c375ca4b4ba33905c5b8205267",
    "span_id": "98f4af77ab8320ef",
    "parent_span_id": "9be35220f6dea44b",
    "same_process_as_parent": true,
    "op": null,
    "description": "helpful_assistant workflow",
    "start_timestamp": "2026-05-19T07:24:42.912664Z",
    "timestamp": "2026-05-19T07:24:43.812498Z",
    "origin": "auto.ai.openai_agents",
    "data": {
      "thread.id": "140425403943808",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "bbb5f0c375ca4b4ba33905c5b8205267",
    "span_id": "9fdaa42ac2fe5990",
    "parent_span_id": "b31d628f06f2e129",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:24:42.918655Z",
    "timestamp": "2026-05-19T07:24:43.804503Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140425403943808",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 73,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-agent-test-async.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "bbb5f0c375ca4b4ba33905c5b8205267",
    "span_id": "913ccf8baa4e3263",
    "parent_span_id": "9be35220f6dea44b",
    "same_process_as_parent": true,
    "op": null,
    "description": "helpful_assistant workflow",
    "start_timestamp": "2026-05-19T07:24:43.812684Z",
    "timestamp": "2026-05-19T07:24:44.871093Z",
    "origin": "auto.ai.openai_agents",
    "data": {
      "thread.id": "140425403943808",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "bbb5f0c375ca4b4ba33905c5b8205267",
    "span_id": "ae87941b09247abf",
    "parent_span_id": "8a19e246295d3732",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:24:43.821048Z",
    "timestamp": "2026-05-19T07:24:44.863327Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140425403943808",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 73,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-agent-test-async.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "bbb5f0c375ca4b4ba33905c5b8205267",
    "span_id": "8c774b0b95453b72",
    "parent_span_id": "b0f2e8c57dc5f0b4",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/traces/ingest",
    "start_timestamp": "2026-05-19T07:24:44.041252Z",
    "timestamp": "2026-05-19T07:24:44.280085Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "204",
      "status": "ok"
    },
    "data": {
      "thread.id": "140425230808768",
      "thread.name": "Thread-1 (_run)",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/traces/ingest",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 204,
      "reason": "No Content"
    }
  },
  {
    "trace_id": "bbb5f0c375ca4b4ba33905c5b8205267",
    "span_id": "88f74d8f0e04f4dd",
    "parent_span_id": "9be35220f6dea44b",
    "same_process_as_parent": true,
    "op": null,
    "description": "helpful_assistant workflow",
    "start_timestamp": "2026-05-19T07:24:44.871279Z",
    "timestamp": "2026-05-19T07:24:45.616150Z",
    "origin": "auto.ai.openai_agents",
    "data": {
      "thread.id": "140425403943808",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "bbb5f0c375ca4b4ba33905c5b8205267",
    "span_id": "94207f5b04c2a314",
    "parent_span_id": "bd995d317b3c9b46",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:24:44.879582Z",
    "timestamp": "2026-05-19T07:24:45.606329Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140425403943808",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 73,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-agent-test-async.py",
      "code.function": "<module>"
    }
  },
  {
    "span_id": "9be35220f6dea44b",
    "trace_id": "bbb5f0c375ca4b4ba33905c5b8205267",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID Agent Test",
    "start_timestamp": "2026-05-19T07:24:41.004644Z",
    "timestamp": "2026-05-19T07:24:45.619212Z",
    "data": {
      "thread.id": "140425403943808",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "94ba6eae52c94c54",
    "trace_id": "bbb5f0c375ca4b4ba33905c5b8205267",
    "parent_span_id": "b0f2e8c57dc5f0b4",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175481.015811,
    "timestamp": 1779175482.911611,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.openai_agents",
      "thread.id": "140425403943808",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"content\": [{\"text\": \"A helpful assistant that answers questions\", \"type\": \"text\"}], \"role\": \"system\"}, {\"content\": [{\"text\": \"What is the capital of France?\", \"type\": \"text\"}], \"role\": \"user\"}]",
      "gen_ai.system": "openai",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.output_tokens.reasoning": 0,
      "gen_ai.usage.total_tokens": 32,
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "9be35220f6dea44b",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9a75e6dc69a0abff",
    "trace_id": "bbb5f0c375ca4b4ba33905c5b8205267",
    "parent_span_id": "94ba6eae52c94c54",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175481.066254,
    "timestamp": 1779175482.910959,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai_agents",
      "thread.id": "140425403943808",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "openai",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"A helpful assistant that answers questions\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What is the capital of France?\"}]}]",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.output_tokens.reasoning": 0,
      "gen_ai.usage.total_tokens": 32,
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "9be35220f6dea44b",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a1b5c4cf680a9368",
    "trace_id": "bbb5f0c375ca4b4ba33905c5b8205267",
    "parent_span_id": "98f4af77ab8320ef",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175482.914909,
    "timestamp": 1779175483.812343,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.openai_agents",
      "thread.id": "140425403943808",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"content\": [{\"text\": \"A helpful assistant that answers questions\", \"type\": \"text\"}], \"role\": \"system\"}, {\"content\": [{\"text\": \"What is 2 + 2?\", \"type\": \"text\"}], \"role\": \"user\"}]",
      "gen_ai.system": "openai",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 25,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.output_tokens": 9,
      "gen_ai.usage.output_tokens.reasoning": 0,
      "gen_ai.usage.total_tokens": 34,
      "gen_ai.response.text": "2 + 2 equals 4.",
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "9be35220f6dea44b",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b31d628f06f2e129",
    "trace_id": "bbb5f0c375ca4b4ba33905c5b8205267",
    "parent_span_id": "a1b5c4cf680a9368",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175482.915581,
    "timestamp": 1779175483.805812,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai_agents",
      "thread.id": "140425403943808",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "openai",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"A helpful assistant that answers questions\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What is 2 + 2?\"}]}]",
      "gen_ai.usage.input_tokens": 25,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.output_tokens": 9,
      "gen_ai.usage.output_tokens.reasoning": 0,
      "gen_ai.usage.total_tokens": 34,
      "gen_ai.response.text": "2 + 2 equals 4.",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "9be35220f6dea44b",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "98303e43267b3375",
    "trace_id": "bbb5f0c375ca4b4ba33905c5b8205267",
    "parent_span_id": "913ccf8baa4e3263",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175483.813066,
    "timestamp": 1779175484.870929,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.openai_agents",
      "thread.id": "140425403943808",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"content\": [{\"text\": \"A helpful assistant that answers questions\", \"type\": \"text\"}], \"role\": \"system\"}, {\"content\": [{\"text\": \"What about Germany?\", \"type\": \"text\"}], \"role\": \"user\"}]",
      "gen_ai.system": "openai",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 21,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.output_tokens": 29,
      "gen_ai.usage.output_tokens.reasoning": 0,
      "gen_ai.usage.total_tokens": 50,
      "gen_ai.response.text": "Could you please specify what aspect of Germany you are interested in? It could be history, culture, travel, economy, or anything else!",
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "9be35220f6dea44b",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8a19e246295d3732",
    "trace_id": "bbb5f0c375ca4b4ba33905c5b8205267",
    "parent_span_id": "98303e43267b3375",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175483.813651,
    "timestamp": 1779175484.864519,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai_agents",
      "thread.id": "140425403943808",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "openai",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"A helpful assistant that answers questions\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What about Germany?\"}]}]",
      "gen_ai.usage.input_tokens": 21,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.output_tokens": 29,
      "gen_ai.usage.output_tokens.reasoning": 0,
      "gen_ai.usage.total_tokens": 50,
      "gen_ai.response.text": "Could you please specify what aspect of Germany you are interested in? It could be history, culture, travel, economy, or anything else!",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "9be35220f6dea44b",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "afb600723709cfdd",
    "trace_id": "bbb5f0c375ca4b4ba33905c5b8205267",
    "parent_span_id": "88f74d8f0e04f4dd",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175484.871651,
    "timestamp": 1779175485.615994,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.openai_agents",
      "thread.id": "140425403943808",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.request.messages": "[{\"content\": [{\"text\": \"A helpful assistant that answers questions\", \"type\": \"text\"}], \"role\": \"system\"}, {\"content\": [{\"text\": \"What about 3 + 3?\", \"type\": \"text\"}], \"role\": \"user\"}]",
      "gen_ai.system": "openai",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 25,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.output_tokens": 9,
      "gen_ai.usage.output_tokens.reasoning": 0,
      "gen_ai.usage.total_tokens": 34,
      "gen_ai.response.text": "3 + 3 equals 6.",
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "9be35220f6dea44b",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "bd995d317b3c9b46",
    "trace_id": "bbb5f0c375ca4b4ba33905c5b8205267",
    "parent_span_id": "afb600723709cfdd",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175484.872241,
    "timestamp": 1779175485.60753,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai_agents",
      "thread.id": "140425403943808",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "openai",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"A helpful assistant that answers questions\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What about 3 + 3?\"}]}]",
      "gen_ai.usage.input_tokens": 25,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.output_tokens": 9,
      "gen_ai.usage.output_tokens.reasoning": 0,
      "gen_ai.usage.total_tokens": 34,
      "gen_ai.response.text": "3 + 3 equals 6.",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "9be35220f6dea44b",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/pydantic-ai :: Basic Agent Test (async, single)❗︎ 115411ms
checkAgentSpanAttributes
checkChatSpanAttributes
9482dffdgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9482dffdgen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(2 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (8)
[
  {
    "trace_id": "d58b695567034d79b1a675c5c85898a4",
    "span_id": "9b56d1c11749b461",
    "parent_span_id": "9482dffdb4323b79",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:24:51.746525Z",
    "timestamp": "2026-05-19T07:24:51.747697Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12422
    },
    "data": {
      "thread.id": "140196828509888",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "d58b695567034d79b1a675c5c85898a4",
    "span_id": "8bef51c34519f576",
    "parent_span_id": "9482dffdb4323b79",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:51.747794Z",
    "timestamp": "2026-05-19T07:24:51.748597Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12422
    },
    "data": {
      "thread.id": "140196828509888",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "d58b695567034d79b1a675c5c85898a4",
    "span_id": "944e13b0a7ec619b",
    "parent_span_id": "8bef51c34519f576",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:51.748507Z",
    "timestamp": "2026-05-19T07:24:51.748587Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12422
    },
    "data": {
      "thread.id": "140196828509888",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "d58b695567034d79b1a675c5c85898a4",
    "span_id": "a5292d37f5dc345d",
    "parent_span_id": "9482dffdb4323b79",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:51.748630Z",
    "timestamp": "2026-05-19T07:24:51.748642Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12422
    },
    "data": {
      "thread.id": "140196828509888",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "d58b695567034d79b1a675c5c85898a4",
    "span_id": "98547ff7a15ad0d7",
    "parent_span_id": "9482dffdb4323b79",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:51.749963Z",
    "timestamp": "2026-05-19T07:24:52.122518Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140197085203328",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 46,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-agent-test-async-single.py",
      "code.function": "<module>"
    }
  },
  {
    "span_id": "a75e2fb81b4155a7",
    "trace_id": "d58b695567034d79b1a675c5c85898a4",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic Agent Test",
    "start_timestamp": "2026-05-19T07:24:51.735247Z",
    "timestamp": "2026-05-19T07:24:52.149009Z",
    "data": {
      "thread.id": "140197085203328",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "9f44895a09532195",
    "trace_id": "d58b695567034d79b1a675c5c85898a4",
    "parent_span_id": "a75e2fb81b4155a7",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175491.736295,
    "timestamp": 1779175492.147897,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "140197085203328",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.request.messages": "[{\"content\": [{\"text\": \"You are a helpful assistant.\", \"type\": \"text\"}], \"role\": \"system\"}, {\"content\": [{\"text\": \"What is the capital of France?\", \"type\": \"text\"}], \"role\": \"user\"}]",
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 7,
      "gen_ai.usage.total_tokens": 31,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic Agent Test",
      "sentry.segment.id": "a75e2fb81b4155a7",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9482dffdb4323b79",
    "trace_id": "d58b695567034d79b1a675c5c85898a4",
    "parent_span_id": "9f44895a09532195",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175491.743234,
    "timestamp": 1779175492.146863,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "140197085203328",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.system": "openai",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.response.streaming": false,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What is the capital of France?\"}]}]",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 7,
      "gen_ai.usage.total_tokens": 31,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.text": "The capital of France is Paris.",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic Agent Test",
      "sentry.segment.id": "a75e2fb81b4155a7",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/pydantic-ai :: Basic Agent Test (async, fallback)❗︎ 117427ms
checkAgentSpanAttributes
checkChatSpanAttributes
83985aecgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
83985aecgen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(2 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (9)
[
  {
    "trace_id": "d2ce591b66da4d42a02c3c82bfc8e958",
    "span_id": "bf7d72e0e7eaa582",
    "parent_span_id": "83985aecda740099",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:24:51.455798Z",
    "timestamp": "2026-05-19T07:24:51.459017Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12403
    },
    "data": {
      "thread.id": "139878755563200",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "d2ce591b66da4d42a02c3c82bfc8e958",
    "span_id": "bda2737a3615d19d",
    "parent_span_id": "83985aecda740099",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:51.459127Z",
    "timestamp": "2026-05-19T07:24:51.464454Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12403
    },
    "data": {
      "thread.id": "139878755563200",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "d2ce591b66da4d42a02c3c82bfc8e958",
    "span_id": "a22a488b38857bfe",
    "parent_span_id": "bda2737a3615d19d",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:51.464367Z",
    "timestamp": "2026-05-19T07:24:51.464434Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12403
    },
    "data": {
      "thread.id": "139878755563200",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "d2ce591b66da4d42a02c3c82bfc8e958",
    "span_id": "b79761dce4bb7b17",
    "parent_span_id": "83985aecda740099",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:51.464496Z",
    "timestamp": "2026-05-19T07:24:51.464510Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12403
    },
    "data": {
      "thread.id": "139878755563200",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "d2ce591b66da4d42a02c3c82bfc8e958",
    "span_id": "96d959d2650a670a",
    "parent_span_id": "83985aecda740099",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:51.466259Z",
    "timestamp": "2026-05-19T07:24:51.563467Z",
    "origin": "auto.http.httpx",
    "status": "not_found",
    "tags": {
      "http.status_code": "404",
      "status": "not_found"
    },
    "data": {
      "thread.id": "139879011429248",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 404,
      "reason": "Not Found"
    }
  },
  {
    "trace_id": "d2ce591b66da4d42a02c3c82bfc8e958",
    "span_id": "99e4b7eea76dc562",
    "parent_span_id": "83985aecda740099",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:51.580036Z",
    "timestamp": "2026-05-19T07:24:53.668410Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139879011429248",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 47,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-agent-test-async-fallback.py",
      "code.function": "<module>"
    }
  },
  {
    "span_id": "af62944329586104",
    "trace_id": "d2ce591b66da4d42a02c3c82bfc8e958",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic Agent Test",
    "start_timestamp": "2026-05-19T07:24:51.414764Z",
    "timestamp": "2026-05-19T07:24:53.714383Z",
    "data": {
      "thread.id": "139879011429248",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "82440b0eae4dbd48",
    "trace_id": "d2ce591b66da4d42a02c3c82bfc8e958",
    "parent_span_id": "af62944329586104",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175491.419131,
    "timestamp": 1779175493.711097,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "139879011429248",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.request.messages": "[{\"content\": [{\"text\": \"You are a helpful assistant.\", \"type\": \"text\"}], \"role\": \"system\"}, {\"content\": [{\"text\": \"What is the capital of France?\", \"type\": \"text\"}], \"role\": \"user\"}]",
      "gen_ai.response.text": "Paris. Would you like a quick overview of the city?",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 213,
      "gen_ai.usage.total_tokens": 236,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic Agent Test",
      "sentry.segment.id": "af62944329586104",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "83985aecda740099",
    "trace_id": "d2ce591b66da4d42a02c3c82bfc8e958",
    "parent_span_id": "82440b0eae4dbd48",
    "op": "gen_ai.chat",
    "description": "chat fallback:gpt-4o-mini-bad-model-name,gpt-5-nano",
    "start_timestamp": 1779175491.444297,
    "timestamp": 1779175493.710107,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "139879011429248",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.system": "fallback:openai,openai",
      "gen_ai.request.model": "fallback:gpt-4o-mini-bad-model-name,gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What is the capital of France?\"}]}]",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 213,
      "gen_ai.usage.total_tokens": 236,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "Paris. Would you like a quick overview of the city?",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic Agent Test",
      "sentry.segment.id": "af62944329586104",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/pydantic-ai :: Tool Call Agent Test (async, single)❗︎ 1 117858ms
checkAgentSpanAttributes
checkChatSpanAttributes
8a65c741gen_ai.output.messagesMissing output messages attribute
8a947936gen_ai.output.messagesMissing output messages attribute
9f1bfbd9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9f1bfbd9gen_ai.output.messagesMissing output messages attribute
checkToolSpanAttributes
checkAgentHierarchy
checkValidTokenUsage
checkAvailableTools
checkResponseToolCalls(add, multiply)
checkToolCalls(add, multiply)
checkInputMessagesSchema
8a947936gen_ai.request.messagesmessages[1] should have either "parts" or "content" field
9f1bfbd9gen_ai.request.messagesmessages[1] should have either "parts" or "content" field
9f1bfbd9gen_ai.request.messagesmessages[3] should have either "parts" or "content" field
checkResponseModel
checkInputTokensCached
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.available_tools(4 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(2 spans) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(2 spans) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
{}Captured Spans (14)
[
  {
    "trace_id": "52ed02499b7c48c18453b98a92fb4968",
    "span_id": "9ccc97cf78a7cf9f",
    "parent_span_id": "8a65c74163f52b8d",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:24:51.582570Z",
    "timestamp": "2026-05-19T07:24:51.587001Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12410
    },
    "data": {
      "thread.id": "140070128547520",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "52ed02499b7c48c18453b98a92fb4968",
    "span_id": "aaf7a4887c9044a9",
    "parent_span_id": "8a65c74163f52b8d",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:51.587110Z",
    "timestamp": "2026-05-19T07:24:51.587272Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12410
    },
    "data": {
      "thread.id": "140070128547520",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "52ed02499b7c48c18453b98a92fb4968",
    "span_id": "b1ea0b1ed3cf8192",
    "parent_span_id": "aaf7a4887c9044a9",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:51.587225Z",
    "timestamp": "2026-05-19T07:24:51.587261Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12410
    },
    "data": {
      "thread.id": "140070128547520",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "52ed02499b7c48c18453b98a92fb4968",
    "span_id": "a59e417602aed8d2",
    "parent_span_id": "8a65c74163f52b8d",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:51.587310Z",
    "timestamp": "2026-05-19T07:24:51.587325Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12410
    },
    "data": {
      "thread.id": "140070128547520",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "52ed02499b7c48c18453b98a92fb4968",
    "span_id": "bfa6b2344be58c61",
    "parent_span_id": "8a65c74163f52b8d",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:51.589085Z",
    "timestamp": "2026-05-19T07:24:52.375538Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140070377012096",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 57,
      "code.namespace": "__main__",
      "code.filepath": "test-tool-call-agent-test-async-single.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "52ed02499b7c48c18453b98a92fb4968",
    "span_id": "856a74a24fd6aa91",
    "parent_span_id": "8a9479366b43aa4d",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:52.416396Z",
    "timestamp": "2026-05-19T07:24:53.033966Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140070377012096",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 57,
      "code.namespace": "__main__",
      "code.filepath": "test-tool-call-agent-test-async-single.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "52ed02499b7c48c18453b98a92fb4968",
    "span_id": "bc055aec45669a7d",
    "parent_span_id": "9f1bfbd9585d7968",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:53.049890Z",
    "timestamp": "2026-05-19T07:24:53.782323Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140070377012096",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 57,
      "code.namespace": "__main__",
      "code.filepath": "test-tool-call-agent-test-async-single.py",
      "code.function": "<module>"
    }
  },
  {
    "span_id": "b922e52e5f7c3252",
    "trace_id": "52ed02499b7c48c18453b98a92fb4968",
    "parent_span_id": null,
    "op": "test",
    "description": "Tool Call Agent Test",
    "start_timestamp": "2026-05-19T07:24:51.552651Z",
    "timestamp": "2026-05-19T07:24:53.795213Z",
    "data": {
      "thread.id": "140070377012096",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "ab77bb2596d5c911",
    "trace_id": "52ed02499b7c48c18453b98a92fb4968",
    "parent_span_id": "b922e52e5f7c3252",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent math_assistant",
    "start_timestamp": 1779175491.558752,
    "timestamp": 1779175493.786474,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "140070377012096",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.agent.name": "math_assistant",
      "gen_ai.request.available_tools": "[{\"name\": \"add\", \"description\": \"Add two numbers together\", \"parameters\": {\"additionalProperties\": false, \"properties\": {\"a\": {\"type\": \"number\"}, \"b\": {\"type\": \"number\"}}, \"required\": [\"a\", \"b\"], \"type\": \"object\"}}, {\"name\": \"multiply\", \"description\": \"Multiply two numbers together\", \"parameters\": {\"additionalProperties\": false, \"properties\": {\"a\": {\"type\": \"number\"}, \"b\": {\"type\": \"number\"}}, \"required\": [\"a\", \"b\"], \"type\": \"object\"}}]",
      "gen_ai.request.messages": "[{\"content\": [{\"text\": \"\", \"type\": \"text\"}], \"role\": \"system\"}, {\"content\": [{\"text\": \"Calculate (3 + 5) * 4. First use the add tool to add 3 and 5, then use the multiply tool to multiply the result by 4.\", \"type\": \"text\"}], \"role\": \"user\"}]",
      "gen_ai.response.text": "The result of the calculation \\((3 + 5) * 4\\) is 32.",
      "gen_ai.usage.input_tokens": 390,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 56,
      "gen_ai.usage.total_tokens": 446,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "b922e52e5f7c3252",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8a65c74163f52b8d",
    "trace_id": "52ed02499b7c48c18453b98a92fb4968",
    "parent_span_id": "ab77bb2596d5c911",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175491.576726,
    "timestamp": 1779175492.410443,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "140070377012096",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.agent.name": "math_assistant",
      "gen_ai.system": "openai",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.response.streaming": false,
      "gen_ai.request.available_tools": "[{\"name\": \"add\", \"description\": \"Add two numbers together\", \"parameters\": {\"additionalProperties\": false, \"properties\": {\"a\": {\"type\": \"number\"}, \"b\": {\"type\": \"number\"}}, \"required\": [\"a\", \"b\"], \"type\": \"object\"}}, {\"name\": \"multiply\", \"description\": \"Multiply two numbers together\", \"parameters\": {\"additionalProperties\": false, \"properties\": {\"a\": {\"type\": \"number\"}, \"b\": {\"type\": \"number\"}}, \"required\": [\"a\", \"b\"], \"type\": \"object\"}}]",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"Calculate (3 + 5) * 4. First use the add tool to add 3 and 5, then use the multiply tool to multiply the result by 4.\"}]}]",
      "gen_ai.usage.input_tokens": 105,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 17,
      "gen_ai.usage.total_tokens": 122,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.tool_calls": "[{\"type\": \"function\", \"name\": \"add\", \"arguments\": \"{\\\"a\\\":3,\\\"b\\\":5}\"}]",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "b922e52e5f7c3252",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b1fa1099f5a60ee2",
    "trace_id": "52ed02499b7c48c18453b98a92fb4968",
    "parent_span_id": "ab77bb2596d5c911",
    "op": "gen_ai.execute_tool",
    "description": "execute_tool add",
    "start_timestamp": 1779175492.41117,
    "timestamp": 1779175492.411958,
    "data": {
      "sentry.op": "gen_ai.execute_tool",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "140070377012096",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "execute_tool",
      "gen_ai.tool.name": "add",
      "gen_ai.tool.description": "Add two numbers together",
      "gen_ai.agent.name": "math_assistant",
      "gen_ai.tool.input": "{\"a\": 3, \"b\": 5}",
      "gen_ai.tool.output": "8",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "b922e52e5f7c3252",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8a9479366b43aa4d",
    "trace_id": "52ed02499b7c48c18453b98a92fb4968",
    "parent_span_id": "ab77bb2596d5c911",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175492.412365,
    "timestamp": 1779175493.038279,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "140070377012096",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.agent.name": "math_assistant",
      "gen_ai.system": "openai",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.response.streaming": false,
      "gen_ai.request.available_tools": "[{\"name\": \"add\", \"description\": \"Add two numbers together\", \"parameters\": {\"additionalProperties\": false, \"properties\": {\"a\": {\"type\": \"number\"}, \"b\": {\"type\": \"number\"}}, \"required\": [\"a\", \"b\"], \"type\": \"object\"}}, {\"name\": \"multiply\", \"description\": \"Multiply two numbers together\", \"parameters\": {\"additionalProperties\": false, \"properties\": {\"a\": {\"type\": \"number\"}, \"b\": {\"type\": \"number\"}}, \"required\": [\"a\", \"b\"], \"type\": \"object\"}}]",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"Calculate (3 + 5) * 4. First use the add tool to add 3 and 5, then use the multiply tool to multiply the result by 4.\"}]}, {\"role\": \"assistant\", \"tool_calls\": [{\"name\": \"add\", \"arguments\": \"{\\\"a\\\":3,\\\"b\\\":5}\"}]}, {\"role\": \"tool\", \"content\": [{\"type\": \"text\", \"text\": \"8\"}], \"tool_call_id\": \"add\"}]",
      "gen_ai.usage.input_tokens": 130,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 17,
      "gen_ai.usage.total_tokens": 147,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.tool_calls": "[{\"type\": \"function\", \"name\": \"multiply\", \"arguments\": \"{\\\"a\\\":8,\\\"b\\\":4}\"}]",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "b922e52e5f7c3252",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "830a7f1fb20e1f5f",
    "trace_id": "52ed02499b7c48c18453b98a92fb4968",
    "parent_span_id": "ab77bb2596d5c911",
    "op": "gen_ai.execute_tool",
    "description": "execute_tool multiply",
    "start_timestamp": 1779175493.038982,
    "timestamp": 1779175493.042016,
    "data": {
      "sentry.op": "gen_ai.execute_tool",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "140070377012096",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "execute_tool",
      "gen_ai.tool.name": "multiply",
      "gen_ai.tool.description": "Multiply two numbers together",
      "gen_ai.agent.name": "math_assistant",
      "gen_ai.tool.input": "{\"a\": 8, \"b\": 4}",
      "gen_ai.tool.output": "32",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "b922e52e5f7c3252",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9f1bfbd9585d7968",
    "trace_id": "52ed02499b7c48c18453b98a92fb4968",
    "parent_span_id": "ab77bb2596d5c911",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175493.042517,
    "timestamp": 1779175493.783413,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "140070377012096",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.agent.name": "math_assistant",
      "gen_ai.system": "openai",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.response.streaming": false,
      "gen_ai.request.available_tools": "[{\"name\": \"add\", \"description\": \"Add two numbers together\", \"parameters\": {\"additionalProperties\": false, \"properties\": {\"a\": {\"type\": \"number\"}, \"b\": {\"type\": \"number\"}}, \"required\": [\"a\", \"b\"], \"type\": \"object\"}}, {\"name\": \"multiply\", \"description\": \"Multiply two numbers together\", \"parameters\": {\"additionalProperties\": false, \"properties\": {\"a\": {\"type\": \"number\"}, \"b\": {\"type\": \"number\"}}, \"required\": [\"a\", \"b\"], \"type\": \"object\"}}]",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"Calculate (3 + 5) * 4. First use the add tool to add 3 and 5, then use the multiply tool to multiply the result by 4.\"}]}, {\"role\": \"assistant\", \"tool_calls\": [{\"name\": \"add\", \"arguments\": \"{\\\"a\\\":3,\\\"b\\\":5}\"}]}, {\"role\": \"tool\", \"content\": [{\"type\": \"text\", \"text\": \"8\"}], \"tool_call_id\": \"add\"}, {\"role\": \"assistant\", \"tool_calls\": [{\"name\": \"multiply\", \"arguments\": \"{\\\"a\\\":8,\\\"b\\\":4}\"}]}, {\"role\": \"tool\", \"content\": [{\"type\": \"text\", \"text\": \"32\"}], \"tool_call_id\": \"multiply\"}]",
      "gen_ai.usage.input_tokens": 155,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 22,
      "gen_ai.usage.total_tokens": 177,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.text": "The result of the calculation \\((3 + 5) * 4\\) is 32.",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "b922e52e5f7c3252",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/pydantic-ai :: Tool Call Agent Test (async, fallback)❗︎ 1 121165ms
checkAgentSpanAttributes
checkChatSpanAttributes
8d79503cgen_ai.output.messagesMissing output messages attribute
ae4fc132gen_ai.output.messagesMissing output messages attribute
9bed9fb8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9bed9fb8gen_ai.output.messagesMissing output messages attribute
checkToolSpanAttributes
checkAgentHierarchy
checkValidTokenUsage
checkAvailableTools
checkResponseToolCalls(add, multiply)
checkToolCalls(add, multiply)
checkInputMessagesSchema
ae4fc132gen_ai.request.messagesmessages[1] should have either "parts" or "content" field
9bed9fb8gen_ai.request.messagesmessages[1] should have either "parts" or "content" field
9bed9fb8gen_ai.request.messagesmessages[3] should have either "parts" or "content" field
checkResponseModel
checkInputTokensCached
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.available_tools(4 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(2 spans) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(2 spans) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
{}Captured Spans (17)
[
  {
    "trace_id": "bd68d0b480db410ca2f29ce22fc85b31",
    "span_id": "b639986fd0041696",
    "parent_span_id": "8d79503cabd05908",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:24:51.579425Z",
    "timestamp": "2026-05-19T07:24:51.583983Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12408
    },
    "data": {
      "thread.id": "140241144477376",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "bd68d0b480db410ca2f29ce22fc85b31",
    "span_id": "b3d355a1bb8d8773",
    "parent_span_id": "8d79503cabd05908",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:51.584083Z",
    "timestamp": "2026-05-19T07:24:51.584504Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12408
    },
    "data": {
      "thread.id": "140241144477376",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "bd68d0b480db410ca2f29ce22fc85b31",
    "span_id": "8835df7d8df33fd0",
    "parent_span_id": "b3d355a1bb8d8773",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:51.584283Z",
    "timestamp": "2026-05-19T07:24:51.584492Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12408
    },
    "data": {
      "thread.id": "140241144477376",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "bd68d0b480db410ca2f29ce22fc85b31",
    "span_id": "b352df44e0345670",
    "parent_span_id": "8d79503cabd05908",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:51.584541Z",
    "timestamp": "2026-05-19T07:24:51.584559Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12408
    },
    "data": {
      "thread.id": "140241144477376",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "bd68d0b480db410ca2f29ce22fc85b31",
    "span_id": "940ec8d34c2471fb",
    "parent_span_id": "8d79503cabd05908",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:51.586115Z",
    "timestamp": "2026-05-19T07:24:51.784650Z",
    "origin": "auto.http.httpx",
    "status": "not_found",
    "tags": {
      "http.status_code": "404",
      "status": "not_found"
    },
    "data": {
      "thread.id": "140241400195968",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 404,
      "reason": "Not Found",
      "code.lineno": 58,
      "code.namespace": "__main__",
      "code.filepath": "test-tool-call-agent-test-async-fallback.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "bd68d0b480db410ca2f29ce22fc85b31",
    "span_id": "bcff1272562daa51",
    "parent_span_id": "8d79503cabd05908",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:51.788741Z",
    "timestamp": "2026-05-19T07:24:54.874302Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140241400195968",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 58,
      "code.namespace": "__main__",
      "code.filepath": "test-tool-call-agent-test-async-fallback.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "bd68d0b480db410ca2f29ce22fc85b31",
    "span_id": "92bb3af3c8bb0269",
    "parent_span_id": "ae4fc132924141d2",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:54.933743Z",
    "timestamp": "2026-05-19T07:24:55.028274Z",
    "origin": "auto.http.httpx",
    "status": "not_found",
    "tags": {
      "http.status_code": "404",
      "status": "not_found"
    },
    "data": {
      "thread.id": "140241400195968",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 404,
      "reason": "Not Found"
    }
  },
  {
    "trace_id": "bd68d0b480db410ca2f29ce22fc85b31",
    "span_id": "9c16a21b8476a44b",
    "parent_span_id": "ae4fc132924141d2",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:55.035309Z",
    "timestamp": "2026-05-19T07:24:55.709331Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140241400195968",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 58,
      "code.namespace": "__main__",
      "code.filepath": "test-tool-call-agent-test-async-fallback.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "bd68d0b480db410ca2f29ce22fc85b31",
    "span_id": "89a90c25722b9ba3",
    "parent_span_id": "9bed9fb8a9d94a8c",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:55.726852Z",
    "timestamp": "2026-05-19T07:24:55.789449Z",
    "origin": "auto.http.httpx",
    "status": "not_found",
    "tags": {
      "http.status_code": "404",
      "status": "not_found"
    },
    "data": {
      "thread.id": "140241400195968",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 404,
      "reason": "Not Found"
    }
  },
  {
    "trace_id": "bd68d0b480db410ca2f29ce22fc85b31",
    "span_id": "9bdc33fe7e1c63c4",
    "parent_span_id": "9bed9fb8a9d94a8c",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:55.799695Z",
    "timestamp": "2026-05-19T07:24:56.325368Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140241400195968",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 58,
      "code.namespace": "__main__",
      "code.filepath": "test-tool-call-agent-test-async-fallback.py",
      "code.function": "<module>"
    }
  },
  {
    "span_id": "b1aedde7028f50ed",
    "trace_id": "bd68d0b480db410ca2f29ce22fc85b31",
    "parent_span_id": null,
    "op": "test",
    "description": "Tool Call Agent Test",
    "start_timestamp": "2026-05-19T07:24:51.550341Z",
    "timestamp": "2026-05-19T07:24:56.340377Z",
    "data": {
      "thread.id": "140241400195968",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "a68d22b4c316b598",
    "trace_id": "bd68d0b480db410ca2f29ce22fc85b31",
    "parent_span_id": "b1aedde7028f50ed",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent math_assistant",
    "start_timestamp": 1779175491.553508,
    "timestamp": 1779175496.333799,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "140241400195968",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.agent.name": "math_assistant",
      "gen_ai.request.available_tools": "[{\"name\": \"add\", \"description\": \"Add two numbers together\", \"parameters\": {\"additionalProperties\": false, \"properties\": {\"a\": {\"type\": \"number\"}, \"b\": {\"type\": \"number\"}}, \"required\": [\"a\", \"b\"], \"type\": \"object\"}}, {\"name\": \"multiply\", \"description\": \"Multiply two numbers together\", \"parameters\": {\"additionalProperties\": false, \"properties\": {\"a\": {\"type\": \"number\"}, \"b\": {\"type\": \"number\"}}, \"required\": [\"a\", \"b\"], \"type\": \"object\"}}]",
      "gen_ai.request.messages": "[{\"content\": [{\"text\": \"\", \"type\": \"text\"}], \"role\": \"system\"}, {\"content\": [{\"text\": \"Calculate (3 + 5) * 4. First use the add tool to add 3 and 5, then use the multiply tool to multiply the result by 4.\", \"type\": \"text\"}], \"role\": \"user\"}]",
      "gen_ai.response.text": "32",
      "gen_ai.usage.input_tokens": 657,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 434,
      "gen_ai.usage.total_tokens": 1091,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "b1aedde7028f50ed",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8d79503cabd05908",
    "trace_id": "bd68d0b480db410ca2f29ce22fc85b31",
    "parent_span_id": "a68d22b4c316b598",
    "op": "gen_ai.chat",
    "description": "chat fallback:gpt-4o-mini-bad-model-name,gpt-5-nano",
    "start_timestamp": 1779175491.564856,
    "timestamp": 1779175494.918313,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "140241400195968",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.agent.name": "math_assistant",
      "gen_ai.system": "fallback:openai,openai",
      "gen_ai.request.model": "fallback:gpt-4o-mini-bad-model-name,gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.request.available_tools": "[{\"name\": \"add\", \"description\": \"Add two numbers together\", \"parameters\": {\"additionalProperties\": false, \"properties\": {\"a\": {\"type\": \"number\"}, \"b\": {\"type\": \"number\"}}, \"required\": [\"a\", \"b\"], \"type\": \"object\"}}, {\"name\": \"multiply\", \"description\": \"Multiply two numbers together\", \"parameters\": {\"additionalProperties\": false, \"properties\": {\"a\": {\"type\": \"number\"}, \"b\": {\"type\": \"number\"}}, \"required\": [\"a\", \"b\"], \"type\": \"object\"}}]",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"Calculate (3 + 5) * 4. First use the add tool to add 3 and 5, then use the multiply tool to multiply the result by 4.\"}]}]",
      "gen_ai.usage.input_tokens": 188,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 410,
      "gen_ai.usage.total_tokens": 598,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.tool_calls": "[{\"type\": \"function\", \"name\": \"add\", \"arguments\": \"{\\\"a\\\":3,\\\"b\\\":5}\"}]",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "b1aedde7028f50ed",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "833a1810cbbc7b3a",
    "trace_id": "bd68d0b480db410ca2f29ce22fc85b31",
    "parent_span_id": "a68d22b4c316b598",
    "op": "gen_ai.execute_tool",
    "description": "execute_tool add",
    "start_timestamp": 1779175494.922236,
    "timestamp": 1779175494.923254,
    "data": {
      "sentry.op": "gen_ai.execute_tool",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "140241400195968",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "execute_tool",
      "gen_ai.tool.name": "add",
      "gen_ai.tool.description": "Add two numbers together",
      "gen_ai.agent.name": "math_assistant",
      "gen_ai.tool.input": "{\"a\": 3, \"b\": 5}",
      "gen_ai.tool.output": "8",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "b1aedde7028f50ed",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "ae4fc132924141d2",
    "trace_id": "bd68d0b480db410ca2f29ce22fc85b31",
    "parent_span_id": "a68d22b4c316b598",
    "op": "gen_ai.chat",
    "description": "chat fallback:gpt-4o-mini-bad-model-name,gpt-5-nano",
    "start_timestamp": 1779175494.923698,
    "timestamp": 1779175495.71475,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "140241400195968",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.agent.name": "math_assistant",
      "gen_ai.system": "fallback:openai,openai",
      "gen_ai.request.model": "fallback:gpt-4o-mini-bad-model-name,gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.request.available_tools": "[{\"name\": \"add\", \"description\": \"Add two numbers together\", \"parameters\": {\"additionalProperties\": false, \"properties\": {\"a\": {\"type\": \"number\"}, \"b\": {\"type\": \"number\"}}, \"required\": [\"a\", \"b\"], \"type\": \"object\"}}, {\"name\": \"multiply\", \"description\": \"Multiply two numbers together\", \"parameters\": {\"additionalProperties\": false, \"properties\": {\"a\": {\"type\": \"number\"}, \"b\": {\"type\": \"number\"}}, \"required\": [\"a\", \"b\"], \"type\": \"object\"}}]",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"Calculate (3 + 5) * 4. First use the add tool to add 3 and 5, then use the multiply tool to multiply the result by 4.\"}]}, {\"role\": \"assistant\", \"tool_calls\": [{\"name\": \"add\", \"arguments\": \"{\\\"a\\\":3,\\\"b\\\":5}\"}]}, {\"role\": \"tool\", \"content\": [{\"type\": \"text\", \"text\": \"8\"}], \"tool_call_id\": \"add\"}]",
      "gen_ai.usage.input_tokens": 219,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 20,
      "gen_ai.usage.total_tokens": 239,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.tool_calls": "[{\"type\": \"function\", \"name\": \"multiply\", \"arguments\": \"{\\\"a\\\":8,\\\"b\\\":4}\"}]",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "b1aedde7028f50ed",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "99eb5e7a5be85afe",
    "trace_id": "bd68d0b480db410ca2f29ce22fc85b31",
    "parent_span_id": "a68d22b4c316b598",
    "op": "gen_ai.execute_tool",
    "description": "execute_tool multiply",
    "start_timestamp": 1779175495.715536,
    "timestamp": 1779175495.71603,
    "data": {
      "sentry.op": "gen_ai.execute_tool",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "140241400195968",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "execute_tool",
      "gen_ai.tool.name": "multiply",
      "gen_ai.tool.description": "Multiply two numbers together",
      "gen_ai.agent.name": "math_assistant",
      "gen_ai.tool.input": "{\"a\": 8, \"b\": 4}",
      "gen_ai.tool.output": "32",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "b1aedde7028f50ed",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9bed9fb8a9d94a8c",
    "trace_id": "bd68d0b480db410ca2f29ce22fc85b31",
    "parent_span_id": "a68d22b4c316b598",
    "op": "gen_ai.chat",
    "description": "chat fallback:gpt-4o-mini-bad-model-name,gpt-5-nano",
    "start_timestamp": 1779175495.716531,
    "timestamp": 1779175496.326557,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "140241400195968",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.agent.name": "math_assistant",
      "gen_ai.system": "fallback:openai,openai",
      "gen_ai.request.model": "fallback:gpt-4o-mini-bad-model-name,gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.request.available_tools": "[{\"name\": \"add\", \"description\": \"Add two numbers together\", \"parameters\": {\"additionalProperties\": false, \"properties\": {\"a\": {\"type\": \"number\"}, \"b\": {\"type\": \"number\"}}, \"required\": [\"a\", \"b\"], \"type\": \"object\"}}, {\"name\": \"multiply\", \"description\": \"Multiply two numbers together\", \"parameters\": {\"additionalProperties\": false, \"properties\": {\"a\": {\"type\": \"number\"}, \"b\": {\"type\": \"number\"}}, \"required\": [\"a\", \"b\"], \"type\": \"object\"}}]",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"Calculate (3 + 5) * 4. First use the add tool to add 3 and 5, then use the multiply tool to multiply the result by 4.\"}]}, {\"role\": \"assistant\", \"tool_calls\": [{\"name\": \"add\", \"arguments\": \"{\\\"a\\\":3,\\\"b\\\":5}\"}]}, {\"role\": \"tool\", \"content\": [{\"type\": \"text\", \"text\": \"8\"}], \"tool_call_id\": \"add\"}, {\"role\": \"assistant\", \"tool_calls\": [{\"name\": \"multiply\", \"arguments\": \"{\\\"a\\\":8,\\\"b\\\":4}\"}]}, {\"role\": \"tool\", \"content\": [{\"type\": \"text\", \"text\": \"32\"}], \"tool_call_id\": \"multiply\"}]",
      "gen_ai.usage.input_tokens": 250,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 4,
      "gen_ai.usage.total_tokens": 254,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "32",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Call Agent Test",
      "sentry.segment.id": "b1aedde7028f50ed",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/pydantic-ai :: Tool Error Agent Test (async, single)❗︎ 115943ms
checkAgentSpanAttributes
checkChatSpanAttributes
9b7c747egen_ai.output.messagesMissing output messages attribute
checkToolSpanAttributes
checkAgentHierarchy
checkAvailableTools
checkResponseToolCalls(read_file)
checkInputMessagesSchema
checkToolErrorSpan
checkResponseModel
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.request.messages(2 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.tool_calls(1 span) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
{}Captured Spans (9)
[
  {
    "trace_id": "256cae5ce58d458ba3823a044f0b6416",
    "span_id": "87d910fabe5feaab",
    "parent_span_id": "9b7c747ea0ee775e",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:24:51.674238Z",
    "timestamp": "2026-05-19T07:24:51.676981Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12415
    },
    "data": {
      "thread.id": "140232044558016",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "256cae5ce58d458ba3823a044f0b6416",
    "span_id": "8ac398703f37ad9f",
    "parent_span_id": "9b7c747ea0ee775e",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:51.677100Z",
    "timestamp": "2026-05-19T07:24:51.678509Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12415
    },
    "data": {
      "thread.id": "140232044558016",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "256cae5ce58d458ba3823a044f0b6416",
    "span_id": "bd49127e403ed170",
    "parent_span_id": "8ac398703f37ad9f",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:51.678373Z",
    "timestamp": "2026-05-19T07:24:51.678494Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12415
    },
    "data": {
      "thread.id": "140232044558016",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "256cae5ce58d458ba3823a044f0b6416",
    "span_id": "91fb9b3a19a5df5e",
    "parent_span_id": "9b7c747ea0ee775e",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:51.678551Z",
    "timestamp": "2026-05-19T07:24:51.678566Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12415
    },
    "data": {
      "thread.id": "140232044558016",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "256cae5ce58d458ba3823a044f0b6416",
    "span_id": "932bc49235f016d6",
    "parent_span_id": "9b7c747ea0ee775e",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:51.680429Z",
    "timestamp": "2026-05-19T07:24:52.262075Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140232299887488",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 52,
      "code.namespace": "__main__",
      "code.filepath": "test-tool-error-agent-test-async-single.py",
      "code.function": "<module>"
    }
  },
  {
    "span_id": "b15c661c1361f098",
    "trace_id": "256cae5ce58d458ba3823a044f0b6416",
    "parent_span_id": null,
    "op": "test",
    "description": "Tool Error Agent Test",
    "start_timestamp": "2026-05-19T07:24:51.638080Z",
    "timestamp": "2026-05-19T07:24:52.839352Z",
    "data": {
      "thread.id": "140232299887488",
      "thread.name": "MainThread"
    },
    "status": "internal_error"
  },
  {
    "span_id": "9b5530f5e66f9316",
    "trace_id": "256cae5ce58d458ba3823a044f0b6416",
    "parent_span_id": "b15c661c1361f098",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent file_assistant",
    "start_timestamp": 1779175491.642548,
    "timestamp": 1779175492.836504,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "140232299887488",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.agent.name": "file_assistant",
      "gen_ai.request.available_tools": "[{\"name\": \"read_file\", \"description\": \"Read the contents of a file\", \"parameters\": {\"additionalProperties\": false, \"properties\": {\"path\": {\"type\": \"string\"}}, \"required\": [\"path\"], \"type\": \"object\"}}]",
      "gen_ai.request.messages": "[{\"content\": [{\"text\": \"\", \"type\": \"text\"}], \"role\": \"system\"}, {\"content\": [{\"text\": \"Please read the file at /nonexistent/file.txt and tell me what it contains. Use the read_file tool.\", \"type\": \"text\"}], \"role\": \"user\"}]",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Error Agent Test",
      "sentry.segment.id": "b15c661c1361f098",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "9b7c747ea0ee775e",
    "trace_id": "256cae5ce58d458ba3823a044f0b6416",
    "parent_span_id": "9b5530f5e66f9316",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175491.661369,
    "timestamp": 1779175492.288477,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "140232299887488",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.agent.name": "file_assistant",
      "gen_ai.system": "openai",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.response.streaming": false,
      "gen_ai.request.available_tools": "[{\"name\": \"read_file\", \"description\": \"Read the contents of a file\", \"parameters\": {\"additionalProperties\": false, \"properties\": {\"path\": {\"type\": \"string\"}}, \"required\": [\"path\"], \"type\": \"object\"}}]",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"Please read the file at /nonexistent/file.txt and tell me what it contains. Use the read_file tool.\"}]}]",
      "gen_ai.usage.input_tokens": 68,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 18,
      "gen_ai.usage.total_tokens": 86,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.tool_calls": "[{\"type\": \"function\", \"name\": \"read_file\", \"arguments\": \"{\\\"path\\\":\\\"/nonexistent/file.txt\\\"}\"}]",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Error Agent Test",
      "sentry.segment.id": "b15c661c1361f098",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8e39a326e5c43fd1",
    "trace_id": "256cae5ce58d458ba3823a044f0b6416",
    "parent_span_id": "9b5530f5e66f9316",
    "op": "gen_ai.execute_tool",
    "description": "execute_tool read_file",
    "start_timestamp": 1779175492.289591,
    "timestamp": 1779175492.290661,
    "data": {
      "sentry.op": "gen_ai.execute_tool",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "140232299887488",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "execute_tool",
      "gen_ai.tool.name": "read_file",
      "gen_ai.tool.description": "Read the contents of a file",
      "gen_ai.agent.name": "file_assistant",
      "gen_ai.tool.input": "{\"path\": \"/nonexistent/file.txt\"}",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Error Agent Test",
      "sentry.segment.id": "b15c661c1361f098",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "error",
    "is_segment": false
  }
]
python/pydantic-ai :: Tool Error Agent Test (async, fallback)❗︎ 115503ms
checkAgentSpanAttributes
checkChatSpanAttributes
b7e96f98gen_ai.output.messagesMissing output messages attribute
checkToolSpanAttributes
checkAgentHierarchy
checkAvailableTools
checkResponseToolCalls(read_file)
checkInputMessagesSchema
checkToolErrorSpan
checkResponseModel
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.request.messages(2 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.tool_calls(1 span) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
{}Captured Spans (10)
[
  {
    "trace_id": "609d6f7bba2f456aa833299f395242c7",
    "span_id": "aedac8b6a810343d",
    "parent_span_id": "b7e96f9856b083a0",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:24:51.719165Z",
    "timestamp": "2026-05-19T07:24:51.721698Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12418
    },
    "data": {
      "thread.id": "140097772533440",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "609d6f7bba2f456aa833299f395242c7",
    "span_id": "b5e5be88289665af",
    "parent_span_id": "b7e96f9856b083a0",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:51.721785Z",
    "timestamp": "2026-05-19T07:24:51.721954Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12418
    },
    "data": {
      "thread.id": "140097772533440",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "609d6f7bba2f456aa833299f395242c7",
    "span_id": "b73aab1f00e87a74",
    "parent_span_id": "b5e5be88289665af",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:51.721905Z",
    "timestamp": "2026-05-19T07:24:51.721944Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12418
    },
    "data": {
      "thread.id": "140097772533440",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "609d6f7bba2f456aa833299f395242c7",
    "span_id": "8cfe484bb7a7c2f4",
    "parent_span_id": "b7e96f9856b083a0",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:51.721989Z",
    "timestamp": "2026-05-19T07:24:51.722002Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12418
    },
    "data": {
      "thread.id": "140097772533440",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "609d6f7bba2f456aa833299f395242c7",
    "span_id": "8bc8e07adca09c8d",
    "parent_span_id": "b7e96f9856b083a0",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:51.723501Z",
    "timestamp": "2026-05-19T07:24:51.810049Z",
    "origin": "auto.http.httpx",
    "status": "not_found",
    "tags": {
      "http.status_code": "404",
      "status": "not_found"
    },
    "data": {
      "thread.id": "140098027854720",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 404,
      "reason": "Not Found"
    }
  },
  {
    "trace_id": "609d6f7bba2f456aa833299f395242c7",
    "span_id": "8d4c27eb2a4742cd",
    "parent_span_id": "b7e96f9856b083a0",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:51.813647Z",
    "timestamp": "2026-05-19T07:24:52.982326Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140098027854720",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 53,
      "code.namespace": "__main__",
      "code.filepath": "test-tool-error-agent-test-async-fallback.py",
      "code.function": "<module>"
    }
  },
  {
    "span_id": "a5fb85e8b1c58664",
    "trace_id": "609d6f7bba2f456aa833299f395242c7",
    "parent_span_id": null,
    "op": "test",
    "description": "Tool Error Agent Test",
    "start_timestamp": "2026-05-19T07:24:51.704012Z",
    "timestamp": "2026-05-19T07:24:53.603210Z",
    "data": {
      "thread.id": "140098027854720",
      "thread.name": "MainThread"
    },
    "status": "internal_error"
  },
  {
    "span_id": "bb96752514218e90",
    "trace_id": "609d6f7bba2f456aa833299f395242c7",
    "parent_span_id": "a5fb85e8b1c58664",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent file_assistant",
    "start_timestamp": 1779175491.705084,
    "timestamp": 1779175493.596236,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "140098027854720",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.agent.name": "file_assistant",
      "gen_ai.request.available_tools": "[{\"name\": \"read_file\", \"description\": \"Read the contents of a file\", \"parameters\": {\"additionalProperties\": false, \"properties\": {\"path\": {\"type\": \"string\"}}, \"required\": [\"path\"], \"type\": \"object\"}}]",
      "gen_ai.request.messages": "[{\"content\": [{\"text\": \"\", \"type\": \"text\"}], \"role\": \"system\"}, {\"content\": [{\"text\": \"Please read the file at /nonexistent/file.txt and tell me what it contains. Use the read_file tool.\", \"type\": \"text\"}], \"role\": \"user\"}]",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Error Agent Test",
      "sentry.segment.id": "a5fb85e8b1c58664",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "b7e96f9856b083a0",
    "trace_id": "609d6f7bba2f456aa833299f395242c7",
    "parent_span_id": "bb96752514218e90",
    "op": "gen_ai.chat",
    "description": "chat fallback:gpt-4o-mini-bad-model-name,gpt-5-nano",
    "start_timestamp": 1779175491.713914,
    "timestamp": 1779175493.030444,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "140098027854720",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.agent.name": "file_assistant",
      "gen_ai.system": "fallback:openai,openai",
      "gen_ai.request.model": "fallback:gpt-4o-mini-bad-model-name,gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.request.available_tools": "[{\"name\": \"read_file\", \"description\": \"Read the contents of a file\", \"parameters\": {\"additionalProperties\": false, \"properties\": {\"path\": {\"type\": \"string\"}}, \"required\": [\"path\"], \"type\": \"object\"}}]",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"Please read the file at /nonexistent/file.txt and tell me what it contains. Use the read_file tool.\"}]}]",
      "gen_ai.usage.input_tokens": 151,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 91,
      "gen_ai.usage.total_tokens": 242,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.tool_calls": "[{\"type\": \"function\", \"name\": \"read_file\", \"arguments\": \"{\\\"path\\\":\\\"/nonexistent/file.txt\\\"}\"}]",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Error Agent Test",
      "sentry.segment.id": "a5fb85e8b1c58664",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "83bf6c1fe93ffbb6",
    "trace_id": "609d6f7bba2f456aa833299f395242c7",
    "parent_span_id": "bb96752514218e90",
    "op": "gen_ai.execute_tool",
    "description": "execute_tool read_file",
    "start_timestamp": 1779175493.031304,
    "timestamp": 1779175493.035481,
    "data": {
      "sentry.op": "gen_ai.execute_tool",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "140098027854720",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "execute_tool",
      "gen_ai.tool.name": "read_file",
      "gen_ai.tool.description": "Read the contents of a file",
      "gen_ai.agent.name": "file_assistant",
      "gen_ai.tool.input": "{\"path\": \"/nonexistent/file.txt\"}",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Tool Error Agent Test",
      "sentry.segment.id": "a5fb85e8b1c58664",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "error",
    "is_segment": false
  }
]
python/pydantic-ai :: Vision Agent Test (async, single)❗︎ 113264ms
checkAgentSpanAttributes
checkChatSpanAttributes
b36de6c8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b36de6c8gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(2 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (8)
[
  {
    "trace_id": "277bb313b904462abb784825ab672811",
    "span_id": "a08af4330933e66c",
    "parent_span_id": "b36de6c8460782d2",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:24:52.383200Z",
    "timestamp": "2026-05-19T07:24:52.385598Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12429
    },
    "data": {
      "thread.id": "140588815578816",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "277bb313b904462abb784825ab672811",
    "span_id": "86930e4fa86ea610",
    "parent_span_id": "b36de6c8460782d2",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:52.385681Z",
    "timestamp": "2026-05-19T07:24:52.385803Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12429
    },
    "data": {
      "thread.id": "140588815578816",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "277bb313b904462abb784825ab672811",
    "span_id": "8f58b1f6909f2475",
    "parent_span_id": "86930e4fa86ea610",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:52.385765Z",
    "timestamp": "2026-05-19T07:24:52.385795Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12429
    },
    "data": {
      "thread.id": "140588815578816",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "277bb313b904462abb784825ab672811",
    "span_id": "a4500c4c861c25e3",
    "parent_span_id": "b36de6c8460782d2",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:52.385829Z",
    "timestamp": "2026-05-19T07:24:52.385839Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12429
    },
    "data": {
      "thread.id": "140588815578816",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "277bb313b904462abb784825ab672811",
    "span_id": "abccbd743c1c854f",
    "parent_span_id": "b36de6c8460782d2",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:52.387279Z",
    "timestamp": "2026-05-19T07:24:52.933743Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140589072194432",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 50,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-agent-test-async-single.py",
      "code.function": "<module>"
    }
  },
  {
    "span_id": "81bb2b03ab5f5465",
    "trace_id": "277bb313b904462abb784825ab672811",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision Agent Test",
    "start_timestamp": "2026-05-19T07:24:52.369736Z",
    "timestamp": "2026-05-19T07:24:52.954942Z",
    "data": {
      "thread.id": "140589072194432",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "a2b7bdd32e69118c",
    "trace_id": "277bb313b904462abb784825ab672811",
    "parent_span_id": "81bb2b03ab5f5465",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent vision_assistant",
    "start_timestamp": 1779175492.370793,
    "timestamp": 1779175492.953923,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "140589072194432",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.agent.name": "vision_assistant",
      "gen_ai.request.messages": "[{\"content\": [{\"text\": \"You are a helpful assistant that can analyze images. Be concise.\", \"type\": \"text\"}], \"role\": \"system\"}, {\"content\": [{\"text\": \"What color is this image? Reply with just the color name.\", \"type\": \"text\"}, {\"type\": \"image\", \"content\": \"[Blob substitute]\"}], \"role\": \"user\"}]",
      "gen_ai.response.text": "Red",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 8538,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision Agent Test",
      "sentry.segment.id": "81bb2b03ab5f5465",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b36de6c8460782d2",
    "trace_id": "277bb313b904462abb784825ab672811",
    "parent_span_id": "a2b7bdd32e69118c",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175492.378217,
    "timestamp": 1779175492.953049,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "140589072194432",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.agent.name": "vision_assistant",
      "gen_ai.system": "openai",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.response.streaming": false,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"image\", \"content\": \"[Blob substitute]\"}]}]",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 8538,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.text": "Red",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision Agent Test",
      "sentry.segment.id": "81bb2b03ab5f5465",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/pydantic-ai :: Vision Agent Test (async, fallback)❗︎ 114640ms
checkAgentSpanAttributes
checkChatSpanAttributes
b199bb24gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b199bb24gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(2 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (9)
[
  {
    "trace_id": "7150da5866974b5fa51c9bc96ea93357",
    "span_id": "906558116ce1e886",
    "parent_span_id": "b199bb24fc31b664",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:24:56.534756Z",
    "timestamp": "2026-05-19T07:24:56.541990Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12487
    },
    "data": {
      "thread.id": "139892498200256",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "7150da5866974b5fa51c9bc96ea93357",
    "span_id": "9621b810a2f9d878",
    "parent_span_id": "b199bb24fc31b664",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:56.542122Z",
    "timestamp": "2026-05-19T07:24:56.548122Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12487
    },
    "data": {
      "thread.id": "139892498200256",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "7150da5866974b5fa51c9bc96ea93357",
    "span_id": "8e9ebdf2a36c0b28",
    "parent_span_id": "9621b810a2f9d878",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:56.548040Z",
    "timestamp": "2026-05-19T07:24:56.548101Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12487
    },
    "data": {
      "thread.id": "139892498200256",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "7150da5866974b5fa51c9bc96ea93357",
    "span_id": "8f2be64c01c3a499",
    "parent_span_id": "b199bb24fc31b664",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:24:56.548164Z",
    "timestamp": "2026-05-19T07:24:56.548179Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12487
    },
    "data": {
      "thread.id": "139892498200256",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "7150da5866974b5fa51c9bc96ea93357",
    "span_id": "958ac1c22117d430",
    "parent_span_id": "b199bb24fc31b664",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:56.549842Z",
    "timestamp": "2026-05-19T07:24:56.681052Z",
    "origin": "auto.http.httpx",
    "status": "not_found",
    "tags": {
      "http.status_code": "404",
      "status": "not_found"
    },
    "data": {
      "thread.id": "139892754619264",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 404,
      "reason": "Not Found",
      "code.lineno": 51,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-agent-test-async-fallback.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "7150da5866974b5fa51c9bc96ea93357",
    "span_id": "a2338c6b12c844f0",
    "parent_span_id": "b199bb24fc31b664",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:24:56.692145Z",
    "timestamp": "2026-05-19T07:24:58.286315Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139892754619264",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 51,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-agent-test-async-fallback.py",
      "code.function": "<module>"
    }
  },
  {
    "span_id": "996eaa93c9f6aa02",
    "trace_id": "7150da5866974b5fa51c9bc96ea93357",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision Agent Test",
    "start_timestamp": "2026-05-19T07:24:56.485127Z",
    "timestamp": "2026-05-19T07:24:58.381208Z",
    "data": {
      "thread.id": "139892754619264",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "90d27c9e3b1b3680",
    "trace_id": "7150da5866974b5fa51c9bc96ea93357",
    "parent_span_id": "996eaa93c9f6aa02",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent vision_assistant",
    "start_timestamp": 1779175496.488647,
    "timestamp": 1779175498.365708,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "139892754619264",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.agent.name": "vision_assistant",
      "gen_ai.request.messages": "[{\"content\": [{\"text\": \"You are a helpful assistant that can analyze images. Be concise.\", \"type\": \"text\"}], \"role\": \"system\"}, {\"content\": [{\"text\": \"What color is this image? Reply with just the color name.\", \"type\": \"text\"}, {\"type\": \"image\", \"content\": \"[Blob substitute]\"}], \"role\": \"user\"}]",
      "gen_ai.response.text": "red",
      "gen_ai.usage.input_tokens": 38,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 138,
      "gen_ai.usage.total_tokens": 176,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision Agent Test",
      "sentry.segment.id": "996eaa93c9f6aa02",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b199bb24fc31b664",
    "trace_id": "7150da5866974b5fa51c9bc96ea93357",
    "parent_span_id": "90d27c9e3b1b3680",
    "op": "gen_ai.chat",
    "description": "chat fallback:gpt-4o-mini-bad-model-name,gpt-5-nano",
    "start_timestamp": 1779175496.516364,
    "timestamp": 1779175498.364693,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "139892754619264",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.agent.name": "vision_assistant",
      "gen_ai.system": "fallback:openai,openai",
      "gen_ai.request.model": "fallback:gpt-4o-mini-bad-model-name,gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"image\", \"content\": \"[Blob substitute]\"}]}]",
      "gen_ai.usage.input_tokens": 38,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 138,
      "gen_ai.usage.total_tokens": 176,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "red",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision Agent Test",
      "sentry.segment.id": "996eaa93c9f6aa02",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/pydantic-ai :: Long Input Agent Test (async, single)❗︎ 1 134950ms
checkAgentSpanAttributes
checkChatSpanAttributes
94d65d41gen_ai.output.messagesMissing output messages attribute
929df05fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
929df05fgen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
checkInputMessagesSchema
929df05fgen_ai.request.messagesmessages[1] should have either "parts" or "content" field
checkResponseModel
Deprecated Attributes
gen_ai.request.available_tools(3 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(1 span) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(1 span) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
{}Captured Spans (11)
[
  {
    "trace_id": "ae44963ba4e348eb9e11f78919ae2146",
    "span_id": "bc5e11911237dc78",
    "parent_span_id": "94d65d418eea29da",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:25:09.318282Z",
    "timestamp": "2026-05-19T07:25:09.320987Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12953
    },
    "data": {
      "thread.id": "139816514188992",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "ae44963ba4e348eb9e11f78919ae2146",
    "span_id": "8151dc697fe60a9a",
    "parent_span_id": "94d65d418eea29da",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:25:09.321091Z",
    "timestamp": "2026-05-19T07:25:09.321241Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12953
    },
    "data": {
      "thread.id": "139816514188992",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "ae44963ba4e348eb9e11f78919ae2146",
    "span_id": "ac5ae718c998c0e5",
    "parent_span_id": "8151dc697fe60a9a",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:25:09.321194Z",
    "timestamp": "2026-05-19T07:25:09.321231Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12953
    },
    "data": {
      "thread.id": "139816514188992",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "ae44963ba4e348eb9e11f78919ae2146",
    "span_id": "aba4e1ebba5b00ef",
    "parent_span_id": "94d65d418eea29da",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:25:09.321277Z",
    "timestamp": "2026-05-19T07:25:09.321291Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12953
    },
    "data": {
      "thread.id": "139816514188992",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "ae44963ba4e348eb9e11f78919ae2146",
    "span_id": "8c0d27107af5c191",
    "parent_span_id": "94d65d418eea29da",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:25:09.323390Z",
    "timestamp": "2026-05-19T07:25:26.503977Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139816770440064",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 52,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-agent-test-async-single.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "ae44963ba4e348eb9e11f78919ae2146",
    "span_id": "a3aa032b93a00d27",
    "parent_span_id": "929df05fc3c081d9",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:25:26.526728Z",
    "timestamp": "2026-05-19T07:25:27.153853Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139816770440064",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 52,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-agent-test-async-single.py",
      "code.function": "<module>"
    }
  },
  {
    "span_id": "b3e91ce79fef84b1",
    "trace_id": "ae44963ba4e348eb9e11f78919ae2146",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input Agent Test",
    "start_timestamp": "2026-05-19T07:25:09.293670Z",
    "timestamp": "2026-05-19T07:25:27.156374Z",
    "data": {
      "thread.id": "139816770440064",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "ad49be0f6516618d",
    "trace_id": "ae44963ba4e348eb9e11f78919ae2146",
    "parent_span_id": "b3e91ce79fef84b1",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent summarizer_assistant",
    "start_timestamp": 1779175509.296107,
    "timestamp": 1779175527.155433,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "139816770440064",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.agent.name": "summarizer_assistant",
      "gen_ai.request.available_tools": "[{\"name\": \"get_word_count\", \"description\": \"Count the number of words in a text\", \"parameters\": {\"additionalProperties\": false, \"properties\": {\"text\": {\"type\": \"string\"}}, \"required\": [\"text\"], \"type\": \"object\"}}]",
      "gen_ai.request.messages": "[{\"content\": [{\"text\": \"\", \"type\": \"text\"}], \"role\": \"system\"}, {\"content\": [{\"text\": \"Please summarize the following text in one sentence. You may use the get_word_count tool first if needed: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \", \"type\": \"text\"}], \"role\": \"user\"}]",
      "gen_ai.response.text": "The text consists of a repetitive message that emphasizes its length and is a test input.",
      "gen_ai.usage.input_tokens": 12081,
      "gen_ai.usage.input_tokens.cached": 6528,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 1148,
      "gen_ai.usage.total_tokens": 13229,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input Agent Test",
      "sentry.segment.id": "b3e91ce79fef84b1",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "94d65d418eea29da",
    "trace_id": "ae44963ba4e348eb9e11f78919ae2146",
    "parent_span_id": "ad49be0f6516618d",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175509.30821,
    "timestamp": 1779175526.52123,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "139816770440064",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.agent.name": "summarizer_assistant",
      "gen_ai.system": "openai",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.response.streaming": false,
      "gen_ai.request.available_tools": "[{\"name\": \"get_word_count\", \"description\": \"Count the number of words in a text\", \"parameters\": {\"additionalProperties\": false, \"properties\": {\"text\": {\"type\": \"string\"}}, \"required\": [\"text\"], \"type\": \"object\"}}]",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"Please summarize the following text in one sentence. You may use the get_word_count tool first if needed: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]}]",
      "gen_ai.usage.input_tokens": 5470,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 1130,
      "gen_ai.usage.total_tokens": 6600,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.tool_calls": "[{\"type\": \"function\", \"name\": \"get_word_count\", \"arguments\": \"{\\\"text\\\":\\\"This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input.\\\"}\"}]",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input Agent Test",
      "sentry.segment.id": "b3e91ce79fef84b1",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "bcae8359c3969b5d",
    "trace_id": "ae44963ba4e348eb9e11f78919ae2146",
    "parent_span_id": "ad49be0f6516618d",
    "op": "gen_ai.execute_tool",
    "description": "execute_tool get_word_count",
    "start_timestamp": 1779175526.521916,
    "timestamp": 1779175526.522653,
    "data": {
      "sentry.op": "gen_ai.execute_tool",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "139816770440064",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "execute_tool",
      "gen_ai.tool.name": "get_word_count",
      "gen_ai.tool.description": "Count the number of words in a text",
      "gen_ai.agent.name": "summarizer_assistant",
      "gen_ai.tool.input": "{\"text\": \"This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input.\"}",
      "gen_ai.tool.output": "2400",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input Agent Test",
      "sentry.segment.id": "b3e91ce79fef84b1",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "929df05fc3c081d9",
    "trace_id": "ae44963ba4e348eb9e11f78919ae2146",
    "parent_span_id": "ad49be0f6516618d",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175526.523042,
    "timestamp": 1779175527.154772,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "139816770440064",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.agent.name": "summarizer_assistant",
      "gen_ai.system": "openai",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.response.streaming": false,
      "gen_ai.request.available_tools": "[{\"name\": \"get_word_count\", \"description\": \"Count the number of words in a text\", \"parameters\": {\"additionalProperties\": false, \"properties\": {\"text\": {\"type\": \"string\"}}, \"required\": [\"text\"], \"type\": \"object\"}}]",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"Please summarize the following text in one sentence. You may use the get_word_count tool first if needed: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]}, {\"role\": \"assistant\", \"tool_calls\": [{\"name\": \"get_word_count\", \"arguments\": \"{\\\"text\\\":\\\"This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input.\\\"}\"}]}, {\"role\": \"tool\", \"content\": [{\"type\": \"text\", \"text\": \"2400\"}], \"tool_call_id\": \"get_word_count\"}]",
      "gen_ai.usage.input_tokens": 6611,
      "gen_ai.usage.input_tokens.cached": 6528,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 18,
      "gen_ai.usage.total_tokens": 6629,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.text": "The text consists of a repetitive message that emphasizes its length and is a test input.",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input Agent Test",
      "sentry.segment.id": "b3e91ce79fef84b1",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/pydantic-ai :: Long Input Agent Test (async, fallback)❗︎ 121090ms
checkAgentSpanAttributes
checkChatSpanAttributes
b38203b7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b38203b7gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.request.messages(2 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(2 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (9)
[
  {
    "trace_id": "cb1cfc6452b04834bdf92efab24dfce7",
    "span_id": "b9f63515f3445c12",
    "parent_span_id": "b38203b79e2014ec",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:25:10.312929Z",
    "timestamp": "2026-05-19T07:25:10.317681Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12968
    },
    "data": {
      "thread.id": "139666756564672",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "cb1cfc6452b04834bdf92efab24dfce7",
    "span_id": "bcafebafa1e37588",
    "parent_span_id": "b38203b79e2014ec",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:25:10.317788Z",
    "timestamp": "2026-05-19T07:25:10.319144Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12968
    },
    "data": {
      "thread.id": "139666756564672",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "cb1cfc6452b04834bdf92efab24dfce7",
    "span_id": "98580c8743c9f014",
    "parent_span_id": "bcafebafa1e37588",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:25:10.318850Z",
    "timestamp": "2026-05-19T07:25:10.319127Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12968
    },
    "data": {
      "thread.id": "139666756564672",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "cb1cfc6452b04834bdf92efab24dfce7",
    "span_id": "9cf672e2361c36e6",
    "parent_span_id": "b38203b79e2014ec",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:25:10.319192Z",
    "timestamp": "2026-05-19T07:25:10.319211Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12968
    },
    "data": {
      "thread.id": "139666756564672",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "cb1cfc6452b04834bdf92efab24dfce7",
    "span_id": "9a643f92f7d9634f",
    "parent_span_id": "b38203b79e2014ec",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:25:10.321082Z",
    "timestamp": "2026-05-19T07:25:10.380284Z",
    "origin": "auto.http.httpx",
    "status": "not_found",
    "tags": {
      "http.status_code": "404",
      "status": "not_found"
    },
    "data": {
      "thread.id": "139667013376896",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 404,
      "reason": "Not Found"
    }
  },
  {
    "trace_id": "cb1cfc6452b04834bdf92efab24dfce7",
    "span_id": "b836ebede7276663",
    "parent_span_id": "b38203b79e2014ec",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:25:10.391706Z",
    "timestamp": "2026-05-19T07:25:12.805537Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139667013376896",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 53,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-agent-test-async-fallback.py",
      "code.function": "<module>"
    }
  },
  {
    "span_id": "ad1fecabcfd05dd6",
    "trace_id": "cb1cfc6452b04834bdf92efab24dfce7",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input Agent Test",
    "start_timestamp": "2026-05-19T07:25:10.293823Z",
    "timestamp": "2026-05-19T07:25:12.908823Z",
    "data": {
      "thread.id": "139667013376896",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "acb76bec47aac3b7",
    "trace_id": "cb1cfc6452b04834bdf92efab24dfce7",
    "parent_span_id": "ad1fecabcfd05dd6",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent summarizer_assistant",
    "start_timestamp": 1779175510.295122,
    "timestamp": 1779175512.898741,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "139667013376896",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.agent.name": "summarizer_assistant",
      "gen_ai.request.available_tools": "[{\"name\": \"get_word_count\", \"description\": \"Count the number of words in a text\", \"parameters\": {\"additionalProperties\": false, \"properties\": {\"text\": {\"type\": \"string\"}}, \"required\": [\"text\"], \"type\": \"object\"}}]",
      "gen_ai.request.messages": "[{\"content\": [{\"text\": \"\", \"type\": \"text\"}], \"role\": \"system\"}, {\"content\": [{\"text\": \"Please summarize the following text in one sentence. You may use the get_word_count tool first if needed: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \", \"type\": \"text\"}], \"role\": \"user\"}]",
      "gen_ai.response.text": "The text consists of the same test sentence repeated many times to create a very long input.",
      "gen_ai.usage.input_tokens": 5553,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 283,
      "gen_ai.usage.total_tokens": 5836,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input Agent Test",
      "sentry.segment.id": "ad1fecabcfd05dd6",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b38203b79e2014ec",
    "trace_id": "cb1cfc6452b04834bdf92efab24dfce7",
    "parent_span_id": "acb76bec47aac3b7",
    "op": "gen_ai.chat",
    "description": "chat fallback:gpt-4o-mini-bad-model-name,gpt-5-nano",
    "start_timestamp": 1779175510.305774,
    "timestamp": 1779175512.89781,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "139667013376896",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.agent.name": "summarizer_assistant",
      "gen_ai.system": "fallback:openai,openai",
      "gen_ai.request.model": "fallback:gpt-4o-mini-bad-model-name,gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.request.available_tools": "[{\"name\": \"get_word_count\", \"description\": \"Count the number of words in a text\", \"parameters\": {\"additionalProperties\": false, \"properties\": {\"text\": {\"type\": \"string\"}}, \"required\": [\"text\"], \"type\": \"object\"}}]",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"Please summarize the following text in one sentence. You may use the get_word_count tool first if needed: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]}]",
      "gen_ai.usage.input_tokens": 5553,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 283,
      "gen_ai.usage.total_tokens": 5836,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "The text consists of the same test sentence repeated many times to create a very long input.",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input Agent Test",
      "sentry.segment.id": "ad1fecabcfd05dd6",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/pydantic-ai :: Conversation ID Agent Test (async, single)❗︎ 219635ms
checkAgentSpanAttributes
86ba2923gen_ai.request.messagesagent span 0 should keep only the last input message, found 2 message(s)
a321126dgen_ai.request.messagesagent span 1 should keep only the last input message, found 2 message(s)
a79085e6gen_ai.request.messagesagent span 2 should keep only the last input message, found 2 message(s)
a5a1f21dgen_ai.request.messagesagent span 3 should keep only the last input message, found 2 message(s)
checkChatSpanAttributes
9e444dbcgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9e444dbcgen_ai.output.messagesMissing output messages attribute
913de427gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
913de427gen_ai.output.messagesMissing output messages attribute
a462df56gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a462df56gen_ai.output.messagesMissing output messages attribute
a8ffb251gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a8ffb251gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(8 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(8 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (17)
[
  {
    "trace_id": "17bd0b34331d4c46b49cb61b314d4fcc",
    "span_id": "88696cd2d8eadca8",
    "parent_span_id": "9e444dbc383cfb65",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:25:09.242816Z",
    "timestamp": "2026-05-19T07:25:09.248818Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12950
    },
    "data": {
      "thread.id": "139986475775680",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "17bd0b34331d4c46b49cb61b314d4fcc",
    "span_id": "be70c0d04e7c5a24",
    "parent_span_id": "9e444dbc383cfb65",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:25:09.248971Z",
    "timestamp": "2026-05-19T07:25:09.249135Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12950
    },
    "data": {
      "thread.id": "139986475775680",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "17bd0b34331d4c46b49cb61b314d4fcc",
    "span_id": "a65ebdfeb335e0fb",
    "parent_span_id": "be70c0d04e7c5a24",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:25:09.249088Z",
    "timestamp": "2026-05-19T07:25:09.249124Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12950
    },
    "data": {
      "thread.id": "139986475775680",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "17bd0b34331d4c46b49cb61b314d4fcc",
    "span_id": "9cbf8994fe0f590f",
    "parent_span_id": "9e444dbc383cfb65",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:25:09.249168Z",
    "timestamp": "2026-05-19T07:25:09.249181Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12950
    },
    "data": {
      "thread.id": "139986475775680",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "17bd0b34331d4c46b49cb61b314d4fcc",
    "span_id": "b9d2bf7bc50d192e",
    "parent_span_id": "9e444dbc383cfb65",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:25:09.251206Z",
    "timestamp": "2026-05-19T07:25:09.831727Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139986732395392",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 83,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-agent-test-async-single.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "17bd0b34331d4c46b49cb61b314d4fcc",
    "span_id": "b220afed34b79212",
    "parent_span_id": "913de42775389913",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:25:09.900510Z",
    "timestamp": "2026-05-19T07:25:10.620101Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139986732395392",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 83,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-agent-test-async-single.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "17bd0b34331d4c46b49cb61b314d4fcc",
    "span_id": "8a6a8364a306ef05",
    "parent_span_id": "a462df56fbca287c",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:25:10.644067Z",
    "timestamp": "2026-05-19T07:25:12.072508Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139986732395392",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 83,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-agent-test-async-single.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "17bd0b34331d4c46b49cb61b314d4fcc",
    "span_id": "84749d2a1b070b35",
    "parent_span_id": "a8ffb25176097f09",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:25:12.084194Z",
    "timestamp": "2026-05-19T07:25:12.497756Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139986732395392",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 83,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-agent-test-async-single.py",
      "code.function": "<module>"
    }
  },
  {
    "span_id": "964b307e558862e9",
    "trace_id": "17bd0b34331d4c46b49cb61b314d4fcc",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID Agent Test",
    "start_timestamp": "2026-05-19T07:25:09.227613Z",
    "timestamp": "2026-05-19T07:25:12.511203Z",
    "data": {
      "thread.id": "139986732395392",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "86ba292379089db1",
    "trace_id": "17bd0b34331d4c46b49cb61b314d4fcc",
    "parent_span_id": "964b307e558862e9",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175509.228742,
    "timestamp": 1779175509.890719,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "139986732395392",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.request.messages": "[{\"content\": [{\"text\": \"\", \"type\": \"text\"}], \"role\": \"system\"}, {\"content\": [{\"text\": \"What is the capital of France?\", \"type\": \"text\"}], \"role\": \"user\"}]",
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.usage.input_tokens": 18,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 7,
      "gen_ai.usage.total_tokens": 25,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "964b307e558862e9",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9e444dbc383cfb65",
    "trace_id": "17bd0b34331d4c46b49cb61b314d4fcc",
    "parent_span_id": "86ba292379089db1",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175509.238118,
    "timestamp": 1779175509.889628,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "139986732395392",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.system": "openai",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.response.streaming": false,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What is the capital of France?\"}]}]",
      "gen_ai.usage.input_tokens": 18,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 7,
      "gen_ai.usage.total_tokens": 25,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "964b307e558862e9",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a321126d8561a59e",
    "trace_id": "17bd0b34331d4c46b49cb61b314d4fcc",
    "parent_span_id": "964b307e558862e9",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175509.890848,
    "timestamp": 1779175510.627562,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "139986732395392",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.request.messages": "[{\"content\": [{\"text\": \"\", \"type\": \"text\"}], \"role\": \"system\"}, {\"content\": [{\"text\": \"What is 2 + 2?\", \"type\": \"text\"}], \"role\": \"user\"}]",
      "gen_ai.response.text": "2 + 2 equals 4.",
      "gen_ai.usage.input_tokens": 19,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 27,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "964b307e558862e9",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "913de42775389913",
    "trace_id": "17bd0b34331d4c46b49cb61b314d4fcc",
    "parent_span_id": "a321126d8561a59e",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175509.896372,
    "timestamp": 1779175510.621397,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "139986732395392",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.system": "openai",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.response.streaming": false,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What is 2 + 2?\"}]}]",
      "gen_ai.usage.input_tokens": 19,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 27,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.text": "2 + 2 equals 4.",
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "964b307e558862e9",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a79085e65818f6e5",
    "trace_id": "17bd0b34331d4c46b49cb61b314d4fcc",
    "parent_span_id": "964b307e558862e9",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175510.628251,
    "timestamp": 1779175512.076519,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "139986732395392",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.request.messages": "[{\"content\": [{\"text\": \"\", \"type\": \"text\"}], \"role\": \"system\"}, {\"content\": [{\"text\": \"What about Germany?\", \"type\": \"text\"}], \"role\": \"user\"}]",
      "gen_ai.response.text": "Could you please clarify what specific aspect of Germany you are interested in? There are many topics to discuss, including its history, culture, economy, travel destinations, political landscape, and more. Let me know so I can provide the information you're looking for!",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 51,
      "gen_ai.usage.total_tokens": 66,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "964b307e558862e9",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a462df56fbca287c",
    "trace_id": "17bd0b34331d4c46b49cb61b314d4fcc",
    "parent_span_id": "a79085e65818f6e5",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175510.635285,
    "timestamp": 1779175512.073699,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "139986732395392",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.system": "openai",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.response.streaming": false,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What about Germany?\"}]}]",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 51,
      "gen_ai.usage.total_tokens": 66,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.text": "Could you please clarify what specific aspect of Germany you are interested in? There are many topics to discuss, including its history, culture, economy, travel destinations, political landscape, and more. Let me know so I can provide the information you're looking for!",
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "964b307e558862e9",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a5a1f21d2e6906b0",
    "trace_id": "17bd0b34331d4c46b49cb61b314d4fcc",
    "parent_span_id": "964b307e558862e9",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175512.076632,
    "timestamp": 1779175512.49973,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "139986732395392",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.request.messages": "[{\"content\": [{\"text\": \"\", \"type\": \"text\"}], \"role\": \"system\"}, {\"content\": [{\"text\": \"What about 3 + 3?\", \"type\": \"text\"}], \"role\": \"user\"}]",
      "gen_ai.response.text": "3 + 3 equals 6.",
      "gen_ai.usage.input_tokens": 19,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 27,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "964b307e558862e9",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a8ffb25176097f09",
    "trace_id": "17bd0b34331d4c46b49cb61b314d4fcc",
    "parent_span_id": "a5a1f21d2e6906b0",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175512.078861,
    "timestamp": 1779175512.498966,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "139986732395392",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.system": "openai",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.response.streaming": false,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What about 3 + 3?\"}]}]",
      "gen_ai.usage.input_tokens": 19,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 27,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.text": "3 + 3 equals 6.",
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "964b307e558862e9",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/pydantic-ai :: Conversation ID Agent Test (async, fallback)❗︎ 229823ms
checkAgentSpanAttributes
bc153eabgen_ai.request.messagesagent span 0 should keep only the last input message, found 2 message(s)
88ae6415gen_ai.request.messagesagent span 1 should keep only the last input message, found 2 message(s)
b1c4043dgen_ai.request.messagesagent span 2 should keep only the last input message, found 2 message(s)
8be0ba28gen_ai.request.messagesagent span 3 should keep only the last input message, found 2 message(s)
checkChatSpanAttributes
a322dfbbgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a322dfbbgen_ai.output.messagesMissing output messages attribute
987a8ce4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
987a8ce4gen_ai.output.messagesMissing output messages attribute
8ab47097gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8ab47097gen_ai.output.messagesMissing output messages attribute
9bdaf6f3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9bdaf6f3gen_ai.output.messagesMissing output messages attribute
checkAgentHierarchy
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(8 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(8 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (21)
[
  {
    "trace_id": "5b575475a1a0413d99addfd4e81498a5",
    "span_id": "84466d2a70a94fe4",
    "parent_span_id": "a322dfbb1e9d6c92",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:25:10.883540Z",
    "timestamp": "2026-05-19T07:25:10.885030Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12972
    },
    "data": {
      "thread.id": "139948432914112",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "5b575475a1a0413d99addfd4e81498a5",
    "span_id": "a82c0e4251b2276e",
    "parent_span_id": "a322dfbb1e9d6c92",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:25:10.885097Z",
    "timestamp": "2026-05-19T07:25:10.886147Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12972
    },
    "data": {
      "thread.id": "139948432914112",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "5b575475a1a0413d99addfd4e81498a5",
    "span_id": "b15b14639dedd187",
    "parent_span_id": "a82c0e4251b2276e",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:25:10.886024Z",
    "timestamp": "2026-05-19T07:25:10.886135Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12972
    },
    "data": {
      "thread.id": "139948432914112",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "5b575475a1a0413d99addfd4e81498a5",
    "span_id": "bc9f771013773069",
    "parent_span_id": "a322dfbb1e9d6c92",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:25:10.886184Z",
    "timestamp": "2026-05-19T07:25:10.886197Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 12972
    },
    "data": {
      "thread.id": "139948432914112",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "5b575475a1a0413d99addfd4e81498a5",
    "span_id": "b6f95ab55d6e4622",
    "parent_span_id": "a322dfbb1e9d6c92",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:25:10.887949Z",
    "timestamp": "2026-05-19T07:25:10.991488Z",
    "origin": "auto.http.httpx",
    "status": "not_found",
    "tags": {
      "http.status_code": "404",
      "status": "not_found"
    },
    "data": {
      "thread.id": "139948681378688",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 404,
      "reason": "Not Found",
      "code.lineno": 84,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-agent-test-async-fallback.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "5b575475a1a0413d99addfd4e81498a5",
    "span_id": "a66ef0bad3630851",
    "parent_span_id": "a322dfbb1e9d6c92",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:25:10.995000Z",
    "timestamp": "2026-05-19T07:25:12.333390Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139948681378688",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 84,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-agent-test-async-fallback.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "5b575475a1a0413d99addfd4e81498a5",
    "span_id": "b59be04476f87f37",
    "parent_span_id": "987a8ce4a345150d",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:25:12.398777Z",
    "timestamp": "2026-05-19T07:25:12.434076Z",
    "origin": "auto.http.httpx",
    "status": "not_found",
    "tags": {
      "http.status_code": "404",
      "status": "not_found"
    },
    "data": {
      "thread.id": "139948681378688",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 404,
      "reason": "Not Found"
    }
  },
  {
    "trace_id": "5b575475a1a0413d99addfd4e81498a5",
    "span_id": "a579535f72816dd7",
    "parent_span_id": "987a8ce4a345150d",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:25:12.439656Z",
    "timestamp": "2026-05-19T07:25:13.982639Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139948681378688",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 84,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-agent-test-async-fallback.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "5b575475a1a0413d99addfd4e81498a5",
    "span_id": "bed57239422f6b45",
    "parent_span_id": "8ab470976c6e6df2",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:25:14.003490Z",
    "timestamp": "2026-05-19T07:25:14.042696Z",
    "origin": "auto.http.httpx",
    "status": "not_found",
    "tags": {
      "http.status_code": "404",
      "status": "not_found"
    },
    "data": {
      "thread.id": "139948681378688",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 404,
      "reason": "Not Found"
    }
  },
  {
    "trace_id": "5b575475a1a0413d99addfd4e81498a5",
    "span_id": "ac34135ff18d283f",
    "parent_span_id": "8ab470976c6e6df2",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:25:14.052051Z",
    "timestamp": "2026-05-19T07:25:21.329634Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139948681378688",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 84,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-agent-test-async-fallback.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "5b575475a1a0413d99addfd4e81498a5",
    "span_id": "b09ac5df309367e1",
    "parent_span_id": "9bdaf6f31ba27347",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:25:21.334060Z",
    "timestamp": "2026-05-19T07:25:21.375053Z",
    "origin": "auto.http.httpx",
    "status": "not_found",
    "tags": {
      "http.status_code": "404",
      "status": "not_found"
    },
    "data": {
      "thread.id": "139948681378688",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 404,
      "reason": "Not Found"
    }
  },
  {
    "trace_id": "5b575475a1a0413d99addfd4e81498a5",
    "span_id": "83fe66dc8ff3e7e6",
    "parent_span_id": "9bdaf6f31ba27347",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:25:21.376579Z",
    "timestamp": "2026-05-19T07:25:23.871030Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139948681378688",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 84,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-agent-test-async-fallback.py",
      "code.function": "<module>"
    }
  },
  {
    "span_id": "a499ca95402f5769",
    "trace_id": "5b575475a1a0413d99addfd4e81498a5",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID Agent Test",
    "start_timestamp": "2026-05-19T07:25:10.867519Z",
    "timestamp": "2026-05-19T07:25:23.873291Z",
    "data": {
      "thread.id": "139948681378688",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "bc153eab37d220b6",
    "trace_id": "5b575475a1a0413d99addfd4e81498a5",
    "parent_span_id": "a499ca95402f5769",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175510.868679,
    "timestamp": 1779175512.386701,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "139948681378688",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.request.messages": "[{\"content\": [{\"text\": \"\", \"type\": \"text\"}], \"role\": \"system\"}, {\"content\": [{\"text\": \"What is the capital of France?\", \"type\": \"text\"}], \"role\": \"user\"}]",
      "gen_ai.response.text": "Paris",
      "gen_ai.usage.input_tokens": 17,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 74,
      "gen_ai.usage.total_tokens": 91,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "a499ca95402f5769",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a322dfbb1e9d6c92",
    "trace_id": "5b575475a1a0413d99addfd4e81498a5",
    "parent_span_id": "bc153eab37d220b6",
    "op": "gen_ai.chat",
    "description": "chat fallback:gpt-4o-mini-bad-model-name,gpt-5-nano",
    "start_timestamp": 1779175510.878334,
    "timestamp": 1779175512.385667,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "139948681378688",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.system": "fallback:openai,openai",
      "gen_ai.request.model": "fallback:gpt-4o-mini-bad-model-name,gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What is the capital of France?\"}]}]",
      "gen_ai.usage.input_tokens": 17,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 74,
      "gen_ai.usage.total_tokens": 91,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "Paris",
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "a499ca95402f5769",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "88ae6415c99310dc",
    "trace_id": "5b575475a1a0413d99addfd4e81498a5",
    "parent_span_id": "a499ca95402f5769",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175512.38683,
    "timestamp": 1779175513.990591,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "139948681378688",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.request.messages": "[{\"content\": [{\"text\": \"\", \"type\": \"text\"}], \"role\": \"system\"}, {\"content\": [{\"text\": \"What is 2 + 2?\", \"type\": \"text\"}], \"role\": \"user\"}]",
      "gen_ai.response.text": "4",
      "gen_ai.usage.input_tokens": 18,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 138,
      "gen_ai.usage.total_tokens": 156,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "a499ca95402f5769",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "987a8ce4a345150d",
    "trace_id": "5b575475a1a0413d99addfd4e81498a5",
    "parent_span_id": "88ae6415c99310dc",
    "op": "gen_ai.chat",
    "description": "chat fallback:gpt-4o-mini-bad-model-name,gpt-5-nano",
    "start_timestamp": 1779175512.393408,
    "timestamp": 1779175513.983742,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "139948681378688",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.system": "fallback:openai,openai",
      "gen_ai.request.model": "fallback:gpt-4o-mini-bad-model-name,gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What is 2 + 2?\"}]}]",
      "gen_ai.usage.input_tokens": 18,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 138,
      "gen_ai.usage.total_tokens": 156,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "4",
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "a499ca95402f5769",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b1c4043d81476c04",
    "trace_id": "5b575475a1a0413d99addfd4e81498a5",
    "parent_span_id": "a499ca95402f5769",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175513.990692,
    "timestamp": 1779175521.330985,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "139948681378688",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.request.messages": "[{\"content\": [{\"text\": \"\", \"type\": \"text\"}], \"role\": \"system\"}, {\"content\": [{\"text\": \"What about Germany?\", \"type\": \"text\"}], \"role\": \"user\"}]",
      "gen_ai.response.text": "Germany is a large, influential country in central Europe with a lot to cover. Here are some quick basics:\n\n- Location and basics: In Central Europe, borders Denmark, Poland, Czech Republic, Austria, Switzerland, France, Luxembourg, Belgium, the Netherlands. Coastlines on the North Sea and Baltic Sea. Capital is Berlin; major cities include Munich, Hamburg, Cologne, and Frankfurt.\n- Government: Federal parliamentary republic with 16 states (Länder). The Chancellor is the head of government; the President is mostly ceremonial.\n- Economy: One of the world’s largest economies and the biggest in Europe. Strong in engineering, automotive (brands like VW, BMW, Mercedes), manufacturing, chemicals, and exports. Uses the euro and is a key EU member.\n- Language and people: Official language is German; English is widely spoken as a second language.\n- Culture and travel: Rich cultural heritage (arts, philosophy, music), famous for Oktoberfest, Christmas markets, beer culture, castles, and scenic regions like the Rhine Valley and the Bavarian Alps. Germany has an excellent rail network (ICE) and well-made public transport, making travel easy.\n- Education and living: Public universities often have low tuition or are free for many programs, with strong STEM and applied sciences. High quality of life, good healthcare, and a well-developed infrastructure.\n\nWhat would you like to know more about? For example:\n- Politics or economy\n- Travel tips or destinations\n- Language basics\n- Studying or working in Germany\n- History or culture",
      "gen_ai.usage.input_tokens": 14,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 1215,
      "gen_ai.usage.total_tokens": 1229,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "a499ca95402f5769",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8ab470976c6e6df2",
    "trace_id": "5b575475a1a0413d99addfd4e81498a5",
    "parent_span_id": "b1c4043d81476c04",
    "op": "gen_ai.chat",
    "description": "chat fallback:gpt-4o-mini-bad-model-name,gpt-5-nano",
    "start_timestamp": 1779175513.992652,
    "timestamp": 1779175521.330459,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "139948681378688",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.system": "fallback:openai,openai",
      "gen_ai.request.model": "fallback:gpt-4o-mini-bad-model-name,gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What about Germany?\"}]}]",
      "gen_ai.usage.input_tokens": 14,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 1215,
      "gen_ai.usage.total_tokens": 1229,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "Germany is a large, influential country in central Europe with a lot to cover. Here are some quick basics:\n\n- Location and basics: In Central Europe, borders Denmark, Poland, Czech Republic, Austria, Switzerland, France, Luxembourg, Belgium, the Netherlands. Coastlines on the North Sea and Baltic Sea. Capital is Berlin; major cities include Munich, Hamburg, Cologne, and Frankfurt.\n- Government: Federal parliamentary republic with 16 states (Länder). The Chancellor is the head of government; the President is mostly ceremonial.\n- Economy: One of the world’s largest economies and the biggest in Europe. Strong in engineering, automotive (brands like VW, BMW, Mercedes), manufacturing, chemicals, and exports. Uses the euro and is a key EU member.\n- Language and people: Official language is German; English is widely spoken as a second language.\n- Culture and travel: Rich cultural heritage (arts, philosophy, music), famous for Oktoberfest, Christmas markets, beer culture, castles, and scenic regions like the Rhine Valley and the Bavarian Alps. Germany has an excellent rail network (ICE) and well-made public transport, making travel easy.\n- Education and living: Public universities often have low tuition or are free for many programs, with strong STEM and applied sciences. High quality of life, good healthcare, and a well-developed infrastructure.\n\nWhat would you like to know more about? For example:\n- Politics or economy\n- Travel tips or destinations\n- Language basics\n- Studying or working in Germany\n- History or culture",
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "a499ca95402f5769",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8be0ba28ce4b3a4f",
    "trace_id": "5b575475a1a0413d99addfd4e81498a5",
    "parent_span_id": "a499ca95402f5769",
    "op": "gen_ai.invoke_agent",
    "description": "invoke_agent helpful_assistant",
    "start_timestamp": 1779175521.331071,
    "timestamp": 1779175523.872375,
    "data": {
      "sentry.op": "gen_ai.invoke_agent",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "139948681378688",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "invoke_agent",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.request.messages": "[{\"content\": [{\"text\": \"\", \"type\": \"text\"}], \"role\": \"system\"}, {\"content\": [{\"text\": \"What about 3 + 3?\", \"type\": \"text\"}], \"role\": \"user\"}]",
      "gen_ai.response.text": "3 + 3 = 6.\n\nIf you want more examples or a quick method for adding bigger numbers, I can help with that.",
      "gen_ai.usage.input_tokens": 18,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 293,
      "gen_ai.usage.total_tokens": 311,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "a499ca95402f5769",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9bdaf6f31ba27347",
    "trace_id": "5b575475a1a0413d99addfd4e81498a5",
    "parent_span_id": "8be0ba28ce4b3a4f",
    "op": "gen_ai.chat",
    "description": "chat fallback:gpt-4o-mini-bad-model-name,gpt-5-nano",
    "start_timestamp": 1779175521.332674,
    "timestamp": 1779175523.871857,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.pydantic_ai",
      "thread.id": "139948681378688",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.agent.name": "helpful_assistant",
      "gen_ai.system": "fallback:openai,openai",
      "gen_ai.request.model": "fallback:gpt-4o-mini-bad-model-name,gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What about 3 + 3?\"}]}]",
      "gen_ai.usage.input_tokens": 18,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 293,
      "gen_ai.usage.total_tokens": 311,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "3 + 3 = 6.\n\nIf you want more examples or a quick method for adding bigger numbers, I can help with that.",
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID Agent Test",
      "sentry.segment.id": "a499ca95402f5769",
      "sentry.sdk.name": "sentry.python.starlette",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Basic Embeddings Test (sync, blocking)❗︎ 1 1⚠︎ 16578ms
checkAISpanCount(1)
Should have exactly 1 AI span(s) but found 2
checkEmbeddingSpanAttributes
checkEmbeddingTokenUsage
9a6301a5gen_ai.usage.input_tokensinput_tokens must exist
9a6301a5gen_ai.usage.total_tokenstotal_tokens must exist
checkResponseModel
9a6301a5gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
9795e397gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
{}Captured Spans (9)
[
  {
    "trace_id": "1d1dc23541b643ea93d618f34983622f",
    "span_id": "96dcd303da521461",
    "parent_span_id": "9795e39765c84c9a",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "GET https://openaipublic.blob.core.windows.net/encodings/cl100k_base.tiktoken",
    "start_timestamp": "2026-05-19T07:25:15.530081Z",
    "timestamp": "2026-05-19T07:25:15.900609Z",
    "origin": "auto.http.stdlib.httplib",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139960557513600",
      "thread.name": "MainThread",
      "http.method": "GET",
      "url": "https://openaipublic.blob.core.windows.net/encodings/cl100k_base.tiktoken",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 24,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-embeddings-test-sync-blocking.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "1d1dc23541b643ea93d618f34983622f",
    "span_id": "9d67d6105e6f8187",
    "parent_span_id": "9795e39765c84c9a",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:25:16.177400Z",
    "timestamp": "2026-05-19T07:25:16.179996Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 13078
    },
    "data": {
      "thread.id": "139960557513600",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "1d1dc23541b643ea93d618f34983622f",
    "span_id": "b0fd9db3319bf11e",
    "parent_span_id": "9795e39765c84c9a",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:25:16.180102Z",
    "timestamp": "2026-05-19T07:25:16.180258Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 13078
    },
    "data": {
      "thread.id": "139960557513600",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "1d1dc23541b643ea93d618f34983622f",
    "span_id": "9b3bab17c8a2ce46",
    "parent_span_id": "b0fd9db3319bf11e",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:25:16.180212Z",
    "timestamp": "2026-05-19T07:25:16.180250Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 13078
    },
    "data": {
      "thread.id": "139960557513600",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "1d1dc23541b643ea93d618f34983622f",
    "span_id": "86f7dc575743e6e7",
    "parent_span_id": "9795e39765c84c9a",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:25:16.180293Z",
    "timestamp": "2026-05-19T07:25:16.180306Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 13078
    },
    "data": {
      "thread.id": "139960557513600",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "1d1dc23541b643ea93d618f34983622f",
    "span_id": "9ed182a6b3617253",
    "parent_span_id": "9795e39765c84c9a",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/embeddings",
    "start_timestamp": "2026-05-19T07:25:16.181651Z",
    "timestamp": "2026-05-19T07:25:16.437932Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139960557513600",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/embeddings",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 24,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-embeddings-test-sync-blocking.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "a88dcc088d2625ab",
    "trace_id": "1d1dc23541b643ea93d618f34983622f",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic Embeddings Test",
    "start_timestamp": "2026-05-19T07:25:15.306726Z",
    "timestamp": "2026-05-19T07:25:16.442616Z",
    "data": {
      "thread.id": "139960557513600",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "9a6301a5a42c0bac",
    "trace_id": "1d1dc23541b643ea93d618f34983622f",
    "parent_span_id": "a88dcc088d2625ab",
    "op": "gen_ai.embeddings",
    "description": "embeddings text-embedding-3-small",
    "start_timestamp": 1779175515.313179,
    "timestamp": 1779175516.442554,
    "data": {
      "sentry.op": "gen_ai.embeddings",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139960557513600",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "embeddings",
      "gen_ai.request.model": "text-embedding-3-small",
      "gen_ai.embeddings.input": "[\"What is the capital of France?\"]",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic Embeddings Test",
      "sentry.segment.id": "a88dcc088d2625ab",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9795e39765c84c9a",
    "trace_id": "1d1dc23541b643ea93d618f34983622f",
    "parent_span_id": "9a6301a5a42c0bac",
    "op": "gen_ai.embeddings",
    "description": "embeddings text-embedding-3-small",
    "start_timestamp": 1779175515.313375,
    "timestamp": 1779175516.442541,
    "data": {
      "sentry.op": "gen_ai.embeddings",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139960557513600",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "embeddings",
      "gen_ai.request.model": "text-embedding-3-small",
      "gen_ai.embeddings.input": "[\"What is the capital of France?\"]",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic Embeddings Test",
      "sentry.segment.id": "a88dcc088d2625ab",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Basic Embeddings Test (async, blocking)❗︎ 1 1⚠︎ 16448ms
checkAISpanCount(1)
Should have exactly 1 AI span(s) but found 2
checkEmbeddingSpanAttributes
checkEmbeddingTokenUsage
ad9a9c65gen_ai.usage.input_tokensinput_tokens must exist
ad9a9c65gen_ai.usage.total_tokenstotal_tokens must exist
checkResponseModel
ad9a9c65gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
9a1b21a0gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
{}Captured Spans (9)
[
  {
    "trace_id": "2926f3c2c5ad4edf8cdc92f441a7ef0c",
    "span_id": "a7f6048b1587c5a5",
    "parent_span_id": "9a1b21a08cfbdecc",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "GET https://openaipublic.blob.core.windows.net/encodings/cl100k_base.tiktoken",
    "start_timestamp": "2026-05-19T07:25:15.751636Z",
    "timestamp": "2026-05-19T07:25:16.183363Z",
    "origin": "auto.http.stdlib.httplib",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140357786400448",
      "thread.name": "asyncio_0",
      "http.method": "GET",
      "url": "https://openaipublic.blob.core.windows.net/encodings/cl100k_base.tiktoken",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK"
    }
  },
  {
    "trace_id": "2926f3c2c5ad4edf8cdc92f441a7ef0c",
    "span_id": "b7bd036536280485",
    "parent_span_id": "9a1b21a08cfbdecc",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:25:16.489705Z",
    "timestamp": "2026-05-19T07:25:16.491971Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 13105
    },
    "data": {
      "thread.id": "140357786400448",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "2926f3c2c5ad4edf8cdc92f441a7ef0c",
    "span_id": "b24d988e8a40ee59",
    "parent_span_id": "9a1b21a08cfbdecc",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:25:16.492067Z",
    "timestamp": "2026-05-19T07:25:16.492470Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 13105
    },
    "data": {
      "thread.id": "140357786400448",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "2926f3c2c5ad4edf8cdc92f441a7ef0c",
    "span_id": "949c5a475a2cd432",
    "parent_span_id": "b24d988e8a40ee59",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:25:16.492213Z",
    "timestamp": "2026-05-19T07:25:16.492458Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 13105
    },
    "data": {
      "thread.id": "140357786400448",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "2926f3c2c5ad4edf8cdc92f441a7ef0c",
    "span_id": "b830a55a667d68a7",
    "parent_span_id": "9a1b21a08cfbdecc",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:25:16.492517Z",
    "timestamp": "2026-05-19T07:25:16.492535Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 13105
    },
    "data": {
      "thread.id": "140357786400448",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "2926f3c2c5ad4edf8cdc92f441a7ef0c",
    "span_id": "b93001c36a7f0394",
    "parent_span_id": "9a1b21a08cfbdecc",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/embeddings",
    "start_timestamp": "2026-05-19T07:25:16.494162Z",
    "timestamp": "2026-05-19T07:25:16.697589Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140357971999616",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/embeddings",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 25,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-embeddings-test-async-blocking.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "a022067552ba3cfa",
    "trace_id": "2926f3c2c5ad4edf8cdc92f441a7ef0c",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic Embeddings Test",
    "start_timestamp": "2026-05-19T07:25:15.557277Z",
    "timestamp": "2026-05-19T07:25:16.704509Z",
    "data": {
      "thread.id": "140357971999616",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "ad9a9c65f144f22c",
    "trace_id": "2926f3c2c5ad4edf8cdc92f441a7ef0c",
    "parent_span_id": "a022067552ba3cfa",
    "op": "gen_ai.embeddings",
    "description": "embeddings text-embedding-3-small",
    "start_timestamp": 1779175515.558462,
    "timestamp": 1779175516.70024,
    "data": {
      "sentry.op": "gen_ai.embeddings",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140357971999616",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "embeddings",
      "gen_ai.request.model": "text-embedding-3-small",
      "gen_ai.embeddings.input": "[\"What is the capital of France?\"]",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic Embeddings Test",
      "sentry.segment.id": "a022067552ba3cfa",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9a1b21a08cfbdecc",
    "trace_id": "2926f3c2c5ad4edf8cdc92f441a7ef0c",
    "parent_span_id": "ad9a9c65f144f22c",
    "op": "gen_ai.embeddings",
    "description": "embeddings text-embedding-3-small",
    "start_timestamp": 1779175515.558592,
    "timestamp": 1779175516.700227,
    "data": {
      "sentry.op": "gen_ai.embeddings",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140357971999616",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "embeddings",
      "gen_ai.request.model": "text-embedding-3-small",
      "gen_ai.embeddings.input": "[\"What is the capital of France?\"]",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic Embeddings Test",
      "sentry.segment.id": "a022067552ba3cfa",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Basic Embeddings Test (async, blocking)❗︎ 28284ms
checkAISpanCount(1)
Should have exactly 1 AI span(s) but found 0
checkEmbeddingSpanAttributes
Should have at least one embedding span
checkEmbeddingTokenUsage(No embedding spans captured)
checkResponseModel(No chat or embedding spans captured)
{}Captured Spans (7)
[
  {
    "trace_id": "d331f89b7a4e4f1cb2bbe5e5efd04a57",
    "span_id": "868ad0e3a125e144",
    "parent_span_id": "a66f65a3ce348a67",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:25:18.497054Z",
    "timestamp": "2026-05-19T07:25:18.498015Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 13179
    },
    "data": {
      "thread.id": "140566865733312",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "d331f89b7a4e4f1cb2bbe5e5efd04a57",
    "span_id": "ac594f18b7e582fe",
    "parent_span_id": "a66f65a3ce348a67",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:25:18.498095Z",
    "timestamp": "2026-05-19T07:25:18.498750Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 13179
    },
    "data": {
      "thread.id": "140566865733312",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "d331f89b7a4e4f1cb2bbe5e5efd04a57",
    "span_id": "9814ca230e783305",
    "parent_span_id": "ac594f18b7e582fe",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:25:18.498664Z",
    "timestamp": "2026-05-19T07:25:18.498740Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 13179
    },
    "data": {
      "thread.id": "140566865733312",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "d331f89b7a4e4f1cb2bbe5e5efd04a57",
    "span_id": "92dbd87cb6a7e8a3",
    "parent_span_id": "a66f65a3ce348a67",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:25:18.498781Z",
    "timestamp": "2026-05-19T07:25:18.498793Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 13179
    },
    "data": {
      "thread.id": "140566865733312",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "d331f89b7a4e4f1cb2bbe5e5efd04a57",
    "span_id": "bbfcf73df1bb6f37",
    "parent_span_id": "a66f65a3ce348a67",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/embeddings",
    "start_timestamp": "2026-05-19T07:25:18.500037Z",
    "timestamp": "2026-05-19T07:25:18.646931Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140567020522368",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/embeddings",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 28,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-embeddings-test-async-blocking.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "d331f89b7a4e4f1cb2bbe5e5efd04a57",
    "span_id": "a83b3c25d73bf761",
    "parent_span_id": "bbfcf73df1bb6f37",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/embeddings",
    "start_timestamp": "2026-05-19T07:25:18.500750Z",
    "timestamp": "2026-05-19T07:25:18.644742Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140567020522368",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/embeddings",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 28,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-embeddings-test-async-blocking.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "869cc6db5545372f",
    "trace_id": "d331f89b7a4e4f1cb2bbe5e5efd04a57",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic Embeddings Test",
    "start_timestamp": "2026-05-19T07:25:18.487110Z",
    "timestamp": "2026-05-19T07:25:18.674800Z",
    "data": {
      "thread.id": "140567020522368",
      "thread.name": "MainThread"
    }
  }
]
browser/anthropic :: Basic LLM Test (streaming)❗︎ 11521ms
checkAISpanCount(1)
checkChatSpanAttributes
9a23f501gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9a23f501gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (2)
[
  {
    "span_id": "941cbcf5ad9cdb2f",
    "trace_id": "3a02293399cf44e7b1b7d3c63b40307c",
    "op": "test",
    "description": "basic-llm-test",
    "start_timestamp": 1779175513.0605998,
    "timestamp": 1779175513.7190998,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "9a23f501709161e0",
    "trace_id": "3a02293399cf44e7b1b7d3c63b40307c",
    "parent_span_id": "941cbcf5ad9cdb2f",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175513.0625,
    "timestamp": 1779175513.718,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_01K63BiQ2ie68SyCUdc1w5y4",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "gen_ai.response.text": "The capital of France is Paris."
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/anthropic :: Basic LLM Test (blocking)❗︎ 11692ms
checkAISpanCount(1)
checkChatSpanAttributes
82e85103gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
82e85103gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (2)
[
  {
    "span_id": "9b93bb4c7103aa59",
    "trace_id": "ccebc1af379a43e3a8d4c2d6c5ae3ac2",
    "op": "test",
    "description": "basic-llm-test",
    "start_timestamp": 1779175513.5739002,
    "timestamp": 1779175514.4081001,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "82e85103db1fdc53",
    "trace_id": "ccebc1af379a43e3a8d4c2d6c5ae3ac2",
    "parent_span_id": "9b93bb4c7103aa59",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175513.5826,
    "timestamp": 1779175514.4076002,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.text": "The capital of France is Paris. It is located in the north-central part of the country along the Seine River and is the largest city in France.",
      "gen_ai.response.id": "msg_01VHPhDevcu4AaDqDBKqtErA",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 34,
      "gen_ai.usage.total_tokens": 54
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/anthropic :: Multi-Turn LLM Test (streaming)❗︎ 13871ms
checkAISpanCount(3)
checkChatSpanAttributes
8faf2a10gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8faf2a10gen_ai.output.messagesMissing output messages attribute
9310c342gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9310c342gen_ai.output.messagesMissing output messages attribute
ad182ecagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ad182ecagen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "span_id": "b34b59a5dc278783",
    "trace_id": "8ed53cc5f3304c96bbfde2f62d58def1",
    "op": "test",
    "description": "multi-turn-llm-test",
    "start_timestamp": 1779175514.5756001,
    "timestamp": 1779175517.6394002,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "8faf2a1072a6b9e2",
    "trace_id": "8ed53cc5f3304c96bbfde2f62d58def1",
    "parent_span_id": "b34b59a5dc278783",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175514.587,
    "timestamp": 1779175515.1619,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_011F94TNzafPqPefqKVRs6rR",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 11,
      "gen_ai.usage.total_tokens": 31,
      "gen_ai.response.text": "The capital of France is **Paris**."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9310c3423b1d3af9",
    "trace_id": "8ed53cc5f3304c96bbfde2f62d58def1",
    "parent_span_id": "b34b59a5dc278783",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175515.172,
    "timestamp": 1779175516.8006,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_01KcRrcaTEegeQZLnrpdvggD",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 41,
      "gen_ai.usage.output_tokens": 90,
      "gen_ai.usage.total_tokens": 131,
      "gen_ai.response.text": "The population of Paris varies depending on how you define the city:\n\n- **City of Paris proper**: approximately 2.1-2.2 million people\n- **Paris metropolitan area (Île-de-France region)**: approximately 12 million people\n\nThe larger metropolitan area figure is often used when discussing Paris's total population, as the city's influence and urban sprawl extend well beyond the city limits."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "ad182eca888c7971",
    "trace_id": "8ed53cc5f3304c96bbfde2f62d58def1",
    "parent_span_id": "b34b59a5dc278783",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175516.8059,
    "timestamp": 1779175517.6373,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_01EwQzSZbwEbuA2g8Q9b89dn",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 71,
      "gen_ai.usage.output_tokens": 38,
      "gen_ai.usage.total_tokens": 109,
      "gen_ai.response.text": "The Paris metropolitan area (Île-de-France region) has a population of approximately 12 million people, making it one of the largest metropolitan areas in Europe."
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/anthropic :: Multi-Turn LLM Test (blocking)❗︎ 13510ms
checkAISpanCount(3)
checkChatSpanAttributes
9dd54dcbgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9dd54dcbgen_ai.output.messagesMissing output messages attribute
88d4d971gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
88d4d971gen_ai.output.messagesMissing output messages attribute
a91dda7agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a91dda7agen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "span_id": "95772ac35f5fd329",
    "trace_id": "7ff559bb551745a19b5efaa4e08d787c",
    "op": "test",
    "description": "multi-turn-llm-test",
    "start_timestamp": 1779175515.1947002,
    "timestamp": 1779175517.9494002,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "9dd54dcbe6bc579d",
    "trace_id": "7ff559bb551745a19b5efaa4e08d787c",
    "parent_span_id": "95772ac35f5fd329",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175515.2038,
    "timestamp": 1779175515.9067001,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.text": "The capital of France is **Paris**. It is located in the north-central part of the country along the Seine River and is the largest city in France.",
      "gen_ai.response.id": "msg_01U6UTuJsGGQQXHKToNNecFy",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 36,
      "gen_ai.usage.total_tokens": 56
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "88d4d9714880ddad",
    "trace_id": "7ff559bb551745a19b5efaa4e08d787c",
    "parent_span_id": "95772ac35f5fd329",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175515.9185,
    "timestamp": 1779175516.9709,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.text": "Paris has a population of approximately 2.1 to 2.2 million people within the city proper (as of recent estimates). However, the larger metropolitan area of Paris, known as the Île-de-France region, has a population of around 12 million people, making it one of the largest metropolitan areas in Europe.",
      "gen_ai.response.id": "msg_01Sm5FGZ88AufNJt8YYzzhjT",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 41,
      "gen_ai.usage.output_tokens": 74,
      "gen_ai.usage.total_tokens": 115
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a91dda7afad9d1bd",
    "trace_id": "7ff559bb551745a19b5efaa4e08d787c",
    "parent_span_id": "95772ac35f5fd329",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175516.9713001,
    "timestamp": 1779175517.9488,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.response.text": "The Paris metropolitan area (Île-de-France region) has a population of approximately 12 million people, making it one of the largest metropolitan areas in Europe.",
      "gen_ai.response.id": "msg_01SXL1eWSGPHrnQyGN5sddSk",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 71,
      "gen_ai.usage.output_tokens": 38,
      "gen_ai.usage.total_tokens": 109
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/anthropic :: Vision LLM Test (streaming)❗︎ 11366ms
checkChatSpanAttributes
aec468f3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
aec468f3gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (2)
[
  {
    "span_id": "bce18d167382863a",
    "trace_id": "a2a6d98be57d4017853d4db48e3733f2",
    "op": "test",
    "description": "vision-llm-test",
    "start_timestamp": 1779175516.2523,
    "timestamp": 1779175516.9724,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "aec468f3fe375891",
    "trace_id": "a2a6d98be57d4017853d4db48e3733f2",
    "parent_span_id": "bce18d167382863a",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175516.2543,
    "timestamp": 1779175516.9715,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":[{\"type\":\"text\",\"text\":\"What color is this image? Reply with just the color name.\"},{\"type\":\"image\",\"source\":{\"type\":\"base64\",\"media_type\":\"image/png\",\"data\":\"[Blob substitute]\"}}]}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_01WcataVi7eRZHpUTC87wFEG",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 38,
      "gen_ai.usage.output_tokens": 4,
      "gen_ai.usage.total_tokens": 42,
      "gen_ai.response.text": "Pink"
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/anthropic :: Vision LLM Test (blocking)❗︎ 11538ms
checkChatSpanAttributes
b5e52fb0gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b5e52fb0gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (2)
[
  {
    "span_id": "ae94d4336bf8b55b",
    "trace_id": "7d29817c1c3b468c888e790e936a9d56",
    "op": "test",
    "description": "vision-llm-test",
    "start_timestamp": 1779175516.3916001,
    "timestamp": 1779175517.2526002,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "b5e52fb0acc7abb5",
    "trace_id": "7d29817c1c3b468c888e790e936a9d56",
    "parent_span_id": "ae94d4336bf8b55b",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175516.3937001,
    "timestamp": 1779175517.2516,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":[{\"type\":\"text\",\"text\":\"What color is this image? Reply with just the color name.\"},{\"type\":\"image\",\"source\":{\"type\":\"base64\",\"media_type\":\"image/png\",\"data\":\"[Blob substitute]\"}}]}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.text": "Pink",
      "gen_ai.response.id": "msg_01EppuV7K1LsEjCuGZN1vDME",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 38,
      "gen_ai.usage.output_tokens": 4,
      "gen_ai.usage.total_tokens": 42
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/anthropic :: Long Input LLM Test (streaming)❗︎ 11506ms
checkChatSpanAttributes
950c9923gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
950c9923gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (2)
[
  {
    "span_id": "bb617980ce711865",
    "trace_id": "e3825680b339403f9ac9b4e0529a59ba",
    "op": "test",
    "description": "long-input-llm-test",
    "start_timestamp": 1779175516.6017,
    "timestamp": 1779175517.4164,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "950c992370ab1302",
    "trace_id": "e3825680b339403f9ac9b4e0529a59ba",
    "parent_span_id": "bb617980ce711865",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175516.6055,
    "timestamp": 1779175517.4152,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_019VQ5tp7hrpLMYVXJdx5eUW",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 5426,
      "gen_ai.usage.output_tokens": 15,
      "gen_ai.usage.total_tokens": 5441,
      "gen_ai.response.text": "A test message is repeated numerous times to create lengthy input."
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/anthropic :: Long Input LLM Test (blocking)❗︎ 11974ms
checkChatSpanAttributes
957cf542gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
957cf542gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (2)
[
  {
    "span_id": "956453a0fc923d0e",
    "trace_id": "c6f335d1065d46ec8f2b4367574cc22e",
    "op": "test",
    "description": "long-input-llm-test",
    "start_timestamp": 1779175516.6805,
    "timestamp": 1779175517.9156,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "957cf542b2a62a2e",
    "trace_id": "c6f335d1065d46ec8f2b4367574cc22e",
    "parent_span_id": "956453a0fc923d0e",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175516.6828,
    "timestamp": 1779175517.913,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.text": "This is a test message that has been repeated many times to create a lengthy input.",
      "gen_ai.response.id": "msg_01T6DviS6U3wXGaryCfBtE4C",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 5426,
      "gen_ai.usage.output_tokens": 20,
      "gen_ai.usage.total_tokens": 5446
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/anthropic :: Conversation ID LLM Test (streaming)❗︎ 13581ms
checkAISpanCount(4)
checkChatSpanAttributes
b19bafe3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b19bafe3gen_ai.output.messagesMissing output messages attribute
beeb19f1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
beeb19f1gen_ai.output.messagesMissing output messages attribute
98be3123gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
98be3123gen_ai.output.messagesMissing output messages attribute
b10f6897gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b10f6897gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (5)
[
  {
    "span_id": "a739c58014322f71",
    "trace_id": "2e7cb59058874204b6ebe2e76a349293",
    "op": "test",
    "description": "conversation-id-llm-test",
    "start_timestamp": 1779175517.628,
    "timestamp": 1779175520.5807002,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "b19bafe3d4f715c8",
    "trace_id": "2e7cb59058874204b6ebe2e76a349293",
    "parent_span_id": "a739c58014322f71",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175517.63,
    "timestamp": 1779175518.156,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_01KNPhVzqoAtwoHq26zgNMuA",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "gen_ai.response.text": "The capital of France is Paris."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "beeb19f174140182",
    "trace_id": "2e7cb59058874204b6ebe2e76a349293",
    "parent_span_id": "a739c58014322f71",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175518.1573,
    "timestamp": 1779175519.166,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_01Ui98r553JC3DbzxwNE6Ur9",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 46,
      "gen_ai.usage.total_tokens": 69,
      "gen_ai.response.text": "2 + 2 = **4**\n\nThis is a basic addition problem. When you combine 2 items with 2 more items, you get a total of 4 items."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "98be31235a494f07",
    "trace_id": "2e7cb59058874204b6ebe2e76a349293",
    "parent_span_id": "a739c58014322f71",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175519.1844,
    "timestamp": 1779175519.8118,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_01BTEWa1BQHpoN2CFwZxpR6K",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 37,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 47,
      "gen_ai.response.text": "The capital of Germany is Berlin."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b10f689771b9b75e",
    "trace_id": "2e7cb59058874204b6ebe2e76a349293",
    "parent_span_id": "a739c58014322f71",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175519.8172002,
    "timestamp": 1779175520.5799003,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_01E9UNoDEQwNYyXwarUwf5Nv",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 49,
      "gen_ai.usage.output_tokens": 14,
      "gen_ai.usage.total_tokens": 63,
      "gen_ai.response.text": "3 + 3 equals 6."
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/anthropic :: Conversation ID LLM Test (blocking)❗︎ 16409ms
checkAISpanCount(4)
checkChatSpanAttributes
b47dfb47gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b47dfb47gen_ai.output.messagesMissing output messages attribute
a10bf819gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a10bf819gen_ai.output.messagesMissing output messages attribute
bed6801dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bed6801dgen_ai.output.messagesMissing output messages attribute
9610c74bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9610c74bgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (5)
[
  {
    "span_id": "a7a15c4548b3e307",
    "trace_id": "d7e71bc804cc46579c6f1541fccd7572",
    "op": "test",
    "description": "conversation-id-llm-test",
    "start_timestamp": 1779175517.6551,
    "timestamp": 1779175523.4121,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "b47dfb47126f91c4",
    "trace_id": "d7e71bc804cc46579c6f1541fccd7572",
    "parent_span_id": "a7a15c4548b3e307",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175517.657,
    "timestamp": 1779175518.4794002,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.response.id": "msg_01Jg3KpnbyaXfP6TT1R6ryme",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a10bf8190661266b",
    "trace_id": "d7e71bc804cc46579c6f1541fccd7572",
    "parent_span_id": "a7a15c4548b3e307",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175518.4801002,
    "timestamp": 1779175519.3476999,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.text": "2 + 2 = **4**\n\nThis is one of the most fundamental addition facts in math! Is there anything else you'd like to learn about?",
      "gen_ai.response.id": "msg_01TZ2iKwZ4SmQ4ep8PNAs2aM",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 38,
      "gen_ai.usage.total_tokens": 61
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "bed6801d21ba528a",
    "trace_id": "d7e71bc804cc46579c6f1541fccd7572",
    "parent_span_id": "a7a15c4548b3e307",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175519.3485,
    "timestamp": 1779175520.4041998,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.text": "The capital of Germany is Berlin.",
      "gen_ai.response.id": "msg_01Gb9nXpS61VDj2utBWEqT9D",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 37,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 47
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9610c74b058ba4e7",
    "trace_id": "d7e71bc804cc46579c6f1541fccd7572",
    "parent_span_id": "a7a15c4548b3e307",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175520.4048,
    "timestamp": 1779175523.4119,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.text": "3 + 3 equals 6.",
      "gen_ai.response.id": "msg_01FTDrk4obCuW6PRzgBrBfLj",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 49,
      "gen_ai.usage.output_tokens": 14,
      "gen_ai.usage.total_tokens": 63
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/google-genai :: Basic LLM Test (streaming)❗︎ 11368ms
checkAISpanCount(1)
checkChatSpanAttributes
b8a39230gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b8a39230gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (2)
[
  {
    "span_id": "99a2bae9e9723746",
    "trace_id": "4801af12b9054c0b8ce783dda568e21b",
    "op": "test",
    "description": "basic-llm-test",
    "start_timestamp": 1779175517.9057002,
    "timestamp": 1779175518.6278,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "b8a3923039f0841a",
    "trace_id": "4801af12b9054c0b8ce783dda568e21b",
    "parent_span_id": "99a2bae9e9723746",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175517.9082003,
    "timestamp": 1779175518.6275,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is the capital of France?\"}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "XhAMatG-CMiN_PUP856f6AI",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "The capital of France is **Paris**."
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/google-genai :: Basic LLM Test (blocking)❗︎ 11346ms
checkAISpanCount(1)
checkChatSpanAttributes
b22bad3agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b22bad3agen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (2)
[
  {
    "span_id": "91ac74d9a2865ba3",
    "trace_id": "4bc68e5e72d54e5385e7e1dee51321a6",
    "op": "test",
    "description": "basic-llm-test",
    "start_timestamp": 1779175517.9078,
    "timestamp": 1779175518.6154,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "b22bad3acc9ce915",
    "trace_id": "4bc68e5e72d54e5385e7e1dee51321a6",
    "parent_span_id": "91ac74d9a2865ba3",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175517.9096,
    "timestamp": 1779175518.6148,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is the capital of France?\"}]}]",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "gen_ai.response.text": "The capital of France is **Paris**."
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/google-genai :: Multi-Turn LLM Test (streaming)❗︎ 13700ms
checkAISpanCount(3)
checkChatSpanAttributes
aed24711gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
aed24711gen_ai.output.messagesMissing output messages attribute
b41af4eagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b41af4eagen_ai.output.messagesMissing output messages attribute
b3415a80gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b3415a80gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "span_id": "90e60259c9ecec16",
    "trace_id": "06b7ec9685854feeb87b02e96a3f3a5e",
    "op": "test",
    "description": "multi-turn-llm-test",
    "start_timestamp": 1779175518.0663002,
    "timestamp": 1779175521.107,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "aed247114fd8ca85",
    "trace_id": "06b7ec9685854feeb87b02e96a3f3a5e",
    "parent_span_id": "90e60259c9ecec16",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175518.0681999,
    "timestamp": 1779175519.427,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is the capital of France?\"}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "XhAMary6EYqq_uMP876xiQY",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 7,
      "gen_ai.usage.total_tokens": 22,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "The capital of France is Paris."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b41af4eae3fa477b",
    "trace_id": "06b7ec9685854feeb87b02e96a3f3a5e",
    "parent_span_id": "90e60259c9ecec16",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175519.4276001,
    "timestamp": 1779175520.3379,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is the population of that city?\"}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "XxAMatjFLrua_uMPq63ioAY",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 32,
      "gen_ai.usage.output_tokens": 63,
      "gen_ai.usage.total_tokens": 95,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "The population of Paris is approximately **2.1 million people** within the administrative city limits (the city of Paris itself).\n\nHowever, if you consider the **Paris metropolitan area** (which includes the suburbs and surrounding commuter towns), the population is much larger, estimated to be around **11 million people**."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b3415a80869982e5",
    "trace_id": "06b7ec9685854feeb87b02e96a3f3a5e",
    "parent_span_id": "90e60259c9ecec16",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175520.3384,
    "timestamp": 1779175521.1065,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What about the metropolitan area?\"}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "YBAMare2HPib_uMPi6qpmAY",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 57,
      "gen_ai.usage.output_tokens": 39,
      "gen_ai.usage.total_tokens": 96,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "The population of the Paris metropolitan area is much larger, estimated to be around **11 to 13 million people**. This includes the city of Paris and its surrounding suburbs and commuter towns."
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/google-genai :: Multi-Turn LLM Test (blocking)❗︎ 12729ms
checkAISpanCount(3)
checkChatSpanAttributes
b8b4d1f9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b8b4d1f9gen_ai.output.messagesMissing output messages attribute
820c9f0bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
820c9f0bgen_ai.output.messagesMissing output messages attribute
98526fbagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
98526fbagen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "span_id": "bdaf0c0e787fe0d4",
    "trace_id": "26a4cb4f993e4d1ba039a18a3122a03a",
    "op": "test",
    "description": "multi-turn-llm-test",
    "start_timestamp": 1779175518.2893,
    "timestamp": 1779175520.3935,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "b8b4d1f994587e18",
    "trace_id": "26a4cb4f993e4d1ba039a18a3122a03a",
    "parent_span_id": "bdaf0c0e787fe0d4",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175518.2908,
    "timestamp": 1779175518.7131999,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is the capital of France?\"}]}]",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "gen_ai.response.text": "The capital of France is **Paris**."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "820c9f0b8cc428f0",
    "trace_id": "26a4cb4f993e4d1ba039a18a3122a03a",
    "parent_span_id": "bdaf0c0e787fe0d4",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175518.7141001,
    "timestamp": 1779175519.6291,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is the population of that city?\"}]}]",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 32,
      "gen_ai.usage.output_tokens": 72,
      "gen_ai.usage.total_tokens": 104,
      "gen_ai.response.text": "The population of Paris is approximately **2.1 million** people within the city limits (as of the most recent estimates).\n\nHowever, if you consider the wider metropolitan area of Paris, often referred to as the \"Paris metropolitan area\" or \"Île-de-France region,\" the population is significantly larger, around **12 million** people."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "98526fbafeaa8f5b",
    "trace_id": "26a4cb4f993e4d1ba039a18a3122a03a",
    "parent_span_id": "bdaf0c0e787fe0d4",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175519.6297,
    "timestamp": 1779175520.3931,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What about the metropolitan area?\"}]}]",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 57,
      "gen_ai.usage.output_tokens": 37,
      "gen_ai.usage.total_tokens": 94,
      "gen_ai.response.text": "The population of the Paris metropolitan area is much larger, estimated to be around **11 million people**.\n\nThis includes the city of Paris itself and its surrounding suburbs and commuter towns."
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/google-genai :: Vision LLM Test (streaming)❗︎ 11349ms
checkChatSpanAttributes
9a1cb862gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9a1cb862gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (2)
[
  {
    "span_id": "874f889dbc9ddb5b",
    "trace_id": "15c364e239a44c2e889e38dc439f2402",
    "op": "test",
    "description": "vision-llm-test",
    "start_timestamp": 1779175519.252,
    "timestamp": 1779175519.9473,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "9a1cb8623ae0f4f6",
    "trace_id": "15c364e239a44c2e889e38dc439f2402",
    "parent_span_id": "874f889dbc9ddb5b",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175519.2536001,
    "timestamp": 1779175519.9469001,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What color is this image? Reply with just the color name.\"},{\"inlineData\":{\"mimeType\":\"image/png\",\"data\":\"[Blob substitute]\"}}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "XxAMaqrqHbSc_uMPiNLvkQY",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 286,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 287,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "Coral"
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/google-genai :: Vision LLM Test (blocking)❗︎ 11515ms
checkChatSpanAttributes
b12d9bf1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b12d9bf1gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (2)
[
  {
    "span_id": "953652e0f311abaf",
    "trace_id": "8c2e29bbb60f4817bc5db79798f07e9f",
    "op": "test",
    "description": "vision-llm-test",
    "start_timestamp": 1779175519.277,
    "timestamp": 1779175520.1531,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "b12d9bf1dfbc4226",
    "trace_id": "8c2e29bbb60f4817bc5db79798f07e9f",
    "parent_span_id": "953652e0f311abaf",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175519.2786002,
    "timestamp": 1779175520.1526,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What color is this image? Reply with just the color name.\"},{\"inlineData\":{\"mimeType\":\"image/png\",\"data\":\"[Blob substitute]\"}}]}]",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 286,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 287,
      "gen_ai.response.text": "Coral"
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/google-genai :: Long Input LLM Test (streaming)❗︎ 11295ms
checkChatSpanAttributes
bf63cacbgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bf63cacbgen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (2)
[
  {
    "span_id": "aa8f6659dc9e62fd",
    "trace_id": "0dcaa7fc47734cafb22d3c0b1884bd02",
    "op": "test",
    "description": "long-input-llm-test",
    "start_timestamp": 1779175519.4133,
    "timestamp": 1779175520.0785,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "bf63cacb62b8c8ce",
    "trace_id": "0dcaa7fc47734cafb22d3c0b1884bd02",
    "parent_span_id": "aa8f6659dc9e62fd",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175519.4151,
    "timestamp": 1779175520.0781002,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be rep\"}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "XxAMas-6LNS8_uMP-Jq1uAI",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 5419,
      "gen_ai.usage.output_tokens": 15,
      "gen_ai.usage.total_tokens": 5434,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "This is a test message repeated multiple times to create a very long input."
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/google-genai :: Long Input LLM Test (blocking)❗︎ 11197ms
checkChatSpanAttributes
a5023140gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a5023140gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (2)
[
  {
    "span_id": "a3f9bb4ac66236d0",
    "trace_id": "45c975b30b5d4a2ea6760017c9ecf09f",
    "op": "test",
    "description": "long-input-llm-test",
    "start_timestamp": 1779175519.5155,
    "timestamp": 1779175520.1146998,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "a5023140422f3956",
    "trace_id": "45c975b30b5d4a2ea6760017c9ecf09f",
    "parent_span_id": "a3f9bb4ac66236d0",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175519.5171,
    "timestamp": 1779175520.1141,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be rep\"}]}]",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 5419,
      "gen_ai.usage.output_tokens": 15,
      "gen_ai.usage.total_tokens": 5434,
      "gen_ai.response.text": "This input consists of a repeated test message to create a very long input."
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/google-genai :: Conversation ID LLM Test (streaming)❗︎ 17452ms
checkAISpanCount(4)
checkChatSpanAttributes
a3c5e0a1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a3c5e0a1gen_ai.output.messagesMissing output messages attribute
aa336f1dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
aa336f1dgen_ai.output.messagesMissing output messages attribute
ab841908gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ab841908gen_ai.output.messagesMissing output messages attribute
adfaea88gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
adfaea88gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (5)
[
  {
    "span_id": "98088eeaf8709409",
    "trace_id": "d58a168ae63c4f4e85a54c035568df51",
    "op": "test",
    "description": "conversation-id-llm-test",
    "start_timestamp": 1779175520.0159,
    "timestamp": 1779175526.8479,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "a3c5e0a14f2e16f4",
    "trace_id": "d58a168ae63c4f4e85a54c035568df51",
    "parent_span_id": "98088eeaf8709409",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175520.0179,
    "timestamp": 1779175523.4738998,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is the capital of France?\"}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "YBAMasfDCfjn_uMPvLXSmQI",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "The capital of France is **Paris**."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "aa336f1d86cf45c4",
    "trace_id": "d58a168ae63c4f4e85a54c035568df51",
    "parent_span_id": "98088eeaf8709409",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175523.4746,
    "timestamp": 1779175525.2194,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is 2 + 2?\"}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "YxAMapfoI__U_uMPvpOZwA8",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 16,
      "gen_ai.usage.output_tokens": 7,
      "gen_ai.usage.total_tokens": 23,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "2 + 2 = 4"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "ab841908e03197df",
    "trace_id": "d58a168ae63c4f4e85a54c035568df51",
    "parent_span_id": "98088eeaf8709409",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175525.2198,
    "timestamp": 1779175525.6311002,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What about Germany?\"}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "ZRAMaqmPFL-p_uMPzKyI2A4",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 28,
      "gen_ai.usage.output_tokens": 7,
      "gen_ai.usage.total_tokens": 35,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "The capital of Germany is Berlin."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "adfaea88ef97943f",
    "trace_id": "d58a168ae63c4f4e85a54c035568df51",
    "parent_span_id": "98088eeaf8709409",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175525.6317,
    "timestamp": 1779175526.8475,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What about 3 + 3?\"}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "ZRAMasXiLfud_uMP8qHlsAY",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 34,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 42,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "3 + 3 equals 6."
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/google-genai :: Conversation ID LLM Test (blocking)❗︎ 13431ms
checkAISpanCount(4)
checkChatSpanAttributes
9b24777agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9b24777agen_ai.output.messagesMissing output messages attribute
811ccd85gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
811ccd85gen_ai.output.messagesMissing output messages attribute
8b62c373gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8b62c373gen_ai.output.messagesMissing output messages attribute
aecaa5dcgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
aecaa5dcgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (5)
[
  {
    "span_id": "935d15bc1bc3d991",
    "trace_id": "90f4824c8248498da0f596da2a3570da",
    "op": "test",
    "description": "conversation-id-llm-test",
    "start_timestamp": 1779175520.0525,
    "timestamp": 1779175522.8373,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "9b24777a2c367d92",
    "trace_id": "90f4824c8248498da0f596da2a3570da",
    "parent_span_id": "935d15bc1bc3d991",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175520.0537,
    "timestamp": 1779175520.635,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is the capital of France?\"}]}]",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "gen_ai.response.text": "The capital of France is **Paris**."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "811ccd859adebc83",
    "trace_id": "90f4824c8248498da0f596da2a3570da",
    "parent_span_id": "935d15bc1bc3d991",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175520.6358001,
    "timestamp": 1779175522.0268998,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is 2 + 2?\"}]}]",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 16,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 24,
      "gen_ai.response.text": "2 + 2 equals 4."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8b62c373bbd5fe96",
    "trace_id": "90f4824c8248498da0f596da2a3570da",
    "parent_span_id": "935d15bc1bc3d991",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175522.0274,
    "timestamp": 1779175522.5024,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What about Germany?\"}]}]",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 28,
      "gen_ai.usage.output_tokens": 7,
      "gen_ai.usage.total_tokens": 35,
      "gen_ai.response.text": "The capital of Germany is Berlin."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "aecaa5dc0f016a0a",
    "trace_id": "90f4824c8248498da0f596da2a3570da",
    "parent_span_id": "935d15bc1bc3d991",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175522.5029,
    "timestamp": 1779175522.8370998,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What about 3 + 3?\"}]}]",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 34,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 42,
      "gen_ai.response.text": "3 + 3 equals 6."
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/langchain :: Basic LLM Test (streaming, openai)❗︎ 1⚠︎ 12185ms
checkAISpanCount(1)
checkChatSpanAttributes
86574c61gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
86574c61gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
86574c61gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(1 span)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (2)
[
  {
    "span_id": "a5c2af37d7ba06a6",
    "trace_id": "9b17c0f574864af5a71d37580118939c",
    "op": "test",
    "description": "basic-llm-test",
    "start_timestamp": 1779175520.5951,
    "timestamp": 1779175522.1425998,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "86574c61593d2921",
    "trace_id": "9b17c0f574864af5a71d37580118939c",
    "parent_span_id": "a5c2af37d7ba06a6",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175520.5995,
    "timestamp": 1779175522.1420999,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris.\"]",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 75,
      "gen_ai.usage.total_tokens": 98,
      "gen_ai.response.id": "chatcmpl-Dh97JQ5IKnwUHnWoqqfvMBMvf8e8n",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/langchain :: Basic LLM Test (streaming, anthropic)❗︎ 1 1⚠︎ 1819ms
checkAISpanCount(1)
checkChatSpanAttributes
9b6d3ff2gen_ai.usage.input_tokensSpan 9b6d3ff2: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
9b6d3ff2gen_ai.usage.output_tokensSpan 9b6d3ff2: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkValidTokenUsage
9b6d3ff2gen_ai.usage.input_tokensinput_tokens must exist
9b6d3ff2gen_ai.usage.output_tokensoutput_tokens must exist
9b6d3ff2gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
9b6d3ff2gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (2)
[
  {
    "span_id": "9ef863189491b6e6",
    "trace_id": "9e65794ee3514cd6b1035d65a70a75ac",
    "op": "test",
    "description": "basic-llm-test",
    "start_timestamp": 1779175520.7343001,
    "timestamp": 1779175520.92,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "9b6d3ff26475d252",
    "trace_id": "9e65794ee3514cd6b1035d65a70a75ac",
    "parent_span_id": "9ef863189491b6e6",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175520.7398999,
    "timestamp": 1779175520.9024,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]"
    },
    "status": "error",
    "is_segment": false
  }
]
browser/langchain :: Basic LLM Test (blocking, openai)❗︎ 1⚠︎ 12635ms
checkAISpanCount(1)
checkChatSpanAttributes
b6aa1fcegen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b6aa1fcegen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
b6aa1fcegen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(1 span)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (2)
[
  {
    "span_id": "b840f1bcc84ff28e",
    "trace_id": "96a15e0ec6254a11b63309a15fca87db",
    "op": "test",
    "description": "basic-llm-test",
    "start_timestamp": 1779175520.7777,
    "timestamp": 1779175522.7161999,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "b6aa1fceed0d3850",
    "trace_id": "96a15e0ec6254a11b63309a15fca87db",
    "parent_span_id": "b840f1bcc84ff28e",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175520.7823,
    "timestamp": 1779175522.7153,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris.\"]",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 75,
      "gen_ai.usage.total_tokens": 98,
      "gen_ai.response.id": "chatcmpl-Dh97JZldTa4C9xB4UmhrgSu1ZDOqF",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/langchain :: Basic LLM Test (blocking, anthropic)❗︎ 1 1⚠︎ 1836ms
checkAISpanCount(1)
checkChatSpanAttributes
aceb7421gen_ai.usage.input_tokensSpan aceb7421: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
aceb7421gen_ai.usage.output_tokensSpan aceb7421: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkValidTokenUsage
aceb7421gen_ai.usage.input_tokensinput_tokens must exist
aceb7421gen_ai.usage.output_tokensoutput_tokens must exist
aceb7421gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
aceb7421gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (2)
[
  {
    "span_id": "b95988e1b8148cab",
    "trace_id": "6bfce95fcdbb4513a0ee67db96184a60",
    "op": "test",
    "description": "basic-llm-test",
    "start_timestamp": 1779175520.7971,
    "timestamp": 1779175520.997,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "aceb7421cdadec8a",
    "trace_id": "6bfce95fcdbb4513a0ee67db96184a60",
    "parent_span_id": "b95988e1b8148cab",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175520.8012002,
    "timestamp": 1779175520.9785,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]"
    },
    "status": "error",
    "is_segment": false
  }
]
browser/langchain :: Multi-Turn LLM Test (streaming, openai)❗︎ 1⚠︎ 120604ms
checkAISpanCount(3)
checkChatSpanAttributes
807d4e91gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
807d4e91gen_ai.output.messagesMissing output messages attribute
b7bfb460gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b7bfb460gen_ai.output.messagesMissing output messages attribute
9222cd76gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9222cd76gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
807d4e91gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
b7bfb460gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
9222cd76gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(3 spans)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (4)
[
  {
    "span_id": "b44ee4d499e8473f",
    "trace_id": "fe517dc24d024cbcbcee69c3d61ecbfc",
    "op": "test",
    "description": "multi-turn-llm-test",
    "start_timestamp": 1779175521.0347,
    "timestamp": 1779175540.9944003,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "807d4e910601c137",
    "trace_id": "fe517dc24d024cbcbcee69c3d61ecbfc",
    "parent_span_id": "b44ee4d499e8473f",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175521.0391002,
    "timestamp": 1779175522.2519002,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris.\"]",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 139,
      "gen_ai.usage.total_tokens": 162,
      "gen_ai.response.id": "chatcmpl-Dh97JO2tGBTc4MFPJcXEIgInVT9jm",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b7bfb460bbc1bf95",
    "trace_id": "fe517dc24d024cbcbcee69c3d61ecbfc",
    "parent_span_id": "b44ee4d499e8473f",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175522.2531002,
    "timestamp": 1779175529.3708,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"- City proper (the commune of Paris): about 2.1 million residents.\\n- Paris metropolitan area (the broader urban area): about 12 million residents.\\n\\nIf you want a precise figure for a specific year (e.g., 2018, 2020, 2022), tell me and I’ll provide it.\"]",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 1100,
      "gen_ai.usage.total_tokens": 1148,
      "gen_ai.response.id": "chatcmpl-Dh97KSbVpC0rBwjWE6YubpoW5g0CW",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9222cd76352b0fbf",
    "trace_id": "fe517dc24d024cbcbcee69c3d61ecbfc",
    "parent_span_id": "b44ee4d499e8473f",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175529.3719,
    "timestamp": 1779175540.9936001,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"There isn’t a single standard definition for “metropolitan area,” so the numbers vary. Here are the common ones:\\n\\n- Paris urban area (aire urbaine): about 12 million people. This includes Paris and its surrounding suburban communes that form one continuous built-up area.\\n- Métropole du Grand Paris (the administrative metropolis around Paris): about 7 million people (131 communes).\\n- Île-de-France region (the wider region that includes Paris and surrounding departments): roughly 12–13 million people.\\n\\nIf you have a specific definition or year in mind, I can give you a precise figure.\"]",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 2051,
      "gen_ai.usage.total_tokens": 2132,
      "gen_ai.response.id": "chatcmpl-Dh97RoY2nKQy9izUczwhcE7Wt7e7G",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/langchain :: Multi-Turn LLM Test (streaming, anthropic)❗︎ 1 1⚠︎ 11298ms
checkAISpanCount(3)
checkChatSpanAttributes
af2bf660gen_ai.usage.input_tokensSpan af2bf660: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
af2bf660gen_ai.usage.output_tokensSpan af2bf660: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
b1c24774gen_ai.usage.input_tokensSpan b1c24774: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
b1c24774gen_ai.usage.output_tokensSpan b1c24774: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
968860aegen_ai.usage.input_tokensSpan 968860ae: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
968860aegen_ai.usage.output_tokensSpan 968860ae: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkValidTokenUsage
af2bf660gen_ai.usage.input_tokensinput_tokens must exist
af2bf660gen_ai.usage.output_tokensoutput_tokens must exist
af2bf660gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
af2bf660gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
b1c24774gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
968860aegen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "span_id": "b7fbf0e42515141a",
    "trace_id": "3779677b13db4e309527e8a191bc1fc7",
    "op": "test",
    "description": "multi-turn-llm-test",
    "start_timestamp": 1779175521.2148001,
    "timestamp": 1779175521.89,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "af2bf66066c6e8be",
    "trace_id": "3779677b13db4e309527e8a191bc1fc7",
    "parent_span_id": "b7fbf0e42515141a",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175521.2188,
    "timestamp": 1779175521.4733999,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "b1c247744edbfb8b",
    "trace_id": "3779677b13db4e309527e8a191bc1fc7",
    "parent_span_id": "b7fbf0e42515141a",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175521.4919,
    "timestamp": 1779175521.6559,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "968860ae4f54252d",
    "trace_id": "3779677b13db4e309527e8a191bc1fc7",
    "parent_span_id": "b7fbf0e42515141a",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175521.6600997,
    "timestamp": 1779175521.887,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]"
    },
    "status": "error",
    "is_segment": false
  }
]
browser/langchain :: Multi-Turn LLM Test (blocking, openai)❗︎ 1⚠︎ 121444ms
checkAISpanCount(3)
checkChatSpanAttributes
895a23b2gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
895a23b2gen_ai.output.messagesMissing output messages attribute
b15e6d16gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b15e6d16gen_ai.output.messagesMissing output messages attribute
89bd5dc7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
89bd5dc7gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
895a23b2gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
b15e6d16gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
89bd5dc7gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(3 spans)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (4)
[
  {
    "span_id": "a50b10aa06b94a3f",
    "trace_id": "1e968dda47644c7092752b476116fc45",
    "op": "test",
    "description": "multi-turn-llm-test",
    "start_timestamp": 1779175521.5342002,
    "timestamp": 1779175542.2941,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "895a23b2258703e8",
    "trace_id": "1e968dda47644c7092752b476116fc45",
    "parent_span_id": "a50b10aa06b94a3f",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175521.539,
    "timestamp": 1779175523.1711001,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris. If you’d like more details about the city, I can share a quick overview.\"]",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 156,
      "gen_ai.usage.total_tokens": 179,
      "gen_ai.response.id": "chatcmpl-Dh97Jd7UoDEoqRIb1L0etBI73PQe8",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b15e6d162d2ec283",
    "trace_id": "1e968dda47644c7092752b476116fc45",
    "parent_span_id": "a50b10aa06b94a3f",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175523.1721,
    "timestamp": 1779175532.1195,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris population depends on which definition you use:\\n\\n- City proper (the commune of Paris): about 2.1 million residents.\\n- Paris metropolitan/urban area: about 12 million people.\\n- Île-de-France region (Greater Paris): about 12–13 million people.\\n\\nIf you specify which measure and year you want, I can give a precise figure.\"]",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 1363,
      "gen_ai.usage.total_tokens": 1411,
      "gen_ai.response.id": "chatcmpl-Dh97LFyAPWsQCCrtb22tyqkRwtEMl",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "89bd5dc7aee5b143",
    "trace_id": "1e968dda47644c7092752b476116fc45",
    "parent_span_id": "a50b10aa06b94a3f",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175532.1205,
    "timestamp": 1779175542.2934,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"It depends on how you define “metropolitan area.”\\n\\n- Paris urban area (aire urbaine de Paris): about 12 million people.\\n- Île-de-France region (the wider metropolitan region around Paris): roughly 12 to 13 million people, with recent estimates around ~12.3–12.5 million.\\n\\nIf you want exact figures with the year and source (e.g., INSEE), tell me which definition you prefer and I can pull the latest numbers.\"]",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 1642,
      "gen_ai.usage.total_tokens": 1723,
      "gen_ai.response.id": "chatcmpl-Dh97U7kasS8MJInsj58VPavGMtzFK",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/langchain :: Multi-Turn LLM Test (blocking, anthropic)❗︎ 1 1⚠︎ 11180ms
checkAISpanCount(3)
checkChatSpanAttributes
9ebba8e1gen_ai.usage.input_tokensSpan 9ebba8e1: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
9ebba8e1gen_ai.usage.output_tokensSpan 9ebba8e1: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
9c8f3b6cgen_ai.usage.input_tokensSpan 9c8f3b6c: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
9c8f3b6cgen_ai.usage.output_tokensSpan 9c8f3b6c: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
9b5e9d21gen_ai.usage.input_tokensSpan 9b5e9d21: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
9b5e9d21gen_ai.usage.output_tokensSpan 9b5e9d21: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkValidTokenUsage
9ebba8e1gen_ai.usage.input_tokensinput_tokens must exist
9ebba8e1gen_ai.usage.output_tokensoutput_tokens must exist
9ebba8e1gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
9ebba8e1gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
9c8f3b6cgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
9b5e9d21gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "span_id": "8ed703421d1e5c0d",
    "trace_id": "a628330cd1d143fdbe56f463a6341c1b",
    "op": "test",
    "description": "multi-turn-llm-test",
    "start_timestamp": 1779175521.6146998,
    "timestamp": 1779175522.1730998,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "9ebba8e152c1f0e3",
    "trace_id": "a628330cd1d143fdbe56f463a6341c1b",
    "parent_span_id": "8ed703421d1e5c0d",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175521.6183999,
    "timestamp": 1779175521.8093998,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "9c8f3b6c3c65c0e3",
    "trace_id": "a628330cd1d143fdbe56f463a6341c1b",
    "parent_span_id": "8ed703421d1e5c0d",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175521.8281,
    "timestamp": 1779175521.9968998,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "9b5e9d217f7cdba6",
    "trace_id": "a628330cd1d143fdbe56f463a6341c1b",
    "parent_span_id": "8ed703421d1e5c0d",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175522.0003,
    "timestamp": 1779175522.1705,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]"
    },
    "status": "error",
    "is_segment": false
  }
]
browser/langchain :: Vision LLM Test (streaming, openai)❗︎ 1⚠︎ 11187ms
checkChatSpanAttributes
89fee410gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
89fee410gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
89fee410gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(1 span)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (2)
[
  {
    "span_id": "be292ab70be78e87",
    "trace_id": "f9fb5d43ba8740988cd5df3654110bc1",
    "op": "test",
    "description": "vision-llm-test",
    "start_timestamp": 1779175522.8588,
    "timestamp": 1779175523.3209,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "89fee4106670a75b",
    "trace_id": "f9fb5d43ba8740988cd5df3654110bc1",
    "parent_span_id": "be292ab70be78e87",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175522.8644,
    "timestamp": 1779175523.3201,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"What color is this image? Reply with just the color name.\\\"},{\\\"type\\\":\\\"image_url\\\",\\\"image_url\\\":{\\\"url\\\":\\\"[Blob substitute]\\\"}}]\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Red\"]",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 8538,
      "gen_ai.response.id": "chatcmpl-Dh97L8llVrrxmw2mimupZRTs5j7Ze",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/langchain :: Vision LLM Test (streaming, anthropic)❗︎ 1 1⚠︎ 1899ms
checkChatSpanAttributes
943633f6gen_ai.usage.input_tokensSpan 943633f6: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
943633f6gen_ai.usage.output_tokensSpan 943633f6: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkValidTokenUsage
943633f6gen_ai.usage.input_tokensinput_tokens must exist
943633f6gen_ai.usage.output_tokensoutput_tokens must exist
943633f6gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
943633f6gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (2)
[
  {
    "span_id": "a7752a393ebb0195",
    "trace_id": "0e671a568dc1436580924b5253df2ce3",
    "op": "test",
    "description": "vision-llm-test",
    "start_timestamp": 1779175523.3950999,
    "timestamp": 1779175523.6060998,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "943633f61abc0499",
    "trace_id": "0e671a568dc1436580924b5253df2ce3",
    "parent_span_id": "a7752a393ebb0195",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175523.4015,
    "timestamp": 1779175523.5793002,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"What color is this image? Reply with just the color name.\\\"},{\\\"type\\\":\\\"image_url\\\",\\\"image_url\\\":{\\\"url\\\":\\\"[Blob substitute]\\\"}}]\"}]"
    },
    "status": "error",
    "is_segment": false
  }
]
browser/langchain :: Vision LLM Test (blocking, openai)❗︎ 1⚠︎ 11266ms
checkChatSpanAttributes
a3e42a2egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a3e42a2egen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
a3e42a2egen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(1 span)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (2)
[
  {
    "span_id": "ba1c33099da44d2b",
    "trace_id": "28bd9d2bfa8b4896b356755312fbde12",
    "op": "test",
    "description": "vision-llm-test",
    "start_timestamp": 1779175523.4682999,
    "timestamp": 1779175524.0022998,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "a3e42a2e41e07665",
    "trace_id": "28bd9d2bfa8b4896b356755312fbde12",
    "parent_span_id": "ba1c33099da44d2b",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175523.4810998,
    "timestamp": 1779175524.0010998,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"What color is this image? Reply with just the color name.\\\"},{\\\"type\\\":\\\"image_url\\\",\\\"image_url\\\":{\\\"url\\\":\\\"[Blob substitute]\\\"}}]\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Red\"]",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 8538,
      "gen_ai.response.id": "chatcmpl-Dh97Lo3ESwrERfbkyhUHT8H6N7FJk",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/langchain :: Vision LLM Test (blocking, anthropic)❗︎ 1 1⚠︎ 11166ms
checkChatSpanAttributes
91c9420fgen_ai.usage.input_tokensSpan 91c9420f: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
91c9420fgen_ai.usage.output_tokensSpan 91c9420f: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkValidTokenUsage
91c9420fgen_ai.usage.input_tokensinput_tokens must exist
91c9420fgen_ai.usage.output_tokensoutput_tokens must exist
91c9420fgen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
91c9420fgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (2)
[
  {
    "span_id": "a25d5df653bdbb3c",
    "trace_id": "127e9067bb5f4c11a385ab02e5987198",
    "op": "test",
    "description": "vision-llm-test",
    "start_timestamp": 1779175523.4552,
    "timestamp": 1779175523.9390998,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "91c9420f586ca2e0",
    "trace_id": "127e9067bb5f4c11a385ab02e5987198",
    "parent_span_id": "a25d5df653bdbb3c",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175523.4615,
    "timestamp": 1779175523.8993,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"What color is this image? Reply with just the color name.\\\"},{\\\"type\\\":\\\"image_url\\\",\\\"image_url\\\":{\\\"url\\\":\\\"[Blob substitute]\\\"}}]\"}]"
    },
    "status": "error",
    "is_segment": false
  }
]
browser/langchain :: Long Input LLM Test (streaming, openai)❗︎ 1⚠︎ 11983ms
checkChatSpanAttributes
a9578e16gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a9578e16gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
a9578e16gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(1 span)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (2)
[
  {
    "span_id": "8eb159e68fb50604",
    "trace_id": "f5717480efdb475891506c0acb2c1db1",
    "op": "test",
    "description": "long-input-llm-test",
    "start_timestamp": 1779175523.5653,
    "timestamp": 1779175524.8268,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "a9578e16cd8ab4e4",
    "trace_id": "f5717480efdb475891506c0acb2c1db1",
    "parent_span_id": "8eb159e68fb50604",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175523.5722,
    "timestamp": 1779175524.8263001,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"This message, which states \\\"This is a test message that will be repeated many times to create a very long input,\\\" is intended to be repeated multiple times to generate a lengthy text.\"]",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.output_tokens": 37,
      "gen_ai.usage.total_tokens": 5466,
      "gen_ai.response.id": "chatcmpl-Dh97LolL6ZANbQIaTDJ1IUFfb7dzH",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/langchain :: Long Input LLM Test (streaming, anthropic)❗︎ 1⚠︎ 1888ms
checkChatSpanAttributes
8cca67e0gen_ai.usage.input_tokensSpan 8cca67e0: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
8cca67e0gen_ai.usage.output_tokensSpan 8cca67e0: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkInputMessagesSchema
checkResponseModel
8cca67e0gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (2)
[
  {
    "span_id": "9f96714db8e90e5e",
    "trace_id": "ac6fe86e45124843b8eade15e4d0d62c",
    "op": "test",
    "description": "long-input-llm-test",
    "start_timestamp": 1779175523.6996999,
    "timestamp": 1779175523.9009,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "8cca67e0651a66bd",
    "trace_id": "ac6fe86e45124843b8eade15e4d0d62c",
    "parent_span_id": "9f96714db8e90e5e",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175523.7048998,
    "timestamp": 1779175523.8765,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]"
    },
    "status": "error",
    "is_segment": false
  }
]
browser/langchain :: Long Input LLM Test (blocking, openai)❗︎ 1⚠︎ 11549ms
checkChatSpanAttributes
978e8a23gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
978e8a23gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
978e8a23gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(1 span)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (2)
[
  {
    "span_id": "b8f800af7d624e25",
    "trace_id": "0caf2c97d0944f67a6511d17d1c69a20",
    "op": "test",
    "description": "long-input-llm-test",
    "start_timestamp": 1779175524.036,
    "timestamp": 1779175524.8862002,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "978e8a2314d4da6c",
    "trace_id": "0caf2c97d0944f67a6511d17d1c69a20",
    "parent_span_id": "b8f800af7d624e25",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175524.0443,
    "timestamp": 1779175524.8856,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"The test message will be repeated numerous times to generate a long input.\"]",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.output_tokens": 14,
      "gen_ai.usage.total_tokens": 5443,
      "gen_ai.response.id": "chatcmpl-Dh97MWtJCMci8TzziSB8dCvwNNkmP",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/langchain :: Long Input LLM Test (blocking, anthropic)❗︎ 1⚠︎ 1878ms
checkChatSpanAttributes
ba87dcebgen_ai.usage.input_tokensSpan ba87dceb: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
ba87dcebgen_ai.usage.output_tokensSpan ba87dceb: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkInputMessagesSchema
checkResponseModel
ba87dcebgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (2)
[
  {
    "span_id": "902ef948da5a0a09",
    "trace_id": "cd440fa02c47497f914c0bdc8d4db179",
    "op": "test",
    "description": "long-input-llm-test",
    "start_timestamp": 1779175524.1004,
    "timestamp": 1779175524.3286,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "ba87dceb66e3afe6",
    "trace_id": "cd440fa02c47497f914c0bdc8d4db179",
    "parent_span_id": "902ef948da5a0a09",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175524.1065,
    "timestamp": 1779175524.3095,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]"
    },
    "status": "error",
    "is_segment": false
  }
]
browser/langchain :: Conversation ID LLM Test (streaming, openai)❗︎ 1⚠︎ 18023ms
checkAISpanCount(4)
checkChatSpanAttributes
b25f36c5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b25f36c5gen_ai.output.messagesMissing output messages attribute
890d6c06gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
890d6c06gen_ai.output.messagesMissing output messages attribute
be7d5f17gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
be7d5f17gen_ai.output.messagesMissing output messages attribute
864d9f9dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
864d9f9dgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
b25f36c5gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
890d6c06gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
be7d5f17gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
864d9f9dgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(4 spans)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (5)
[
  {
    "span_id": "808bbcfade9646ad",
    "trace_id": "e3e062fcce684facbcaf2142a7933e82",
    "op": "test",
    "description": "conversation-id-llm-test",
    "start_timestamp": 1779175524.2617,
    "timestamp": 1779175531.647,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "b25f36c5443e4a30",
    "trace_id": "e3e062fcce684facbcaf2142a7933e82",
    "parent_span_id": "808bbcfade9646ad",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175524.266,
    "timestamp": 1779175526.2591999,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris.\"]",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 139,
      "gen_ai.usage.total_tokens": 162,
      "gen_ai.response.id": "chatcmpl-Dh97MEWSbKsV2VemaOA3tIjiFtAF9",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "890d6c06ab83a83f",
    "trace_id": "e3e062fcce684facbcaf2142a7933e82",
    "parent_span_id": "808bbcfade9646ad",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175526.2602,
    "timestamp": 1779175528.306,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"4\\n\\nTwo plus two equals four. If you’d like, I can give a quick practice problem or explain with a visual aid.\"]",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 292,
      "gen_ai.usage.total_tokens": 316,
      "gen_ai.response.id": "chatcmpl-Dh97O0A6SttlDnnrSer05BOJSnkOj",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "be7d5f17df4026d2",
    "trace_id": "e3e062fcce684facbcaf2142a7933e82",
    "parent_span_id": "808bbcfade9646ad",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175528.3079,
    "timestamp": 1779175529.911,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"The capital of Germany is Berlin.\"]",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 144,
      "gen_ai.usage.total_tokens": 188,
      "gen_ai.response.id": "chatcmpl-Dh97QmgtQRoHkcCAlWAMctcWz7WET",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "864d9f9de6a4a0ef",
    "trace_id": "e3e062fcce684facbcaf2142a7933e82",
    "parent_span_id": "808bbcfade9646ad",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175529.912,
    "timestamp": 1779175531.6465,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"3 + 3 equals 6. If you’d like, we can do a few more examples or discuss addition properties.\"]",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 226,
      "gen_ai.usage.total_tokens": 276,
      "gen_ai.response.id": "chatcmpl-Dh97STIxOSwuF5Ku4gcr4tEaXUCYi",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/langchain :: Conversation ID LLM Test (streaming, anthropic)❗︎ 1 1⚠︎ 11377ms
checkAISpanCount(4)
checkChatSpanAttributes
88da7bc4gen_ai.usage.input_tokensSpan 88da7bc4: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
88da7bc4gen_ai.usage.output_tokensSpan 88da7bc4: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
9cedb902gen_ai.usage.input_tokensSpan 9cedb902: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
9cedb902gen_ai.usage.output_tokensSpan 9cedb902: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
a0e729acgen_ai.usage.input_tokensSpan a0e729ac: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
a0e729acgen_ai.usage.output_tokensSpan a0e729ac: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
b2e888a4gen_ai.usage.input_tokensSpan b2e888a4: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
b2e888a4gen_ai.usage.output_tokensSpan b2e888a4: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
88da7bc4gen_ai.usage.input_tokensinput_tokens must exist
88da7bc4gen_ai.usage.output_tokensoutput_tokens must exist
88da7bc4gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
88da7bc4gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
9cedb902gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
a0e729acgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
b2e888a4gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (5)
[
  {
    "span_id": "afa2eb63783943f7",
    "trace_id": "ab61b92dee314537b39597cc34df7243",
    "op": "test",
    "description": "conversation-id-llm-test",
    "start_timestamp": 1779175524.554,
    "timestamp": 1779175525.299,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "88da7bc4f1bc4703",
    "trace_id": "ab61b92dee314537b39597cc34df7243",
    "parent_span_id": "afa2eb63783943f7",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175524.5596,
    "timestamp": 1779175524.7271001,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.conversation.id": "conv-a"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "9cedb902ef83d992",
    "trace_id": "ab61b92dee314537b39597cc34df7243",
    "parent_span_id": "afa2eb63783943f7",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175524.7461998,
    "timestamp": 1779175524.9109,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "gen_ai.conversation.id": "conv-b"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "a0e729ac23d8df27",
    "trace_id": "ab61b92dee314537b39597cc34df7243",
    "parent_span_id": "afa2eb63783943f7",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175524.9205,
    "timestamp": 1779175525.0923,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "gen_ai.conversation.id": "conv-a"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "b2e888a4a3964922",
    "trace_id": "ab61b92dee314537b39597cc34df7243",
    "parent_span_id": "afa2eb63783943f7",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175525.0954,
    "timestamp": 1779175525.2961001,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "gen_ai.conversation.id": "conv-b"
    },
    "status": "error",
    "is_segment": false
  }
]
browser/langchain :: Conversation ID LLM Test (blocking, openai)❗︎ 1⚠︎ 19417ms
checkAISpanCount(4)
checkChatSpanAttributes
b65fa036gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b65fa036gen_ai.output.messagesMissing output messages attribute
a4e6395cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a4e6395cgen_ai.output.messagesMissing output messages attribute
b7643f45gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b7643f45gen_ai.output.messagesMissing output messages attribute
b7ee859cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b7ee859cgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
b65fa036gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
a4e6395cgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
b7643f45gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
b7ee859cgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(4 spans)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (5)
[
  {
    "span_id": "945ff4a69a673064",
    "trace_id": "52d44f64d43b417eaa07a07fa6ee1495",
    "op": "test",
    "description": "conversation-id-llm-test",
    "start_timestamp": 1779175524.6055999,
    "timestamp": 1779175533.3435998,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "b65fa0369d4c20c7",
    "trace_id": "52d44f64d43b417eaa07a07fa6ee1495",
    "parent_span_id": "945ff4a69a673064",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175524.6135,
    "timestamp": 1779175526.8067,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris.\"]",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 203,
      "gen_ai.usage.total_tokens": 226,
      "gen_ai.response.id": "chatcmpl-Dh97MqfEgYgzrHi9FoZ39ZEhZVY40",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a4e6395cc1170053",
    "trace_id": "52d44f64d43b417eaa07a07fa6ee1495",
    "parent_span_id": "945ff4a69a673064",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175526.8079,
    "timestamp": 1779175529.1362998,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"4\\n\\nExplanation (brief): Adding two and two gives four because combining two units with another two units yields four units. If you’d like, I can show a quick visualization or explore this in different bases.\"]",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 243,
      "gen_ai.usage.total_tokens": 267,
      "gen_ai.response.id": "chatcmpl-Dh97P2kG9vf7VX2qCaT6PG5CxT6Q2",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b7643f45e9364f51",
    "trace_id": "52d44f64d43b417eaa07a07fa6ee1495",
    "parent_span_id": "945ff4a69a673064",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175529.1372998,
    "timestamp": 1779175530.442,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"The capital of Germany is Berlin. If you’d like, I can share a few quick facts about Berlin.\"]",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 95,
      "gen_ai.usage.total_tokens": 139,
      "gen_ai.response.id": "chatcmpl-Dh97RnoEezqKnaoyJWNbX09AiNS9J",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b7ee859ccd8e6685",
    "trace_id": "52d44f64d43b417eaa07a07fa6ee1495",
    "parent_span_id": "945ff4a69a673064",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175530.4429,
    "timestamp": 1779175533.3430998,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"3 + 3 = 6. It’s adding three and three to get six. If you like, you can think of it as 2 × 3 = 6 or visualize it on a number line or with counters.\"]",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 376,
      "gen_ai.usage.total_tokens": 426,
      "gen_ai.response.id": "chatcmpl-Dh97S615DA7cQm43M9fVD29FyAjUU",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/langchain :: Conversation ID LLM Test (blocking, anthropic)❗︎ 1 1⚠︎ 11422ms
checkAISpanCount(4)
checkChatSpanAttributes
ad0071e4gen_ai.usage.input_tokensSpan ad0071e4: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
ad0071e4gen_ai.usage.output_tokensSpan ad0071e4: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
b340df0dgen_ai.usage.input_tokensSpan b340df0d: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
b340df0dgen_ai.usage.output_tokensSpan b340df0d: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
824358bfgen_ai.usage.input_tokensSpan 824358bf: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
824358bfgen_ai.usage.output_tokensSpan 824358bf: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
bffff8cagen_ai.usage.input_tokensSpan bffff8ca: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
bffff8cagen_ai.usage.output_tokensSpan bffff8ca: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
ad0071e4gen_ai.usage.input_tokensinput_tokens must exist
ad0071e4gen_ai.usage.output_tokensoutput_tokens must exist
ad0071e4gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
ad0071e4gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
b340df0dgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
824358bfgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
bffff8cagen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (5)
[
  {
    "span_id": "9a25ac484c6ba8b7",
    "trace_id": "34aaf23ae9414a0788283c5b80ef3336",
    "op": "test",
    "description": "conversation-id-llm-test",
    "start_timestamp": 1779175524.6850998,
    "timestamp": 1779175525.4457,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "ad0071e40b5f2502",
    "trace_id": "34aaf23ae9414a0788283c5b80ef3336",
    "parent_span_id": "9a25ac484c6ba8b7",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175524.6894,
    "timestamp": 1779175524.8525,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.conversation.id": "conv-a"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "b340df0d7c49019e",
    "trace_id": "34aaf23ae9414a0788283c5b80ef3336",
    "parent_span_id": "9a25ac484c6ba8b7",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175524.8945,
    "timestamp": 1779175525.055,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "gen_ai.conversation.id": "conv-b"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "824358bf9265ad40",
    "trace_id": "34aaf23ae9414a0788283c5b80ef3336",
    "parent_span_id": "9a25ac484c6ba8b7",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175525.0593998,
    "timestamp": 1779175525.2147,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "gen_ai.conversation.id": "conv-a"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "bffff8ca0c87cb17",
    "trace_id": "34aaf23ae9414a0788283c5b80ef3336",
    "parent_span_id": "9a25ac484c6ba8b7",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175525.2175999,
    "timestamp": 1779175525.4382,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "gen_ai.conversation.id": "conv-b"
    },
    "status": "error",
    "is_segment": false
  }
]
browser/openai :: Basic LLM Test (streaming, chat)❗︎ 11932ms
checkAISpanCount(1)
checkChatSpanAttributes
8971d1bcgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8971d1bcgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(1 span)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (2)
[
  {
    "span_id": "ad7bafa217de170f",
    "trace_id": "9264ed50dcc54058a8d59ca74f8256b8",
    "op": "test",
    "description": "basic-llm-test",
    "start_timestamp": 1779175524.9557,
    "timestamp": 1779175526.2491999,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "8971d1bc50033756",
    "trace_id": "9264ed50dcc54058a8d59ca74f8256b8",
    "parent_span_id": "ad7bafa217de170f",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175524.9576,
    "timestamp": 1779175526.2486,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh97NmLXQvCaqhUoKT8MvdRcKZdBA",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 75,
      "gen_ai.usage.total_tokens": 98,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "Paris."
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/openai :: Basic LLM Test (streaming, responses)❗︎ 11823ms
checkAISpanCount(1)
checkChatSpanAttributes
a2e4df7fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a2e4df7fgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(1 span) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(1 span)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (2)
[
  {
    "span_id": "99cfc75734e6fdef",
    "trace_id": "6c4ed5c471d3461e9010ac0ed2eba4fe",
    "op": "test",
    "description": "basic-llm-test",
    "start_timestamp": 1779175525.4292,
    "timestamp": 1779175526.6573,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "a2e4df7f886f0959",
    "trace_id": "6c4ed5c471d3461e9010ac0ed2eba4fe",
    "parent_span_id": "99cfc75734e6fdef",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175525.4307,
    "timestamp": 1779175526.6567,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_0d19c3500539e7f6006a0c10658dd4819399b3e8d1de69e4db",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 138,
      "gen_ai.usage.total_tokens": 161,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "Paris.",
      "gen_ai.response.tool_calls": "[{\"id\":\"rs_0d19c3500539e7f6006a0c1065cf548193971b06ebb56c4e64\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_0d19c3500539e7f6006a0c10666180819397acf0143f64b58b\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris.\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/openai :: Basic LLM Test (blocking, chat)❗︎ 13131ms
checkAISpanCount(1)
checkChatSpanAttributes
9133a8ecgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9133a8ecgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (2)
[
  {
    "span_id": "9d6123b6a9deeb2f",
    "trace_id": "87dfdb13829e45f1ae572db0964254e8",
    "op": "test",
    "description": "basic-llm-test",
    "start_timestamp": 1779175525.5038002,
    "timestamp": 1779175528.0284,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "9133a8ec193ae438",
    "trace_id": "87dfdb13829e45f1ae572db0964254e8",
    "parent_span_id": "9d6123b6a9deeb2f",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175525.505,
    "timestamp": 1779175528.0279,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "chatcmpl-Dh97NIrBGnRLeOArYUJiPpYV76hIC",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 272,
      "gen_ai.usage.total_tokens": 295,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris is the capital of France.\"]"
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/openai :: Basic LLM Test (blocking, responses)❗︎ 12199ms
checkAISpanCount(1)
checkChatSpanAttributes
9211cbc4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9211cbc4gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (2)
[
  {
    "span_id": "9910c60605d5a8bd",
    "trace_id": "27d3ddb4170e4f6aba3a799047a47ffc",
    "op": "test",
    "description": "basic-llm-test",
    "start_timestamp": 1779175525.6476998,
    "timestamp": 1779175527.2478,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "9211cbc415948ff1",
    "trace_id": "27d3ddb4170e4f6aba3a799047a47ffc",
    "parent_span_id": "9910c60605d5a8bd",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175525.6488998,
    "timestamp": 1779175527.2472,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "resp_0bbb75404392b33c006a0c1065c0dc819492281e763677fa5d",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 125,
      "gen_ai.usage.total_tokens": 148,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "Paris."
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/openai :: Multi-Turn LLM Test (streaming, chat)❗︎ 116115ms
checkAISpanCount(3)
checkChatSpanAttributes
a09fa038gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a09fa038gen_ai.output.messagesMissing output messages attribute
bbaa1133gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bbaa1133gen_ai.output.messagesMissing output messages attribute
81f6d0d1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
81f6d0d1gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(3 spans)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (4)
[
  {
    "span_id": "81a96cacec4becb3",
    "trace_id": "c35d2046b97e4d659b593ad753baaa77",
    "op": "test",
    "description": "multi-turn-llm-test",
    "start_timestamp": 1779175525.8693001,
    "timestamp": 1779175541.3615,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "a09fa03876402375",
    "trace_id": "c35d2046b97e4d659b593ad753baaa77",
    "parent_span_id": "81a96cacec4becb3",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175525.8708,
    "timestamp": 1779175527.177,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh97OBh0NFusEFHOjIRAMCU1XJwxi",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 75,
      "gen_ai.usage.total_tokens": 98,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "Paris."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "bbaa11330a4bf84c",
    "trace_id": "c35d2046b97e4d659b593ad753baaa77",
    "parent_span_id": "81a96cacec4becb3",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175527.1775,
    "timestamp": 1779175533.2691002,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh97PbrfscfD4sNsalLsOENyDxg3N",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 921,
      "gen_ai.usage.total_tokens": 969,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "Paris (city proper) has about 2.1 million residents. If you mean the wider areas:\n\n- Paris metropolitan area (Île-de-France): about 12 million\n- Paris urban area: around 10–11 million\n\nNumbers vary by source and year. Which definition would you like the exact figure for, and from which year? I can give a precise number if you want."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "81f6d0d106e51d69",
    "trace_id": "c35d2046b97e4d659b593ad753baaa77",
    "parent_span_id": "81a96cacec4becb3",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175533.2697,
    "timestamp": 1779175541.3609002,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh97VQj1Hr6LaPstdT9WvmaEQTEXn",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 1261,
      "gen_ai.usage.total_tokens": 1342,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "A few common definitions:\n\n- Paris urban area (aire urbaine): about 12 million people.\n- Métropole du Grand Paris (the Paris city-region around the core city): about 7.5–7.8 million.\n- Île-de-France region (administrative region including Paris and its suburbs): about 12–12.5 million.\n\nNumbers vary by year and definition. If you tell me which definition you want (and the year), I can give a precise figure."
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/openai :: Multi-Turn LLM Test (streaming, responses)❗︎ 124583ms
checkAISpanCount(3)
checkChatSpanAttributes
b335ec39gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b335ec39gen_ai.output.messagesMissing output messages attribute
82da6438gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
82da6438gen_ai.output.messagesMissing output messages attribute
bd36f6ccgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bd36f6ccgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(3 spans)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (4)
[
  {
    "span_id": "881a42daa0517ac0",
    "trace_id": "9ab0d66b4eaf4947b17847537e76516a",
    "op": "test",
    "description": "multi-turn-llm-test",
    "start_timestamp": 1779175526.0283,
    "timestamp": 1779175549.9596999,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "b335ec396411f389",
    "trace_id": "9ab0d66b4eaf4947b17847537e76516a",
    "parent_span_id": "881a42daa0517ac0",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175526.0297,
    "timestamp": 1779175528.4617,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_0f5e803712983d09006a0c106622bc819396323779b8d2d3aa",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 175,
      "gen_ai.usage.total_tokens": 198,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "Paris.",
      "gen_ai.response.tool_calls": "[{\"id\":\"rs_0f5e803712983d09006a0c10665740819387d326e5af5cb8e0\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_0f5e803712983d09006a0c1068314c8193a065e1f8baad6b8a\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris.\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "82da643839b6c80b",
    "trace_id": "9ab0d66b4eaf4947b17847537e76516a",
    "parent_span_id": "881a42daa0517ac0",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175528.4622,
    "timestamp": 1779175537.8912,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_06e3e36778a16875006a0c106892dc8190906dda6c494abdad",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 1454,
      "gen_ai.usage.total_tokens": 1502,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "Paris (the city proper) has about 2.1 million residents (roughly 2.15 million, based on the latest INSEE figures around 2020).\n\nIf you mean broader definitions:\n- Paris urban area (aire urbaine): about 12 million people.\n- Paris Métropole du Grand Paris (the metropolitan authority): about 7 million.\n\nIf you’d like, I can look up the exact figures for a specific year or definition.",
      "gen_ai.response.tool_calls": "[{\"id\":\"rs_06e3e36778a16875006a0c1068e41c8190a21b5790238aa9d6\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_06e3e36778a16875006a0c10711ba0819096412d4595114f82\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris (the city proper) has about 2.1 million residents (roughly 2.15 million, based on the latest INSEE figures around 2020).\\n\\nIf you mean broader definitions:\\n- Paris urban area (aire urbaine): about 12 million people.\\n- Paris Métropole du Grand Paris (the metropolitan authority): about 7 million.\\n\\nIf you’d like, I can look up the exact figures for a specific year or definition.\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "bd36f6cc9fe5f2cc",
    "trace_id": "9ab0d66b4eaf4947b17847537e76516a",
    "parent_span_id": "881a42daa0517ac0",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175537.8917,
    "timestamp": 1779175549.959,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_0469c3990747e434006a0c1071ff54819697f112d3ee81e94d",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 2212,
      "gen_ai.usage.total_tokens": 2293,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "Around 12 million people, depending on the definition you use for “metropolitan area.”\n\n- If you mean the Paris urban area (aire urbaine): about 12 million.\n- If you mean the Île-de-France region (the wider metropolitan region): roughly 12.2–12.5 million (varies by year/source).\n- There are also smaller definitions (e.g., Grand Paris) that cover about 7–8 million.\n\nIf you tell me which definition you want, I can give a precise figure.",
      "gen_ai.response.tool_calls": "[{\"id\":\"rs_0469c3990747e434006a0c107237848196bfbef3716d90b6e8\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_0469c3990747e434006a0c107d24288196b7b8b2de662e463c\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Around 12 million people, depending on the definition you use for “metropolitan area.”\\n\\n- If you mean the Paris urban area (aire urbaine): about 12 million.\\n- If you mean the Île-de-France region (the wider metropolitan region): roughly 12.2–12.5 million (varies by year/source).\\n- There are also smaller definitions (e.g., Grand Paris) that cover about 7–8 million.\\n\\nIf you tell me which definition you want, I can give a precise figure.\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/openai :: Multi-Turn LLM Test (blocking, chat)❗︎ 123295ms
checkAISpanCount(3)
checkChatSpanAttributes
877715b5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
877715b5gen_ai.output.messagesMissing output messages attribute
b543363agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b543363agen_ai.output.messagesMissing output messages attribute
88fc3ba3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
88fc3ba3gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "span_id": "9905ad78b31a4e15",
    "trace_id": "4f8b18f3377943ebb70634323dc8a565",
    "op": "test",
    "description": "multi-turn-llm-test",
    "start_timestamp": 1779175526.8422,
    "timestamp": 1779175549.5148,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "877715b5ad62aaf3",
    "trace_id": "4f8b18f3377943ebb70634323dc8a565",
    "parent_span_id": "9905ad78b31a4e15",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175526.8435,
    "timestamp": 1779175528.6489,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "chatcmpl-Dh97PiPsQO5zHIb0SlqhVoWfVTYAy",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 202,
      "gen_ai.usage.total_tokens": 225,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris\"]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b543363a9705f66d",
    "trace_id": "4f8b18f3377943ebb70634323dc8a565",
    "parent_span_id": "9905ad78b31a4e15",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175528.6495,
    "timestamp": 1779175537.8479002,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.id": "chatcmpl-Dh97QsWUH7ZPYj3dx1o61y4GmU9v8",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 1374,
      "gen_ai.usage.total_tokens": 1422,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"- Paris city proper (the commune): about 2.1 million people (2,148,271 in 2020 according to INSEE).\\n- Paris metropolitan area (Île-de-France): about 12 million people.\\n\\nNumbers vary by definition (city proper vs. urban area vs. metro). If you want a specific definition or a more exact figure for a particular year, tell me and I’ll provide it.\"]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "88fc3ba32c73e42a",
    "trace_id": "4f8b18f3377943ebb70634323dc8a565",
    "parent_span_id": "9905ad78b31a4e15",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175537.8484,
    "timestamp": 1779175549.5141,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.response.id": "chatcmpl-Dh97afgpH9DsGEVz7G6jrAIie6LV8",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 2006,
      "gen_ai.usage.total_tokens": 2087,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"“Metropolitan area” can mean a few different things for Paris. Here are the common definitions and approximate figures:\\n\\n- Paris urban area (aire urbaine): about 12 million people (roughly 12.0–12.5 million; latest widely cited figures around 12.3 million in 2020).\\n- Île-de-France region (the wider metro region surrounding Paris): about 12–13 million (roughly 12.2–12.8 million in recent years).\\n- Métropole du Grand Paris (administrative metro area of 131 municipalities): about 7 million.\\n\\nIf you specify which definition you want, I can give a precise, year-specific figure.\"]"
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/openai :: Multi-Turn LLM Test (blocking, responses)❗︎ 122633ms
checkAISpanCount(3)
checkChatSpanAttributes
955360a8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
955360a8gen_ai.output.messagesMissing output messages attribute
a52952b3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a52952b3gen_ai.output.messagesMissing output messages attribute
98c5b3c7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
98c5b3c7gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "span_id": "8669455ea2d3a5b7",
    "trace_id": "649425aba6794b0980298531ea8df60f",
    "op": "test",
    "description": "multi-turn-llm-test",
    "start_timestamp": 1779175527.2652,
    "timestamp": 1779175549.2656999,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "955360a82e536c53",
    "trace_id": "649425aba6794b0980298531ea8df60f",
    "parent_span_id": "8669455ea2d3a5b7",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175527.2665,
    "timestamp": 1779175528.6980999,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "resp_065235305b4f092b006a0c106760b88195b02901d4d3c1166e",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 183,
      "gen_ai.usage.total_tokens": 206,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "Paris."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a52952b3dbba9ecc",
    "trace_id": "649425aba6794b0980298531ea8df60f",
    "parent_span_id": "8669455ea2d3a5b7",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175528.6985998,
    "timestamp": 1779175534.9955997,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.id": "resp_09b2fdadd55f3f6c006a0c1068fc588194bcabc792baf9225e",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 859,
      "gen_ai.usage.total_tokens": 907,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "Paris, the city itself, has about 2.1 million residents (city proper).\n\nIf you’re asking about larger scales:\n- Paris metropolitan area (the urban area): around 12 million people.\n- Île-de-France region (the wider region including suburbs): around 12–13 million.\n\nNumbers vary by boundary and year. If you want a precise figure for a specific boundary and year, tell me which one you need."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "98c5b3c77e3cee78",
    "trace_id": "649425aba6794b0980298531ea8df60f",
    "parent_span_id": "8669455ea2d3a5b7",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175534.9961,
    "timestamp": 1779175549.2652,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.response.id": "resp_0c747cf8ac13d908006a0c106f1b60819391644aeef66640ba",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 2239,
      "gen_ai.usage.total_tokens": 2320,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "If by “metropolitan area” you mean the Paris urban area (aire urbaine), the population is about 12 million people (latest estimates are roughly 12–13 million, depending on year and source). If you mean the broader Île-de-France region (Greater Paris), it’s in the same ballpark, around 12–13 million as well. For comparison, Paris city proper has about 2.2 million residents.\n\nIf you want a precise figure, tell me which definition and what year you’d like, and I’ll look up the latest numbers."
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/openai :: Vision LLM Test (streaming, chat)❗︎ 11179ms
checkChatSpanAttributes
be0a7decgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
be0a7decgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(1 span)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (2)
[
  {
    "span_id": "a707b42ab09183d5",
    "trace_id": "ead1c8813b934b9c82e299b8abae1ecb",
    "op": "test",
    "description": "vision-llm-test",
    "start_timestamp": 1779175528.688,
    "timestamp": 1779175529.2679,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "be0a7decec34d701",
    "trace_id": "ead1c8813b934b9c82e299b8abae1ecb",
    "parent_span_id": "a707b42ab09183d5",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175528.6894,
    "timestamp": 1779175529.2673998,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.stream": true,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":[{\"type\":\"text\",\"text\":\"What color is this image? Reply with just the color name.\"},{\"type\":\"image_url\",\"image_url\":{\"url\":\"[Blob substitute]\"}}]}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh97QETQHK4dxtHep4eKVbpBndcyT",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 8538,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "Red"
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/openai :: Vision LLM Test (streaming, responses)❗︎ 11836ms
checkChatSpanAttributes
ad309ec6gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ad309ec6gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(1 span) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(1 span)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (2)
[
  {
    "span_id": "bee06fc0662dcc33",
    "trace_id": "3700b48907c74f108971efa0210e0d41",
    "op": "test",
    "description": "vision-llm-test",
    "start_timestamp": 1779175528.8811002,
    "timestamp": 1779175530.1215,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "ad309ec6335c3d02",
    "trace_id": "3700b48907c74f108971efa0210e0d41",
    "parent_span_id": "bee06fc0662dcc33",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175528.8825,
    "timestamp": 1779175530.1211002,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.stream": true,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What color is this image? Reply with just the color name.\"},{\"type\":\"input_image\",\"image_url\":\"[Blob substitute]\"}]}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_0eb5687bede8b887006a0c10693a248194ab2facb5238350da",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 2,
      "gen_ai.usage.total_tokens": 8539,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "Red",
      "gen_ai.response.tool_calls": "[{\"id\":\"msg_0eb5687bede8b887006a0c1069da4c819490b249515bbb7732\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Red\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/openai :: Vision LLM Test (blocking, chat)❗︎ 11147ms
checkChatSpanAttributes
ab4f91f1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ab4f91f1gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (2)
[
  {
    "span_id": "8bae16a8a657ed54",
    "trace_id": "d5fcf494437743579d0f90a82efcbce7",
    "op": "test",
    "description": "vision-llm-test",
    "start_timestamp": 1779175528.8798,
    "timestamp": 1779175529.4236,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "ab4f91f13a4d38a8",
    "trace_id": "d5fcf494437743579d0f90a82efcbce7",
    "parent_span_id": "8bae16a8a657ed54",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175528.8811,
    "timestamp": 1779175529.423,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":[{\"type\":\"text\",\"text\":\"What color is this image? Reply with just the color name.\"},{\"type\":\"image_url\",\"image_url\":{\"url\":\"[Blob substitute]\"}}]}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "chatcmpl-Dh97RKRtKj995rk6L34KCKs30ABd6",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 8538,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Red\"]"
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/openai :: Vision LLM Test (blocking, responses)❗︎ 12734ms
checkChatSpanAttributes
8637e951gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8637e951gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (2)
[
  {
    "span_id": "a221b4ca42600d54",
    "trace_id": "13fcd189451e429eaace7a829da8d696",
    "op": "test",
    "description": "vision-llm-test",
    "start_timestamp": 1779175529.8532002,
    "timestamp": 1779175532,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "8637e951ba9321c6",
    "trace_id": "13fcd189451e429eaace7a829da8d696",
    "parent_span_id": "a221b4ca42600d54",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175529.8547,
    "timestamp": 1779175531.9995,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What color is this image? Reply with just the color name.\"},{\"type\":\"input_image\",\"image_url\":\"[Blob substitute]\"}]}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "resp_0fe67bcae4882612006a0c1069f5d8819797b05285a624d9e3",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 2,
      "gen_ai.usage.total_tokens": 8539,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "Red"
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/openai :: Long Input LLM Test (streaming, chat)❗︎ 11317ms
checkChatSpanAttributes
a1aeba61gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a1aeba61gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(1 span)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (2)
[
  {
    "span_id": "b48c38d0e6067e88",
    "trace_id": "542cfb0535974fb3a5bf20e2e457691c",
    "op": "test",
    "description": "long-input-llm-test",
    "start_timestamp": 1779175530.0215,
    "timestamp": 1779175530.7435,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "a1aeba612db01378",
    "trace_id": "542cfb0535974fb3a5bf20e2e457691c",
    "parent_span_id": "b48c38d0e6067e88",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175530.023,
    "timestamp": 1779175530.743,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.stream": true,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh97Sh21JniJAw9SWy4tRlJFYjM3O",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.output_tokens": 13,
      "gen_ai.usage.total_tokens": 5442,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "This test message will be repeatedly sent to generate a lengthy input."
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/openai :: Long Input LLM Test (streaming, responses)❗︎ 13016ms
checkChatSpanAttributes
81bc0bfbgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
81bc0bfbgen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(1 span) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(1 span)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (2)
[
  {
    "span_id": "bbc68c8c0055502d",
    "trace_id": "daea68f1f69d430e80cccb13ac95bf53",
    "op": "test",
    "description": "long-input-llm-test",
    "start_timestamp": 1779175530.7038,
    "timestamp": 1779175533.1226,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "81bc0bfbdb294fb9",
    "trace_id": "daea68f1f69d430e80cccb13ac95bf53",
    "parent_span_id": "bbc68c8c0055502d",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175530.7053,
    "timestamp": 1779175533.1222003,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.stream": true,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_00c14e17683956ca006a0c106ad404819087292e50354a862c",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.output_tokens": 15,
      "gen_ai.usage.total_tokens": 5444,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "This message describes a repeated test phrase designed to produce a lengthy input.",
      "gen_ai.response.tool_calls": "[{\"id\":\"msg_00c14e17683956ca006a0c106b45f8819099350a77deda0a04\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"This message describes a repeated test phrase designed to produce a lengthy input.\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/openai :: Long Input LLM Test (blocking, chat)❗︎ 11966ms
checkChatSpanAttributes
8b317717gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8b317717gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (2)
[
  {
    "span_id": "8042fafd06a44821",
    "trace_id": "5ca856f7027b4086bc0b3f0c6b1a1fbe",
    "op": "test",
    "description": "long-input-llm-test",
    "start_timestamp": 1779175531.3374,
    "timestamp": 1779175532.7096999,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "8b317717a623517c",
    "trace_id": "5ca856f7027b4086bc0b3f0c6b1a1fbe",
    "parent_span_id": "8042fafd06a44821",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175531.3388,
    "timestamp": 1779175532.7093,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "chatcmpl-Dh97TkRU7flp2qHBulIqRJlkoVKb1",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.output_tokens": 34,
      "gen_ai.usage.total_tokens": 5463,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"This message repeatedly emphasizes the phrase \\\"This is a test message that will be repeated many times to create a very long input\\\" to demonstrate the creation of lengthy input text.\"]"
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/openai :: Long Input LLM Test (blocking, responses)❗︎ 12183ms
checkChatSpanAttributes
850bc74bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
850bc74bgen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (2)
[
  {
    "span_id": "94f16e7cf22e74f5",
    "trace_id": "0c5f0e48b07b406d80d72292e0ae87a5",
    "op": "test",
    "description": "long-input-llm-test",
    "start_timestamp": 1779175532.2375,
    "timestamp": 1779175533.8265998,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "850bc74bda99282e",
    "trace_id": "0c5f0e48b07b406d80d72292e0ae87a5",
    "parent_span_id": "94f16e7cf22e74f5",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175532.239,
    "timestamp": 1779175533.826,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "resp_0a2b9dcce3dd8fe0006a0c106c5d408195871c5d5886190b26",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.output_tokens": 15,
      "gen_ai.usage.total_tokens": 5444,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "This message repeatedly states a test message aimed at generating a long input."
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/openai :: Conversation ID LLM Test (streaming, chat)❗︎ 19984ms
checkAISpanCount(4)
checkChatSpanAttributes
ae2a6c44gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ae2a6c44gen_ai.output.messagesMissing output messages attribute
9eee06d9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9eee06d9gen_ai.output.messagesMissing output messages attribute
bc21b1d5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bc21b1d5gen_ai.output.messagesMissing output messages attribute
8f73325agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8f73325agen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(4 spans)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (5)
[
  {
    "span_id": "8048905edb18cfba",
    "trace_id": "0368bfbc4ef74b97937a0b85d556a12c",
    "op": "test",
    "description": "conversation-id-llm-test",
    "start_timestamp": 1779175532.5874,
    "timestamp": 1779175541.933,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "ae2a6c44f65103a9",
    "trace_id": "0368bfbc4ef74b97937a0b85d556a12c",
    "parent_span_id": "8048905edb18cfba",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175532.5888999,
    "timestamp": 1779175534.173,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh97Unl87VFJRGPDrVOqyWzkKn7J0",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 203,
      "gen_ai.usage.total_tokens": 226,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "Paris."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9eee06d9ec0f4e8b",
    "trace_id": "0368bfbc4ef74b97937a0b85d556a12c",
    "parent_span_id": "8048905edb18cfba",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175534.1736999,
    "timestamp": 1779175538.3161,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh97W1SecstpwuPVtJgOpCoa43ZMQ",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 603,
      "gen_ai.usage.total_tokens": 627,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "4. Would you like a quick explanation or want to practice with a few similar problems?"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "bc21b1d56a824602",
    "trace_id": "0368bfbc4ef74b97937a0b85d556a12c",
    "parent_span_id": "8048905edb18cfba",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175538.3165998,
    "timestamp": 1779175539.7017999,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh97a9yhGPg7yA1kQvfYKGZj2aGle",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 139,
      "gen_ai.usage.total_tokens": 183,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "Berlin."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8f73325a3b5b9793",
    "trace_id": "0368bfbc4ef74b97937a0b85d556a12c",
    "parent_span_id": "8048905edb18cfba",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175539.7024,
    "timestamp": 1779175541.9325,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh97bEeO5Z3xqugGcN3GIQGnw8k4x",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 363,
      "gen_ai.usage.total_tokens": 413,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "3 + 3 equals 6.\n\nIf you want, I can show a quick mental math trick (counting up from 3) or explain some addition properties."
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/openai :: Conversation ID LLM Test (streaming, responses)❗︎ 110604ms
checkAISpanCount(4)
checkChatSpanAttributes
82d7a95fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
82d7a95fgen_ai.output.messagesMissing output messages attribute
ac570ec3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ac570ec3gen_ai.output.messagesMissing output messages attribute
aabcc59dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
aabcc59dgen_ai.output.messagesMissing output messages attribute
969056b8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
969056b8gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(4 spans)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (5)
[
  {
    "span_id": "aa57d13451989a63",
    "trace_id": "b0c09384f7e6453093f3f07b3d5a21d0",
    "op": "test",
    "description": "conversation-id-llm-test",
    "start_timestamp": 1779175533.3139,
    "timestamp": 1779175543.2533,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "82d7a95fe0243c39",
    "trace_id": "b0c09384f7e6453093f3f07b3d5a21d0",
    "parent_span_id": "aa57d13451989a63",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175533.3157,
    "timestamp": 1779175534.387,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_029835ba2348a3fc006a0c106d6cec819794d3a6c152514649",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 102,
      "gen_ai.usage.total_tokens": 125,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "Paris.",
      "gen_ai.response.tool_calls": "[{\"id\":\"rs_029835ba2348a3fc006a0c106da63c8197a48c8f2d1f7bffb2\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_029835ba2348a3fc006a0c106e1e4081979d223ba46457d1e2\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris.\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "ac570ec3c7ef2516",
    "trace_id": "b0c09384f7e6453093f3f07b3d5a21d0",
    "parent_span_id": "aa57d13451989a63",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175534.3876002,
    "timestamp": 1779175537.9656,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_03faff80464999bf006a0c106e811081909f980bc49b1eabd8",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 496,
      "gen_ai.usage.total_tokens": 520,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "4.\n\nIf you’d like a quick demonstration: start at 2 on a number line and move two steps to 3, then 4—so 2 + 2 = 4.",
      "gen_ai.response.tool_calls": "[{\"id\":\"rs_03faff80464999bf006a0c106eeb408190b58c2879bf78569c\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_03faff80464999bf006a0c107176e88190b7fcad05386019da\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"4.\\n\\nIf you’d like a quick demonstration: start at 2 on a number line and move two steps to 3, then 4—so 2 + 2 = 4.\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "aabcc59def1bb714",
    "trace_id": "b0c09384f7e6453093f3f07b3d5a21d0",
    "parent_span_id": "aa57d13451989a63",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175537.9661999,
    "timestamp": 1779175540.0993998,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_0431e57e97ff2fbe006a0c1072113881908e48813111e74a24",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 254,
      "gen_ai.usage.total_tokens": 298,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "The capital of Germany is Berlin.",
      "gen_ai.response.tool_calls": "[{\"id\":\"rs_0431e57e97ff2fbe006a0c107258c48190adde3efd147e2bd5\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_0431e57e97ff2fbe006a0c1073d8ec8190abc1f292b54ba0e9\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"The capital of Germany is Berlin.\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "969056b843af0a75",
    "trace_id": "b0c09384f7e6453093f3f07b3d5a21d0",
    "parent_span_id": "aa57d13451989a63",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175540.1,
    "timestamp": 1779175543.2528,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_096eaf74bfa82566006a0c107436c48193a116e6d110cd5a11",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 478,
      "gen_ai.usage.total_tokens": 528,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "3 + 3 = 6. Two groups of three make six. Want a few more practice problems? For example: 4 + 7, 9 + 2, or 5 + 5.",
      "gen_ai.response.tool_calls": "[{\"id\":\"rs_096eaf74bfa82566006a0c107482408193a8c911b6435903e6\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_096eaf74bfa82566006a0c1076d45c819388aa4767d1d58659\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"3 + 3 = 6. Two groups of three make six. Want a few more practice problems? For example: 4 + 7, 9 + 2, or 5 + 5.\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/openai :: Conversation ID LLM Test (blocking, chat)❗︎ 18154ms
checkAISpanCount(4)
checkChatSpanAttributes
86ab6aa5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
86ab6aa5gen_ai.output.messagesMissing output messages attribute
898da361gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
898da361gen_ai.output.messagesMissing output messages attribute
8b6aa07agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8b6aa07agen_ai.output.messagesMissing output messages attribute
8c7fde76gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8c7fde76gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (5)
[
  {
    "span_id": "ab5420169ad89201",
    "trace_id": "d39f428700d24626b0207aeef7a9f78e",
    "op": "test",
    "description": "conversation-id-llm-test",
    "start_timestamp": 1779175533.7193,
    "timestamp": 1779175541.27,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "86ab6aa507000de0",
    "trace_id": "d39f428700d24626b0207aeef7a9f78e",
    "parent_span_id": "ab5420169ad89201",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175533.7206,
    "timestamp": 1779175535.8572,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "chatcmpl-Dh97W5bay0MXNFtlkb6bu4MIPSzTp",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 139,
      "gen_ai.usage.total_tokens": 162,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris.\"]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "898da361340fbfe1",
    "trace_id": "d39f428700d24626b0207aeef7a9f78e",
    "parent_span_id": "ab5420169ad89201",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175535.8595,
    "timestamp": 1779175537.619,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "chatcmpl-Dh97Ya2cbIDpQmReNGdaCgBazs60m",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 215,
      "gen_ai.usage.total_tokens": 239,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"4\\n\\nWould you like a quick explanation or some extra practice problems?\"]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8b6aa07aa0414a6a",
    "trace_id": "d39f428700d24626b0207aeef7a9f78e",
    "parent_span_id": "ab5420169ad89201",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175537.6195998,
    "timestamp": 1779175539.0321999,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.id": "chatcmpl-Dh97Z11YeeCIv5llkCE4bdv26BLDq",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 159,
      "gen_ai.usage.total_tokens": 203,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"The capital of Germany is Berlin. If you’d like, I can share a few quick facts about Berlin.\"]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8c7fde76980dac02",
    "trace_id": "d39f428700d24626b0207aeef7a9f78e",
    "parent_span_id": "ab5420169ad89201",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175539.0328999,
    "timestamp": 1779175541.2696,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.id": "chatcmpl-Dh97bRPWXmuqGJAPXT8ebmmjOZF1C",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 298,
      "gen_ai.usage.total_tokens": 348,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"3 + 3 = 6.\\n\\nIf you want a quick way to see it, count up three more from three and you reach six. Want another example?\"]"
    },
    "status": "ok",
    "is_segment": false
  }
]
browser/openai :: Conversation ID LLM Test (blocking, responses)❗︎ 111974ms
checkAISpanCount(4)
checkChatSpanAttributes
9197d844gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9197d844gen_ai.output.messagesMissing output messages attribute
a08056f3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a08056f3gen_ai.output.messagesMissing output messages attribute
9a4dba0agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9a4dba0agen_ai.output.messagesMissing output messages attribute
bf992d2fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bf992d2fgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (5)
[
  {
    "span_id": "8535643bcd3895a6",
    "trace_id": "97822226a0e54d9b8ef54bd86b020ae6",
    "op": "test",
    "description": "conversation-id-llm-test",
    "start_timestamp": 1779175533.9457002,
    "timestamp": 1779175545.2491002,
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test",
      "sentry.source": "custom",
      "sentry.sample_rate": 1
    }
  },
  {
    "span_id": "9197d84490a43a31",
    "trace_id": "97822226a0e54d9b8ef54bd86b020ae6",
    "parent_span_id": "8535643bcd3895a6",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175533.947,
    "timestamp": 1779175535.5779002,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "resp_05381271fd31ceb2006a0c106e0e788190ab40d89372d30cf5",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 205,
      "gen_ai.usage.total_tokens": 228,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "Paris."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a08056f372aebe36",
    "trace_id": "97822226a0e54d9b8ef54bd86b020ae6",
    "parent_span_id": "8535643bcd3895a6",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175535.5786002,
    "timestamp": 1779175540.2924001,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "resp_09229f836e634895006a0c106fae048193b90f145d469ea0eb",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 725,
      "gen_ai.usage.total_tokens": 749,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "4\n\nOptional note (for bases other than 10): in base 3 it’s 11, in base 4 it’s 10, and in any base 5 or higher it’s the digit 4."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9a4dba0afc0302fb",
    "trace_id": "97822226a0e54d9b8ef54bd86b020ae6",
    "parent_span_id": "8535643bcd3895a6",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175540.2929,
    "timestamp": 1779175542.7491002,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.id": "resp_07ebb37dc1e35c9e006a0c1074685c8197a746f80823255d7a",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 217,
      "gen_ai.usage.total_tokens": 261,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "Berlin. If you’d like, I can share a few quick facts about Berlin (population, landmarks, history)."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "bf992d2f458312dc",
    "trace_id": "97822226a0e54d9b8ef54bd86b020ae6",
    "parent_span_id": "8535643bcd3895a6",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175542.7496002,
    "timestamp": 1779175545.2481,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.id": "resp_058cf71b3185c4f4006a0c1076df2c8190883726f4f600650b",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 266,
      "gen_ai.usage.total_tokens": 316,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "3 + 3 = 6.\n\nThat's because adding two threes together gives six. Want to see it on a number line or with a quick practice problem?"
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/anthropic :: Basic LLM Test (streaming)❗︎ 15894ms
checkAISpanCount(1)
checkChatSpanAttributes
ac42107agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ac42107agen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "basic-llm-test",
    "op": "test",
    "parent_span_id": "9c4af46c397593fc",
    "span_id": "97d574457facad36",
    "start_timestamp": 1779175536.164,
    "timestamp": 1779175536.739,
    "trace_id": "90dc7a6a7ec045e2bdf92bccc76acd0b",
    "origin": "manual"
  },
  {
    "span_id": "9c4af46c397593fc",
    "trace_id": "90dc7a6a7ec045e2bdf92bccc76acd0b",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175536.162,
    "timestamp": 1779175536.742,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24302/",
      "url.port": "24302",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24302",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "ac42107aef48666a",
    "trace_id": "90dc7a6a7ec045e2bdf92bccc76acd0b",
    "parent_span_id": "97d574457facad36",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175536.165,
    "timestamp": 1779175536.737,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_01CFhAKub63v2zUxE7dPE7a7",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "gen_ai.response.text": "The capital of France is Paris."
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/anthropic :: Basic LLM Test (blocking)❗︎ 16213ms
checkAISpanCount(1)
checkChatSpanAttributes
938ff303gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
938ff303gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "basic-llm-test",
    "op": "test",
    "parent_span_id": "a18780b391b7d247",
    "span_id": "a85fd3c42f0c8e13",
    "start_timestamp": 1779175536.191,
    "timestamp": 1779175537.094,
    "trace_id": "50e98b2f6a6145b29043a8df4e41b6f3",
    "origin": "manual"
  },
  {
    "span_id": "a18780b391b7d247",
    "trace_id": "50e98b2f6a6145b29043a8df4e41b6f3",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175536.189,
    "timestamp": 1779175537.095,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24303/",
      "url.port": "24303",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24303",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "938ff303550faa55",
    "trace_id": "50e98b2f6a6145b29043a8df4e41b6f3",
    "parent_span_id": "a85fd3c42f0c8e13",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175536.191,
    "timestamp": 1779175537.093,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.text": "The capital of France is **Paris**. It is located in the north-central part of the country and is the largest city in France, as well as one of the most influential cities in the world.",
      "gen_ai.response.id": "msg_01M5tbpi1JetzTaqLFRfgfkL",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 45,
      "gen_ai.usage.total_tokens": 65
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/anthropic :: Multi-Turn LLM Test (streaming)❗︎ 19555ms
checkAISpanCount(3)
checkChatSpanAttributes
94d80ca5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
94d80ca5gen_ai.output.messagesMissing output messages attribute
80f8b618gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
80f8b618gen_ai.output.messagesMissing output messages attribute
b56ab129gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b56ab129gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (5)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "multi-turn-llm-test",
    "op": "test",
    "parent_span_id": "8581111a83db2789",
    "span_id": "b5e5400be12d998d",
    "start_timestamp": 1779175542.24,
    "timestamp": 1779175546.238,
    "trace_id": "157cafa47e3f44eb8aeb13082cb27cba",
    "origin": "manual"
  },
  {
    "span_id": "8581111a83db2789",
    "trace_id": "157cafa47e3f44eb8aeb13082cb27cba",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175542.235,
    "timestamp": 1779175546.252,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24304/",
      "url.port": "24304",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24304",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "94d80ca5671ec3f9",
    "trace_id": "157cafa47e3f44eb8aeb13082cb27cba",
    "parent_span_id": "b5e5400be12d998d",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175542.241,
    "timestamp": 1779175543.393,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_01UWvdrpGyUtYMmEH1dwoQgp",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "gen_ai.response.text": "The capital of France is Paris."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "80f8b618964ff972",
    "trace_id": "157cafa47e3f44eb8aeb13082cb27cba",
    "parent_span_id": "b5e5400be12d998d",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175543.403,
    "timestamp": 1779175545.31,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_01MpXVJhotRuuuU72d5j6sB1",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 41,
      "gen_ai.usage.output_tokens": 64,
      "gen_ai.usage.total_tokens": 105,
      "gen_ai.response.text": "Paris has a population of approximately 2.1-2.2 million people within the city proper. However, the greater Paris metropolitan area (Île-de-France) has a much larger population of around 12 million people, making it one of the largest metropolitan areas in Europe."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b56ab12995e1d250",
    "trace_id": "157cafa47e3f44eb8aeb13082cb27cba",
    "parent_span_id": "b5e5400be12d998d",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175545.311,
    "timestamp": 1779175546.237,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_01HSfZo65dx52CyteCzoDBBq",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 71,
      "gen_ai.usage.output_tokens": 38,
      "gen_ai.usage.total_tokens": 109,
      "gen_ai.response.text": "The Paris metropolitan area (Île-de-France region) has a population of approximately 12 million people, making it one of the largest metropolitan areas in Europe."
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/anthropic :: Multi-Turn LLM Test (blocking)❗︎ 19149ms
checkAISpanCount(3)
checkChatSpanAttributes
9645de0fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9645de0fgen_ai.output.messagesMissing output messages attribute
af74a508gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
af74a508gen_ai.output.messagesMissing output messages attribute
810ad522gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
810ad522gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (5)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "multi-turn-llm-test",
    "op": "test",
    "parent_span_id": "848b56a2a5e27e94",
    "span_id": "b1da3b235ce9bddf",
    "start_timestamp": 1779175543.039,
    "timestamp": 1779175546.176,
    "trace_id": "8481d96e1c8a4f949173a9657a6cd649",
    "origin": "manual"
  },
  {
    "span_id": "848b56a2a5e27e94",
    "trace_id": "8481d96e1c8a4f949173a9657a6cd649",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175543.037,
    "timestamp": 1779175546.187,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24305/",
      "url.port": "24305",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24305",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "9645de0f0a760a19",
    "trace_id": "8481d96e1c8a4f949173a9657a6cd649",
    "parent_span_id": "b1da3b235ce9bddf",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175543.04,
    "timestamp": 1779175543.943,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.response.id": "msg_01V1RAL3K7FeNtE9khdEWdad",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "af74a5087a82ba1b",
    "trace_id": "8481d96e1c8a4f949173a9657a6cd649",
    "parent_span_id": "b1da3b235ce9bddf",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175543.951,
    "timestamp": 1779175545.449,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.text": "The population of Paris is approximately 2.2 million people within the city proper. However, if you include the greater Paris metropolitan area (Île-de-France region), the population is much larger at around 12 million people. The exact figures can vary depending on the source and how city boundaries are defined.",
      "gen_ai.response.id": "msg_01HqWY8aAqkDWmv5ykH9mcnM",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 41,
      "gen_ai.usage.output_tokens": 69,
      "gen_ai.usage.total_tokens": 110
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "810ad522ca01c50e",
    "trace_id": "8481d96e1c8a4f949173a9657a6cd649",
    "parent_span_id": "b1da3b235ce9bddf",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175545.449,
    "timestamp": 1779175546.176,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.response.text": "The metropolitan area of Paris (known as the Île-de-France region) has a population of approximately 12 million people, making it one of the largest metropolitan areas in Europe.",
      "gen_ai.response.id": "msg_01QmC7f6RLyMAUB6VdiR7yo7",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 71,
      "gen_ai.usage.output_tokens": 42,
      "gen_ai.usage.total_tokens": 113
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/anthropic :: Vision LLM Test (streaming)❗︎ 17518ms
checkChatSpanAttributes
bda92d04gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bda92d04gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "vision-llm-test",
    "op": "test",
    "parent_span_id": "8b1a610df798b3c8",
    "span_id": "8208dff738ec7f34",
    "start_timestamp": 1779175545.321,
    "timestamp": 1779175545.865,
    "trace_id": "6107b4582bc84c8b8948d3702ffe6eaf",
    "origin": "manual"
  },
  {
    "span_id": "8b1a610df798b3c8",
    "trace_id": "6107b4582bc84c8b8948d3702ffe6eaf",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175545.32,
    "timestamp": 1779175545.87,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24308/",
      "url.port": "24308",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24308",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "bda92d04c21937db",
    "trace_id": "6107b4582bc84c8b8948d3702ffe6eaf",
    "parent_span_id": "8208dff738ec7f34",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175545.326,
    "timestamp": 1779175545.859,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":[{\"type\":\"text\",\"text\":\"What color is this image? Reply with just the color name.\"},{\"type\":\"image\",\"source\":{\"type\":\"base64\",\"media_type\":\"image/png\",\"data\":\"[Blob substitute]\"}}]}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_01BDJtmxEdioRGtRg7SYf4qG",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 38,
      "gen_ai.usage.output_tokens": 4,
      "gen_ai.usage.total_tokens": 42,
      "gen_ai.response.text": "Pink"
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/anthropic :: Vision LLM Test (blocking)❗︎ 18228ms
checkChatSpanAttributes
9b838913gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9b838913gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "vision-llm-test",
    "op": "test",
    "parent_span_id": "a19d4fb884c4e9c2",
    "span_id": "a5159e9930b55f39",
    "start_timestamp": 1779175546.669,
    "timestamp": 1779175547.211,
    "trace_id": "dcd995099ced4ea396a20fa56c27b333",
    "origin": "manual"
  },
  {
    "span_id": "a19d4fb884c4e9c2",
    "trace_id": "dcd995099ced4ea396a20fa56c27b333",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175546.666,
    "timestamp": 1779175547.213,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24309/",
      "url.port": "24309",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24309",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "9b8389132114367f",
    "trace_id": "dcd995099ced4ea396a20fa56c27b333",
    "parent_span_id": "a5159e9930b55f39",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175546.67,
    "timestamp": 1779175547.21,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":[{\"type\":\"text\",\"text\":\"What color is this image? Reply with just the color name.\"},{\"type\":\"image\",\"source\":{\"type\":\"base64\",\"media_type\":\"image/png\",\"data\":\"[Blob substitute]\"}}]}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.text": "Pink",
      "gen_ai.response.id": "msg_0136SyJxL57eYMLCvvzieNPm",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 38,
      "gen_ai.usage.output_tokens": 4,
      "gen_ai.usage.total_tokens": 42
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/anthropic :: Long Input LLM Test (streaming)❗︎ 18035ms
checkChatSpanAttributes
83d071a5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
83d071a5gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "long-input-llm-test",
    "op": "test",
    "parent_span_id": "bda81fbec3d80528",
    "span_id": "9ff45d8d67d61b77",
    "start_timestamp": 1779175546.733,
    "timestamp": 1779175547.387,
    "trace_id": "7d6caa149dde4eff935dd3eb55c28eca",
    "origin": "manual"
  },
  {
    "span_id": "bda81fbec3d80528",
    "trace_id": "7d6caa149dde4eff935dd3eb55c28eca",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175546.731,
    "timestamp": 1779175547.389,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24310/",
      "url.port": "24310",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24310",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "83d071a5ca3b4d84",
    "trace_id": "7d6caa149dde4eff935dd3eb55c28eca",
    "parent_span_id": "9ff45d8d67d61b77",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175546.734,
    "timestamp": 1779175547.385,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_01C126xE31SgmCEhJ52NMwpG",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 5426,
      "gen_ai.usage.output_tokens": 16,
      "gen_ai.usage.total_tokens": 5442,
      "gen_ai.response.text": "A test message is repeated many times to create a lengthy input."
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/anthropic :: Long Input LLM Test (blocking)❗︎ 17659ms
checkChatSpanAttributes
8d89b589gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8d89b589gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "long-input-llm-test",
    "op": "test",
    "parent_span_id": "b93dc425bda26f4d",
    "span_id": "b8558bfb38702b51",
    "start_timestamp": 1779175547.268,
    "timestamp": 1779175547.988,
    "trace_id": "d0fc066795ef401fa2d5e349621d2c6e",
    "origin": "manual"
  },
  {
    "span_id": "b93dc425bda26f4d",
    "trace_id": "d0fc066795ef401fa2d5e349621d2c6e",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175547.266,
    "timestamp": 1779175547.99,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24311/",
      "url.port": "24311",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24311",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "8d89b589b15598f5",
    "trace_id": "d0fc066795ef401fa2d5e349621d2c6e",
    "parent_span_id": "b8558bfb38702b51",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175547.269,
    "timestamp": 1779175547.987,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.text": "This is a test message repeated many times to create a lengthy input.",
      "gen_ai.response.id": "msg_013RmZNoQirWn3vUD3qP3tNE",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 5426,
      "gen_ai.usage.output_tokens": 17,
      "gen_ai.usage.total_tokens": 5443
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/anthropic :: Conversation ID LLM Test (streaming)❗︎ 17863ms
checkAISpanCount(4)
checkChatSpanAttributes
9e9fd9begen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9e9fd9begen_ai.output.messagesMissing output messages attribute
8ae067begen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8ae067begen_ai.output.messagesMissing output messages attribute
a3efec12gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a3efec12gen_ai.output.messagesMissing output messages attribute
b8b5288egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b8b5288egen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (6)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "conversation-id-llm-test",
    "op": "test",
    "parent_span_id": "9c05daa9654ba6d2",
    "span_id": "a5c5d0a6c6001809",
    "start_timestamp": 1779175547.919,
    "timestamp": 1779175550.146,
    "trace_id": "a784f39a7cda4ff49f70a0c135e233b3",
    "origin": "manual"
  },
  {
    "span_id": "9c05daa9654ba6d2",
    "trace_id": "a784f39a7cda4ff49f70a0c135e233b3",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175547.917,
    "timestamp": 1779175550.162,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24312/",
      "url.port": "24312",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24312",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "9e9fd9bed420d1a4",
    "trace_id": "a784f39a7cda4ff49f70a0c135e233b3",
    "parent_span_id": "a5c5d0a6c6001809",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175547.919,
    "timestamp": 1779175548.429,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_01AEZeXDVR2A1SUQ5gjrFMWN",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "gen_ai.response.text": "The capital of France is Paris."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8ae067be676aef83",
    "trace_id": "a784f39a7cda4ff49f70a0c135e233b3",
    "parent_span_id": "a5c5d0a6c6001809",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175548.43,
    "timestamp": 1779175549.188,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_01V3p3hzakjouPjNVE4fnMBt",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 35,
      "gen_ai.usage.total_tokens": 58,
      "gen_ai.response.text": "2 + 2 = **4**\n\nThis is one of the most basic addition facts! Is there anything else you'd like help with?"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a3efec1268c96e43",
    "trace_id": "a784f39a7cda4ff49f70a0c135e233b3",
    "parent_span_id": "a5c5d0a6c6001809",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175549.19,
    "timestamp": 1779175549.701,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_01TtY9wEMgoFMEjnTbGx6mJo",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 37,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 47,
      "gen_ai.response.text": "The capital of Germany is Berlin."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b8b5288e43dede67",
    "trace_id": "a784f39a7cda4ff49f70a0c135e233b3",
    "parent_span_id": "a5c5d0a6c6001809",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175549.703,
    "timestamp": 1779175550.145,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_01EitWzVxocDrszEqd9yYHQD",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 49,
      "gen_ai.usage.output_tokens": 14,
      "gen_ai.usage.total_tokens": 63,
      "gen_ai.response.text": "3 + 3 equals 6."
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/anthropic :: Conversation ID LLM Test (blocking)❗︎ 110838ms
checkAISpanCount(4)
checkChatSpanAttributes
af78624cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
af78624cgen_ai.output.messagesMissing output messages attribute
a2f4e7aagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a2f4e7aagen_ai.output.messagesMissing output messages attribute
9565d0a8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9565d0a8gen_ai.output.messagesMissing output messages attribute
a2ec7043gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a2ec7043gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (6)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "conversation-id-llm-test",
    "op": "test",
    "parent_span_id": "a1721781f702503a",
    "span_id": "a84160ba8a9a0751",
    "start_timestamp": 1779175552.929,
    "timestamp": 1779175556.179,
    "trace_id": "c8d24e15980545a29e24239d7855b23e",
    "origin": "manual"
  },
  {
    "span_id": "a1721781f702503a",
    "trace_id": "c8d24e15980545a29e24239d7855b23e",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175552.919,
    "timestamp": 1779175556.191,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24313/",
      "url.port": "24313",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24313",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "af78624ce4bdae1f",
    "trace_id": "c8d24e15980545a29e24239d7855b23e",
    "parent_span_id": "a84160ba8a9a0751",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175552.929,
    "timestamp": 1779175554.002,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.response.id": "msg_015JTxVzLPiVPhPcKKsUzchF",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a2f4e7aa76232ac1",
    "trace_id": "c8d24e15980545a29e24239d7855b23e",
    "parent_span_id": "a84160ba8a9a0751",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175554.022,
    "timestamp": 1779175554.964,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.text": "2 + 2 = **4**\n\nThis is one of the fundamental addition facts in mathematics. When you combine 2 groups of 2 items, you get a total of 4 items.\n\nIs there anything else you'd like help with?",
      "gen_ai.response.id": "msg_01ECVDV9jPQXzX1NsBP1mZ5g",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 60,
      "gen_ai.usage.total_tokens": 83
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9565d0a814968d44",
    "trace_id": "c8d24e15980545a29e24239d7855b23e",
    "parent_span_id": "a84160ba8a9a0751",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175554.964,
    "timestamp": 1779175555.511,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.text": "The capital of Germany is Berlin.",
      "gen_ai.response.id": "msg_016GqqDsaxKQHxYfACtdJ5Tf",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 37,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 47
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a2ec7043704a3697",
    "trace_id": "c8d24e15980545a29e24239d7855b23e",
    "parent_span_id": "a84160ba8a9a0751",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175555.511,
    "timestamp": 1779175556.172,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.text": "3 + 3 equals 6.",
      "gen_ai.response.id": "msg_01TYEWbh3YeBjBK37gaSuCLB",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 49,
      "gen_ai.usage.output_tokens": 14,
      "gen_ai.usage.total_tokens": 63
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/google-genai :: Basic LLM Test (streaming)❗︎ 19672ms
checkAISpanCount(1)
checkChatSpanAttributes
a9f7fd72gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a9f7fd72gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "basic-llm-test",
    "op": "test",
    "parent_span_id": "9d0653c81c6c2e1a",
    "span_id": "9383360833de7d7a",
    "start_timestamp": 1779175554.841,
    "timestamp": 1779175555.372,
    "trace_id": "a30fc416b6d44c969d01d61f49f5d5cc",
    "origin": "manual"
  },
  {
    "data": {
      "sentry.origin": "auto.http.fetch",
      "sentry.op": "http.client",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "type": "fetch",
      "http.method": "POST",
      "http.url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "server.address": "generativelanguage.googleapis.com",
      "http.query": "?alt=sse",
      "http.response.status_code": 200
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "op": "http.client",
    "parent_span_id": "a9f7fd7229429bf0",
    "span_id": "9537532b95a0df2d",
    "start_timestamp": 1779175554.877,
    "status": "ok",
    "timestamp": 1779175555.337,
    "trace_id": "a30fc416b6d44c969d01d61f49f5d5cc",
    "origin": "auto.http.fetch"
  },
  {
    "span_id": "9d0653c81c6c2e1a",
    "trace_id": "a30fc416b6d44c969d01d61f49f5d5cc",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175554.83,
    "timestamp": 1779175555.38,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24314/",
      "url.port": "24314",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24314",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "a9f7fd7229429bf0",
    "trace_id": "a30fc416b6d44c969d01d61f49f5d5cc",
    "parent_span_id": "9383360833de7d7a",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175554.853,
    "timestamp": 1779175555.365,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is the capital of France?\"}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "ghAMatH7O-nN-8YPn87ZuAM",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "The capital of France is **Paris**."
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/google-genai :: Basic LLM Test (blocking)❗︎ 110408ms
checkAISpanCount(1)
checkChatSpanAttributes
945a8a73gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
945a8a73gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "basic-llm-test",
    "op": "test",
    "parent_span_id": "b8789893463b165b",
    "span_id": "8d83adc517a7f05f",
    "start_timestamp": 1779175555.642,
    "timestamp": 1779175556.183,
    "trace_id": "6e27824edb8940f0b2ae6a5437f6c02e",
    "origin": "manual"
  },
  {
    "data": {
      "sentry.origin": "auto.http.fetch",
      "sentry.op": "http.client",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "type": "fetch",
      "http.method": "POST",
      "http.url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "server.address": "generativelanguage.googleapis.com",
      "http.response.status_code": 200
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "op": "http.client",
    "parent_span_id": "945a8a7377ad1d3e",
    "span_id": "83575cd955f027e3",
    "start_timestamp": 1779175555.656,
    "status": "ok",
    "timestamp": 1779175556.137,
    "trace_id": "6e27824edb8940f0b2ae6a5437f6c02e",
    "origin": "auto.http.fetch"
  },
  {
    "span_id": "b8789893463b165b",
    "trace_id": "6e27824edb8940f0b2ae6a5437f6c02e",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175555.636,
    "timestamp": 1779175556.213,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24315/",
      "url.port": "24315",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24315",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "945a8a7377ad1d3e",
    "trace_id": "6e27824edb8940f0b2ae6a5437f6c02e",
    "parent_span_id": "8d83adc517a7f05f",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175555.644,
    "timestamp": 1779175556.162,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is the capital of France?\"}]}]",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "gen_ai.response.text": "The capital of France is **Paris**."
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/google-genai :: Multi-Turn LLM Test (streaming)❗︎ 115453ms
checkAISpanCount(3)
checkChatSpanAttributes
9bd837e8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9bd837e8gen_ai.output.messagesMissing output messages attribute
b4d2464dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b4d2464dgen_ai.output.messagesMissing output messages attribute
927b52f7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
927b52f7gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (8)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "multi-turn-llm-test",
    "op": "test",
    "parent_span_id": "a468e26b4c9c7d4a",
    "span_id": "aa21157996f29679",
    "start_timestamp": 1779175556.951,
    "timestamp": 1779175561.659,
    "trace_id": "d5e8418d61f04f4185a7057dafe007d2",
    "origin": "manual"
  },
  {
    "data": {
      "sentry.origin": "auto.http.fetch",
      "sentry.op": "http.client",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "type": "fetch",
      "http.method": "POST",
      "http.url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "server.address": "generativelanguage.googleapis.com",
      "http.query": "?alt=sse",
      "http.response.status_code": 200
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "op": "http.client",
    "parent_span_id": "9bd837e8ce8da488",
    "span_id": "ad1a2258ac6f31b4",
    "start_timestamp": 1779175556.971,
    "status": "ok",
    "timestamp": 1779175560.361,
    "trace_id": "d5e8418d61f04f4185a7057dafe007d2",
    "origin": "auto.http.fetch"
  },
  {
    "data": {
      "sentry.origin": "auto.http.fetch",
      "sentry.op": "http.client",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "type": "fetch",
      "http.method": "POST",
      "http.url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "server.address": "generativelanguage.googleapis.com",
      "http.query": "?alt=sse",
      "http.response.status_code": 200
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "op": "http.client",
    "parent_span_id": "b4d2464d95f32712",
    "span_id": "bdf285cdf824e7b5",
    "start_timestamp": 1779175560.377,
    "status": "ok",
    "timestamp": 1779175560.931,
    "trace_id": "d5e8418d61f04f4185a7057dafe007d2",
    "origin": "auto.http.fetch"
  },
  {
    "data": {
      "sentry.origin": "auto.http.fetch",
      "sentry.op": "http.client",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "type": "fetch",
      "http.method": "POST",
      "http.url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "server.address": "generativelanguage.googleapis.com",
      "http.query": "?alt=sse",
      "http.response.status_code": 200
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "op": "http.client",
    "parent_span_id": "927b52f7c71e9574",
    "span_id": "be8be15d7743144b",
    "start_timestamp": 1779175561.136,
    "status": "ok",
    "timestamp": 1779175561.614,
    "trace_id": "d5e8418d61f04f4185a7057dafe007d2",
    "origin": "auto.http.fetch"
  },
  {
    "span_id": "a468e26b4c9c7d4a",
    "trace_id": "d5e8418d61f04f4185a7057dafe007d2",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175556.941,
    "timestamp": 1779175561.67,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24316/",
      "url.port": "24316",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24316",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "9bd837e8ce8da488",
    "trace_id": "d5e8418d61f04f4185a7057dafe007d2",
    "parent_span_id": "aa21157996f29679",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175556.96,
    "timestamp": 1779175560.374,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is the capital of France?\"}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "hRAMavT4Bc-NjrEPkLH_mAs",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 7,
      "gen_ai.usage.total_tokens": 22,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "The capital of France is Paris."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b4d2464d95f32712",
    "trace_id": "d5e8418d61f04f4185a7057dafe007d2",
    "parent_span_id": "aa21157996f29679",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175560.376,
    "timestamp": 1779175561.13,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is the population of that city?\"}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "iBAMaoPyHYSD-8YPlPjvuQo",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 32,
      "gen_ai.usage.output_tokens": 48,
      "gen_ai.usage.total_tokens": 80,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "The population of Paris is approximately **2.1 million** people within the city limits.\n\nHowever, if you consider the greater metropolitan area (the Paris urban area), the population is much larger, around **11 million** people."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "927b52f7c71e9574",
    "trace_id": "d5e8418d61f04f4185a7057dafe007d2",
    "parent_span_id": "aa21157996f29679",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175561.132,
    "timestamp": 1779175561.658,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What about the metropolitan area?\"}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "iRAMaq_IDcfO-8YPr7_kuAg",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 57,
      "gen_ai.usage.output_tokens": 21,
      "gen_ai.usage.total_tokens": 78,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "The population of the Paris metropolitan area is much larger, estimated to be around **11 million people**."
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/google-genai :: Multi-Turn LLM Test (blocking)❗︎ 117380ms
checkAISpanCount(3)
checkChatSpanAttributes
985044b9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
985044b9gen_ai.output.messagesMissing output messages attribute
9291327egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9291327egen_ai.output.messagesMissing output messages attribute
b2dc364dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b2dc364dgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (8)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "multi-turn-llm-test",
    "op": "test",
    "parent_span_id": "bdbc42b1c0a8610f",
    "span_id": "80e69f51e8dbf8f8",
    "start_timestamp": 1779175557.48,
    "timestamp": 1779175563.651,
    "trace_id": "422165544b734cbcbb928c2690a5e1e6",
    "origin": "manual"
  },
  {
    "data": {
      "sentry.origin": "auto.http.fetch",
      "sentry.op": "http.client",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "type": "fetch",
      "http.method": "POST",
      "http.url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "server.address": "generativelanguage.googleapis.com",
      "http.response.status_code": 200
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "op": "http.client",
    "parent_span_id": "985044b9e78e7434",
    "span_id": "97a063381f8054df",
    "start_timestamp": 1779175557.495,
    "status": "ok",
    "timestamp": 1779175560.438,
    "trace_id": "422165544b734cbcbb928c2690a5e1e6",
    "origin": "auto.http.fetch"
  },
  {
    "data": {
      "sentry.origin": "auto.http.fetch",
      "sentry.op": "http.client",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "type": "fetch",
      "http.method": "POST",
      "http.url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "server.address": "generativelanguage.googleapis.com",
      "http.response.status_code": 200
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "op": "http.client",
    "parent_span_id": "9291327e63f68025",
    "span_id": "919fc2b1a7d3eac1",
    "start_timestamp": 1779175560.451,
    "status": "ok",
    "timestamp": 1779175561.163,
    "trace_id": "422165544b734cbcbb928c2690a5e1e6",
    "origin": "auto.http.fetch"
  },
  {
    "data": {
      "sentry.origin": "auto.http.fetch",
      "sentry.op": "http.client",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "type": "fetch",
      "http.method": "POST",
      "http.url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "server.address": "generativelanguage.googleapis.com",
      "http.response.status_code": 200
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "op": "http.client",
    "parent_span_id": "b2dc364d3720b5d3",
    "span_id": "b58d3a45d509599f",
    "start_timestamp": 1779175561.169,
    "status": "ok",
    "timestamp": 1779175563.648,
    "trace_id": "422165544b734cbcbb928c2690a5e1e6",
    "origin": "auto.http.fetch"
  },
  {
    "span_id": "bdbc42b1c0a8610f",
    "trace_id": "422165544b734cbcbb928c2690a5e1e6",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175557.467,
    "timestamp": 1779175563.663,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24317/",
      "url.port": "24317",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24317",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "985044b9e78e7434",
    "trace_id": "422165544b734cbcbb928c2690a5e1e6",
    "parent_span_id": "80e69f51e8dbf8f8",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175557.481,
    "timestamp": 1779175560.445,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is the capital of France?\"}]}]",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "gen_ai.response.text": "The capital of France is **Paris**."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9291327e63f68025",
    "trace_id": "422165544b734cbcbb928c2690a5e1e6",
    "parent_span_id": "80e69f51e8dbf8f8",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175560.45,
    "timestamp": 1779175561.164,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is the population of that city?\"}]}]",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 32,
      "gen_ai.usage.output_tokens": 48,
      "gen_ai.usage.total_tokens": 80,
      "gen_ai.response.text": "The population of Paris is approximately **2.1 million people** within the administrative city limits.\n\nHowever, if you consider the larger metropolitan area (which includes the suburbs), the population is much higher, around **11 million people**."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b2dc364d3720b5d3",
    "trace_id": "422165544b734cbcbb928c2690a5e1e6",
    "parent_span_id": "80e69f51e8dbf8f8",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175561.166,
    "timestamp": 1779175563.651,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What about the metropolitan area?\"}]}]",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 57,
      "gen_ai.usage.output_tokens": 21,
      "gen_ai.usage.total_tokens": 78,
      "gen_ai.response.text": "The population of the Paris metropolitan area is much larger, estimated to be around **13 million people**."
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/google-genai :: Vision LLM Test (streaming)❗︎ 111316ms
checkChatSpanAttributes
9a544be9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9a544be9gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "vision-llm-test",
    "op": "test",
    "parent_span_id": "a79afb70d15eed73",
    "span_id": "8eada97aa3612dba",
    "start_timestamp": 1779175557.723,
    "timestamp": 1779175558.32,
    "trace_id": "126ccbfb50394abe8b175c7cb377ef9c",
    "origin": "manual"
  },
  {
    "data": {
      "sentry.origin": "auto.http.fetch",
      "sentry.op": "http.client",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "type": "fetch",
      "http.method": "POST",
      "http.url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "server.address": "generativelanguage.googleapis.com",
      "http.query": "?alt=sse",
      "http.response.status_code": 200
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "op": "http.client",
    "parent_span_id": "9a544be9d4bf13a9",
    "span_id": "8f2f3e04aa25eaca",
    "start_timestamp": 1779175557.734,
    "status": "ok",
    "timestamp": 1779175558.304,
    "trace_id": "126ccbfb50394abe8b175c7cb377ef9c",
    "origin": "auto.http.fetch"
  },
  {
    "span_id": "a79afb70d15eed73",
    "trace_id": "126ccbfb50394abe8b175c7cb377ef9c",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175557.721,
    "timestamp": 1779175558.321,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24320/",
      "url.port": "24320",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24320",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "9a544be9d4bf13a9",
    "trace_id": "126ccbfb50394abe8b175c7cb377ef9c",
    "parent_span_id": "8eada97aa3612dba",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175557.724,
    "timestamp": 1779175558.315,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What color is this image? Reply with just the color name.\"},{\"inlineData\":{\"mimeType\":\"image/png\",\"data\":\"[Blob substitute]\"}}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "hRAMatmFM_WvjrEP4cCQqQc",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 286,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 287,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "Coral"
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/google-genai :: Vision LLM Test (blocking)❗︎ 112575ms
checkChatSpanAttributes
9364a742gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9364a742gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "vision-llm-test",
    "op": "test",
    "parent_span_id": "afd1e0ca0c81c21b",
    "span_id": "a4b7abb695e72ee8",
    "start_timestamp": 1779175558.705,
    "timestamp": 1779175559.793,
    "trace_id": "4d6921c7a6a3424492d352ff81b18776",
    "origin": "manual"
  },
  {
    "data": {
      "sentry.origin": "auto.http.fetch",
      "sentry.op": "http.client",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "type": "fetch",
      "http.method": "POST",
      "http.url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "server.address": "generativelanguage.googleapis.com",
      "http.response.status_code": 200
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "op": "http.client",
    "parent_span_id": "9364a742fefaa646",
    "span_id": "b989572a96be1fd3",
    "start_timestamp": 1779175558.713,
    "status": "ok",
    "timestamp": 1779175559.79,
    "trace_id": "4d6921c7a6a3424492d352ff81b18776",
    "origin": "auto.http.fetch"
  },
  {
    "span_id": "afd1e0ca0c81c21b",
    "trace_id": "4d6921c7a6a3424492d352ff81b18776",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175558.701,
    "timestamp": 1779175559.795,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24321/",
      "url.port": "24321",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24321",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "9364a742fefaa646",
    "trace_id": "4d6921c7a6a3424492d352ff81b18776",
    "parent_span_id": "a4b7abb695e72ee8",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175558.705,
    "timestamp": 1779175559.792,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What color is this image? Reply with just the color name.\"},{\"inlineData\":{\"mimeType\":\"image/png\",\"data\":\"[Blob substitute]\"}}]}]",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 286,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 287,
      "gen_ai.response.text": "Coral"
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/google-genai :: Long Input LLM Test (streaming)❗︎ 111175ms
checkChatSpanAttributes
8894746bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8894746bgen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "long-input-llm-test",
    "op": "test",
    "parent_span_id": "8081f753f8eb28f2",
    "span_id": "ab092c5cdaf12242",
    "start_timestamp": 1779175557.937,
    "timestamp": 1779175558.553,
    "trace_id": "05f1a65c0af7426da453beaf57c4ce9f",
    "origin": "manual"
  },
  {
    "data": {
      "sentry.origin": "auto.http.fetch",
      "sentry.op": "http.client",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "type": "fetch",
      "http.method": "POST",
      "http.url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "server.address": "generativelanguage.googleapis.com",
      "http.query": "?alt=sse",
      "http.response.status_code": 200
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "op": "http.client",
    "parent_span_id": "8894746b1ba1df08",
    "span_id": "8508c7ff6c87c230",
    "start_timestamp": 1779175557.943,
    "status": "ok",
    "timestamp": 1779175558.474,
    "trace_id": "05f1a65c0af7426da453beaf57c4ce9f",
    "origin": "auto.http.fetch"
  },
  {
    "span_id": "8081f753f8eb28f2",
    "trace_id": "05f1a65c0af7426da453beaf57c4ce9f",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175557.933,
    "timestamp": 1779175558.556,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24322/",
      "url.port": "24322",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24322",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "8894746b1ba1df08",
    "trace_id": "05f1a65c0af7426da453beaf57c4ce9f",
    "parent_span_id": "ab092c5cdaf12242",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175557.938,
    "timestamp": 1779175558.551,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be rep\"}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "hhAMasz1Ataf-8YPw_62-A0",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 5419,
      "gen_ai.usage.output_tokens": 13,
      "gen_ai.usage.total_tokens": 5432,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "This is a repetitive test message designed to create a long input."
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/google-genai :: Long Input LLM Test (blocking)❗︎ 111390ms
checkChatSpanAttributes
9a705318gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9a705318gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "long-input-llm-test",
    "op": "test",
    "parent_span_id": "994882be5367668d",
    "span_id": "afae26ad3a83b215",
    "start_timestamp": 1779175558.77,
    "timestamp": 1779175559.38,
    "trace_id": "084135b040cb4da987b42aba851da807",
    "origin": "manual"
  },
  {
    "data": {
      "sentry.origin": "auto.http.fetch",
      "sentry.op": "http.client",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "type": "fetch",
      "http.method": "POST",
      "http.url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "server.address": "generativelanguage.googleapis.com",
      "http.response.status_code": 200
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "op": "http.client",
    "parent_span_id": "9a7053189d76eb55",
    "span_id": "b869c83f6cab5288",
    "start_timestamp": 1779175558.775,
    "status": "ok",
    "timestamp": 1779175559.376,
    "trace_id": "084135b040cb4da987b42aba851da807",
    "origin": "auto.http.fetch"
  },
  {
    "span_id": "994882be5367668d",
    "trace_id": "084135b040cb4da987b42aba851da807",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175558.767,
    "timestamp": 1779175559.382,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24323/",
      "url.port": "24323",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24323",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "9a7053189d76eb55",
    "trace_id": "084135b040cb4da987b42aba851da807",
    "parent_span_id": "afae26ad3a83b215",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175558.77,
    "timestamp": 1779175559.378,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be rep\"}]}]",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 5419,
      "gen_ai.usage.output_tokens": 17,
      "gen_ai.usage.total_tokens": 5436,
      "gen_ai.response.text": "This is a test message that is repeated many times to create a very long input."
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/google-genai :: Conversation ID LLM Test (streaming)❗︎ 112348ms
checkAISpanCount(4)
checkChatSpanAttributes
a02a81bagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a02a81bagen_ai.output.messagesMissing output messages attribute
92a0ca7cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
92a0ca7cgen_ai.output.messagesMissing output messages attribute
aec1fb03gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
aec1fb03gen_ai.output.messagesMissing output messages attribute
b873be7egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b873be7egen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (10)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "conversation-id-llm-test",
    "op": "test",
    "parent_span_id": "9be1df5232de2d58",
    "span_id": "81cd1e27e4fba972",
    "start_timestamp": 1779175559.057,
    "timestamp": 1779175562.486,
    "trace_id": "b35ba62002444d1cb93e514b4517c442",
    "origin": "manual"
  },
  {
    "data": {
      "sentry.origin": "auto.http.fetch",
      "sentry.op": "http.client",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "type": "fetch",
      "http.method": "POST",
      "http.url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "server.address": "generativelanguage.googleapis.com",
      "http.query": "?alt=sse",
      "http.response.status_code": 200
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "op": "http.client",
    "parent_span_id": "a02a81ba46e1d555",
    "span_id": "8ecbe6576077d09c",
    "start_timestamp": 1779175559.061,
    "status": "ok",
    "timestamp": 1779175560.38,
    "trace_id": "b35ba62002444d1cb93e514b4517c442",
    "origin": "auto.http.fetch"
  },
  {
    "data": {
      "sentry.origin": "auto.http.fetch",
      "sentry.op": "http.client",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "type": "fetch",
      "http.method": "POST",
      "http.url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "server.address": "generativelanguage.googleapis.com",
      "http.query": "?alt=sse",
      "http.response.status_code": 200
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "op": "http.client",
    "parent_span_id": "92a0ca7ca69b53ce",
    "span_id": "b97e0fb02ea6a0c6",
    "start_timestamp": 1779175560.396,
    "status": "ok",
    "timestamp": 1779175561.409,
    "trace_id": "b35ba62002444d1cb93e514b4517c442",
    "origin": "auto.http.fetch"
  },
  {
    "data": {
      "sentry.origin": "auto.http.fetch",
      "sentry.op": "http.client",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "type": "fetch",
      "http.method": "POST",
      "http.url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "server.address": "generativelanguage.googleapis.com",
      "http.query": "?alt=sse",
      "http.response.status_code": 200
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "op": "http.client",
    "parent_span_id": "aec1fb036f189ac6",
    "span_id": "82ee2c59327b4680",
    "start_timestamp": 1779175561.439,
    "status": "ok",
    "timestamp": 1779175561.892,
    "trace_id": "b35ba62002444d1cb93e514b4517c442",
    "origin": "auto.http.fetch"
  },
  {
    "data": {
      "sentry.origin": "auto.http.fetch",
      "sentry.op": "http.client",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "type": "fetch",
      "http.method": "POST",
      "http.url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "server.address": "generativelanguage.googleapis.com",
      "http.query": "?alt=sse",
      "http.response.status_code": 200
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "op": "http.client",
    "parent_span_id": "b873be7e9e757ca5",
    "span_id": "8f645a98397670c3",
    "start_timestamp": 1779175561.906,
    "status": "ok",
    "timestamp": 1779175562.344,
    "trace_id": "b35ba62002444d1cb93e514b4517c442",
    "origin": "auto.http.fetch"
  },
  {
    "span_id": "9be1df5232de2d58",
    "trace_id": "b35ba62002444d1cb93e514b4517c442",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175559.055,
    "timestamp": 1779175562.5,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24324/",
      "url.port": "24324",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24324",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "a02a81ba46e1d555",
    "trace_id": "b35ba62002444d1cb93e514b4517c442",
    "parent_span_id": "81cd1e27e4fba972",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175559.058,
    "timestamp": 1779175560.389,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is the capital of France?\"}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "hxAMaoLOCc3zjrEPvuSi0Qw",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "The capital of France is **Paris**."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "92a0ca7ca69b53ce",
    "trace_id": "b35ba62002444d1cb93e514b4517c442",
    "parent_span_id": "81cd1e27e4fba972",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175560.396,
    "timestamp": 1779175561.432,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is 2 + 2?\"}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "iBAMapyxHuasjrEP3OehiAc",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 16,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 26,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "2 + 2 is equal to **4**."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "aec1fb036f189ac6",
    "trace_id": "b35ba62002444d1cb93e514b4517c442",
    "parent_span_id": "81cd1e27e4fba972",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175561.433,
    "timestamp": 1779175561.901,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What about Germany?\"}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "iRAMapenIPDtjrEPs--kgQc",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 28,
      "gen_ai.usage.output_tokens": 7,
      "gen_ai.usage.total_tokens": 35,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "The capital of Germany is Berlin."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b873be7e9e757ca5",
    "trace_id": "b35ba62002444d1cb93e514b4517c442",
    "parent_span_id": "81cd1e27e4fba972",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175561.905,
    "timestamp": 1779175562.486,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What about 3 + 3?\"}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "iRAMasyWPMuW-8YPxdGD6Qs",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 34,
      "gen_ai.usage.output_tokens": 7,
      "gen_ai.usage.total_tokens": 41,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "3 + 3 equals 6."
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/google-genai :: Conversation ID LLM Test (blocking)❗︎ 110590ms
checkAISpanCount(4)
checkChatSpanAttributes
abda1b58gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
abda1b58gen_ai.output.messagesMissing output messages attribute
afc7ffcbgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
afc7ffcbgen_ai.output.messagesMissing output messages attribute
82c8940cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
82c8940cgen_ai.output.messagesMissing output messages attribute
a6c52e24gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a6c52e24gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (10)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "conversation-id-llm-test",
    "op": "test",
    "parent_span_id": "b9c2e408367b4c6b",
    "span_id": "97155a44d5df70e5",
    "start_timestamp": 1779175561.021,
    "timestamp": 1779175565.953,
    "trace_id": "f2cfe8cbee0e48e990ebd13fb03c0a8e",
    "origin": "manual"
  },
  {
    "data": {
      "sentry.origin": "auto.http.fetch",
      "sentry.op": "http.client",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "type": "fetch",
      "http.method": "POST",
      "http.url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "server.address": "generativelanguage.googleapis.com",
      "http.response.status_code": 200
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "op": "http.client",
    "parent_span_id": "abda1b58acfba981",
    "span_id": "8938120175584c7f",
    "start_timestamp": 1779175561.026,
    "status": "ok",
    "timestamp": 1779175561.96,
    "trace_id": "f2cfe8cbee0e48e990ebd13fb03c0a8e",
    "origin": "auto.http.fetch"
  },
  {
    "data": {
      "sentry.origin": "auto.http.fetch",
      "sentry.op": "http.client",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "type": "fetch",
      "http.method": "POST",
      "http.url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "server.address": "generativelanguage.googleapis.com",
      "http.response.status_code": 200
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "op": "http.client",
    "parent_span_id": "afc7ffcb8c3f9dbd",
    "span_id": "b185411d870f5af3",
    "start_timestamp": 1779175561.984,
    "status": "ok",
    "timestamp": 1779175563.059,
    "trace_id": "f2cfe8cbee0e48e990ebd13fb03c0a8e",
    "origin": "auto.http.fetch"
  },
  {
    "data": {
      "sentry.origin": "auto.http.fetch",
      "sentry.op": "http.client",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "type": "fetch",
      "http.method": "POST",
      "http.url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "server.address": "generativelanguage.googleapis.com",
      "http.response.status_code": 200
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "op": "http.client",
    "parent_span_id": "82c8940ce13eba80",
    "span_id": "96be7b915a6e1b81",
    "start_timestamp": 1779175563.064,
    "status": "ok",
    "timestamp": 1779175565.556,
    "trace_id": "f2cfe8cbee0e48e990ebd13fb03c0a8e",
    "origin": "auto.http.fetch"
  },
  {
    "data": {
      "sentry.origin": "auto.http.fetch",
      "sentry.op": "http.client",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "type": "fetch",
      "http.method": "POST",
      "http.url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "server.address": "generativelanguage.googleapis.com",
      "http.response.status_code": 200
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "op": "http.client",
    "parent_span_id": "a6c52e2416a41076",
    "span_id": "bdc8b1ca0d4f2eb4",
    "start_timestamp": 1779175565.581,
    "status": "ok",
    "timestamp": 1779175565.951,
    "trace_id": "f2cfe8cbee0e48e990ebd13fb03c0a8e",
    "origin": "auto.http.fetch"
  },
  {
    "span_id": "b9c2e408367b4c6b",
    "trace_id": "f2cfe8cbee0e48e990ebd13fb03c0a8e",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175561.016,
    "timestamp": 1779175565.967,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24325/",
      "url.port": "24325",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24325",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "abda1b58acfba981",
    "trace_id": "f2cfe8cbee0e48e990ebd13fb03c0a8e",
    "parent_span_id": "97155a44d5df70e5",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175561.022,
    "timestamp": 1779175561.962,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is the capital of France?\"}]}]",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 7,
      "gen_ai.usage.total_tokens": 22,
      "gen_ai.response.text": "The capital of France is Paris."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "afc7ffcb8c3f9dbd",
    "trace_id": "f2cfe8cbee0e48e990ebd13fb03c0a8e",
    "parent_span_id": "97155a44d5df70e5",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175561.984,
    "timestamp": 1779175563.061,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is 2 + 2?\"}]}]",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 16,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 24,
      "gen_ai.response.text": "2 + 2 equals 4."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "82c8940ce13eba80",
    "trace_id": "f2cfe8cbee0e48e990ebd13fb03c0a8e",
    "parent_span_id": "97155a44d5df70e5",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175563.064,
    "timestamp": 1779175565.556,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What about Germany?\"}]}]",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 28,
      "gen_ai.usage.output_tokens": 7,
      "gen_ai.usage.total_tokens": 35,
      "gen_ai.response.text": "The capital of Germany is Berlin."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a6c52e2416a41076",
    "trace_id": "f2cfe8cbee0e48e990ebd13fb03c0a8e",
    "parent_span_id": "97155a44d5df70e5",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175565.561,
    "timestamp": 1779175565.952,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What about 3 + 3?\"}]}]",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 34,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 42,
      "gen_ai.response.text": "3 + 3 equals 6."
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/langchain :: Basic LLM Test (streaming, openai)❗︎ 1⚠︎ 18896ms
checkAISpanCount(1)
checkChatSpanAttributes
ba80884agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ba80884agen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
ba80884agen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(1 span)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (3)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "basic-llm-test",
    "op": "test",
    "parent_span_id": "9fa40088984b2d36",
    "span_id": "aac29ad647e9e051",
    "start_timestamp": 1779175563.557,
    "timestamp": 1779175565.12,
    "trace_id": "ea598fe8c6414f39bc0484ccb9fe893f",
    "origin": "manual"
  },
  {
    "span_id": "9fa40088984b2d36",
    "trace_id": "ea598fe8c6414f39bc0484ccb9fe893f",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175563.553,
    "timestamp": 1779175565.132,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24326/",
      "url.port": "24326",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24326",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "ba80884a23da5dab",
    "trace_id": "ea598fe8c6414f39bc0484ccb9fe893f",
    "parent_span_id": "aac29ad647e9e051",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175563.576,
    "timestamp": 1779175565.111,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris.\"]",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 203,
      "gen_ai.usage.total_tokens": 226,
      "gen_ai.response.id": "chatcmpl-Dh97zkJOYfwJWLSQaXl25uzAmlF2M",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/langchain :: Basic LLM Test (streaming, anthropic)❗︎ 1 1⚠︎ 17538ms
checkAISpanCount(1)
checkChatSpanAttributes
ac7cbb7egen_ai.usage.input_tokensSpan ac7cbb7e: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
ac7cbb7egen_ai.usage.output_tokensSpan ac7cbb7e: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkValidTokenUsage
ac7cbb7egen_ai.usage.input_tokensinput_tokens must exist
ac7cbb7egen_ai.usage.output_tokensoutput_tokens must exist
ac7cbb7egen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
ac7cbb7egen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "basic-llm-test",
    "op": "test",
    "parent_span_id": "ae1c2f8f759eef20",
    "span_id": "8ab2480a005dfb09",
    "start_timestamp": 1779175563.619,
    "timestamp": 1779175563.82,
    "trace_id": "6218b6d978c546deaa65c41c9fb7df8c",
    "origin": "manual"
  },
  {
    "span_id": "ae1c2f8f759eef20",
    "trace_id": "6218b6d978c546deaa65c41c9fb7df8c",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175563.613,
    "timestamp": 1779175563.827,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24327/",
      "url.port": "24327",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24327",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "ac7cbb7ec5913668",
    "trace_id": "6218b6d978c546deaa65c41c9fb7df8c",
    "parent_span_id": "8ab2480a005dfb09",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175563.631,
    "timestamp": 1779175563.767,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]"
    },
    "status": "error",
    "is_segment": false
  }
]
cloudflare/langchain :: Basic LLM Test (blocking, openai)❗︎ 1⚠︎ 19480ms
checkAISpanCount(1)
checkChatSpanAttributes
985a3c9egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
985a3c9egen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
985a3c9egen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(1 span)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (3)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "basic-llm-test",
    "op": "test",
    "parent_span_id": "a07ea893fcb38bcb",
    "span_id": "827983ee9de41d91",
    "start_timestamp": 1779175564.948,
    "timestamp": 1779175566.4,
    "trace_id": "b612e0981368408583ba3ea74f01bc68",
    "origin": "manual"
  },
  {
    "span_id": "a07ea893fcb38bcb",
    "trace_id": "b612e0981368408583ba3ea74f01bc68",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175564.946,
    "timestamp": 1779175566.409,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24328/",
      "url.port": "24328",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24328",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "985a3c9e854979f0",
    "trace_id": "b612e0981368408583ba3ea74f01bc68",
    "parent_span_id": "827983ee9de41d91",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175564.965,
    "timestamp": 1779175566.39,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris.\"]",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 139,
      "gen_ai.usage.total_tokens": 162,
      "gen_ai.response.id": "chatcmpl-Dh981OVx4h5XOblxXcVd7AkC9DFk0",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/langchain :: Basic LLM Test (blocking, anthropic)❗︎ 1 1⚠︎ 19189ms
checkAISpanCount(1)
checkChatSpanAttributes
bc658b08gen_ai.usage.input_tokensSpan bc658b08: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
bc658b08gen_ai.usage.output_tokensSpan bc658b08: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkValidTokenUsage
bc658b08gen_ai.usage.input_tokensinput_tokens must exist
bc658b08gen_ai.usage.output_tokensoutput_tokens must exist
bc658b08gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
bc658b08gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "basic-llm-test",
    "op": "test",
    "parent_span_id": "b7b7b6e8eccc5450",
    "span_id": "931babd9edd5c507",
    "start_timestamp": 1779175566.73,
    "timestamp": 1779175566.899,
    "trace_id": "608705a28f654161871bd780e9600460",
    "origin": "manual"
  },
  {
    "span_id": "b7b7b6e8eccc5450",
    "trace_id": "608705a28f654161871bd780e9600460",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175566.723,
    "timestamp": 1779175566.901,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24329/",
      "url.port": "24329",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24329",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "bc658b08f968e9e2",
    "trace_id": "608705a28f654161871bd780e9600460",
    "parent_span_id": "931babd9edd5c507",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175566.742,
    "timestamp": 1779175566.858,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]"
    },
    "status": "error",
    "is_segment": false
  }
]
cloudflare/langchain :: Multi-Turn LLM Test (streaming, openai)❗︎ 1⚠︎ 126754ms
checkAISpanCount(3)
checkChatSpanAttributes
81307dd7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
81307dd7gen_ai.output.messagesMissing output messages attribute
826c5e4fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
826c5e4fgen_ai.output.messagesMissing output messages attribute
af0d81a1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
af0d81a1gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
81307dd7gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
826c5e4fgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
af0d81a1gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(3 spans)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (5)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "multi-turn-llm-test",
    "op": "test",
    "parent_span_id": "b7f9f9fe41bc9f4b",
    "span_id": "b3854be3897eff05",
    "start_timestamp": 1779175567.579,
    "timestamp": 1779175585.067,
    "trace_id": "b853c69be6f9476789d88d3576aab9b7",
    "origin": "manual"
  },
  {
    "span_id": "b7f9f9fe41bc9f4b",
    "trace_id": "b853c69be6f9476789d88d3576aab9b7",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175567.563,
    "timestamp": 1779175585.075,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24330/",
      "url.port": "24330",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24330",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "81307dd7483384eb",
    "trace_id": "b853c69be6f9476789d88d3576aab9b7",
    "parent_span_id": "b3854be3897eff05",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175567.607,
    "timestamp": 1779175568.555,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris.\"]",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 75,
      "gen_ai.usage.total_tokens": 98,
      "gen_ai.response.id": "chatcmpl-Dh983Om0vkbNORzuSKlGkgOfTi46I",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "826c5e4f5bd9b655",
    "trace_id": "b853c69be6f9476789d88d3576aab9b7",
    "parent_span_id": "b3854be3897eff05",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175568.571,
    "timestamp": 1779175576.126,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Do you mean:\\n\\n- Paris city proper (the commune of Paris): about 2.1 million people\\n- Paris urban area (continuous built‑up area around Paris): roughly 11–12 million\\n- Île-de-France metropolitan area (greater Paris region): about 12–13 million\\n\\nDifferent sources use different definitions, so tell me which one you want and I can give the latest precise figure.\"]",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 1308,
      "gen_ai.usage.total_tokens": 1356,
      "gen_ai.response.id": "chatcmpl-Dh984uEn7PBev8EhVGL47POifEH8r",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "af0d81a1635470de",
    "trace_id": "b853c69be6f9476789d88d3576aab9b7",
    "parent_span_id": "b3854be3897eff05",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175576.127,
    "timestamp": 1779175585.067,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Two common definitions:\\n\\n- Paris urban area (aire urbaine): about 12 million people (roughly 12.0–12.5 million, depending on the year and exact definition).\\n\\n- Île-de-France region (the wider administrative “metropolitan” area around Paris): about 12–13 million people (roughly around 12.3 million in recent years).\\n\\nIf you have a specific year or definition in mind (e.g., INSEE figures for a particular year), I can give a precise number.\"]",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 1460,
      "gen_ai.usage.total_tokens": 1541,
      "gen_ai.response.id": "chatcmpl-Dh98CQghV2E0t6kYuY7WAPJVKDR1E",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/langchain :: Multi-Turn LLM Test (streaming, anthropic)❗︎ 1 1⚠︎ 19204ms
checkAISpanCount(3)
checkChatSpanAttributes
81e19fc8gen_ai.usage.input_tokensSpan 81e19fc8: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
81e19fc8gen_ai.usage.output_tokensSpan 81e19fc8: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
91a94818gen_ai.usage.input_tokensSpan 91a94818: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
91a94818gen_ai.usage.output_tokensSpan 91a94818: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
916044f3gen_ai.usage.input_tokensSpan 916044f3: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
916044f3gen_ai.usage.output_tokensSpan 916044f3: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkValidTokenUsage
81e19fc8gen_ai.usage.input_tokensinput_tokens must exist
81e19fc8gen_ai.usage.output_tokensoutput_tokens must exist
81e19fc8gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
81e19fc8gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
91a94818gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
916044f3gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (5)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "multi-turn-llm-test",
    "op": "test",
    "parent_span_id": "8525f314447fe40c",
    "span_id": "90d17290d0441ff8",
    "start_timestamp": 1779175567.117,
    "timestamp": 1779175567.77,
    "trace_id": "0de75938e4f9446fb0861b864e99596b",
    "origin": "manual"
  },
  {
    "span_id": "8525f314447fe40c",
    "trace_id": "0de75938e4f9446fb0861b864e99596b",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175567.106,
    "timestamp": 1779175567.772,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24331/",
      "url.port": "24331",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24331",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "81e19fc8b1163ba4",
    "trace_id": "0de75938e4f9446fb0861b864e99596b",
    "parent_span_id": "90d17290d0441ff8",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175567.146,
    "timestamp": 1779175567.27,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "91a94818428575f0",
    "trace_id": "0de75938e4f9446fb0861b864e99596b",
    "parent_span_id": "90d17290d0441ff8",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175567.325,
    "timestamp": 1779175567.641,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "916044f33537c215",
    "trace_id": "0de75938e4f9446fb0861b864e99596b",
    "parent_span_id": "90d17290d0441ff8",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175567.656,
    "timestamp": 1779175567.763,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]"
    },
    "status": "error",
    "is_segment": false
  }
]
cloudflare/langchain :: Multi-Turn LLM Test (blocking, openai)❗︎ 1⚠︎ 129720ms
checkAISpanCount(3)
checkChatSpanAttributes
b0d88c3egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b0d88c3egen_ai.output.messagesMissing output messages attribute
877d7dc5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
877d7dc5gen_ai.output.messagesMissing output messages attribute
89ed62b3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
89ed62b3gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
b0d88c3egen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
877d7dc5gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
89ed62b3gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(3 spans)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (5)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "multi-turn-llm-test",
    "op": "test",
    "parent_span_id": "a0eb56496236dc34",
    "span_id": "ba1a30f82d34b9c1",
    "start_timestamp": 1779175569.424,
    "timestamp": 1779175589.088,
    "trace_id": "b030c372b1b84b208b2384c06de8a6fc",
    "origin": "manual"
  },
  {
    "span_id": "a0eb56496236dc34",
    "trace_id": "b030c372b1b84b208b2384c06de8a6fc",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175569.411,
    "timestamp": 1779175589.09,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24332/",
      "url.port": "24332",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24332",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "b0d88c3eacbb0cfe",
    "trace_id": "b030c372b1b84b208b2384c06de8a6fc",
    "parent_span_id": "ba1a30f82d34b9c1",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175569.452,
    "timestamp": 1779175570.563,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris.\"]",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 75,
      "gen_ai.usage.total_tokens": 98,
      "gen_ai.response.id": "chatcmpl-Dh98564iiBkTk1xScvx9TDsfPu7lk",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "877d7dc558ab868d",
    "trace_id": "b030c372b1b84b208b2384c06de8a6fc",
    "parent_span_id": "ba1a30f82d34b9c1",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175570.599,
    "timestamp": 1779175576.022,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris, the capital of France:\\n\\n- City proper: about 2.1 million people.\\n- Wider metropolitan area (Île-de-France): about 12 million people.\\n\\nIf you need a specific year or a different definition (e.g., urban area vs. metro area), I can give a precise figure. Which one would you like?\"]",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 782,
      "gen_ai.usage.total_tokens": 830,
      "gen_ai.response.id": "chatcmpl-Dh986FvLnvfGuz9b4Jy6KyUbD0xe0",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "89ed62b36ba5d77d",
    "trace_id": "b030c372b1b84b208b2384c06de8a6fc",
    "parent_span_id": "ba1a30f82d34b9c1",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175576.032,
    "timestamp": 1779175589.088,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"In France, \\\"metropolitan area\\\" can mean a few different things. Here are the common definitions and approximate populations:\\n\\n- Paris urban area (aire urbaine de Paris): about 12–13 million people.\\n- Île-de-France region (the wider administrative region around Paris): about 12–13 million people.\\n- Métropole du Grand Paris (Paris plus surrounding communes in the inner ring): about 7 million people.\\n\\nIf you specify which definition and year you want, I can give a more precise figure.\"]",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 1972,
      "gen_ai.usage.total_tokens": 2053,
      "gen_ai.response.id": "chatcmpl-Dh98Cs1fyUNQZlL9hxIOij6LYm12W",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/langchain :: Multi-Turn LLM Test (blocking, anthropic)❗︎ 1 1⚠︎ 19609ms
checkAISpanCount(3)
checkChatSpanAttributes
87261b95gen_ai.usage.input_tokensSpan 87261b95: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
87261b95gen_ai.usage.output_tokensSpan 87261b95: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
9de0db26gen_ai.usage.input_tokensSpan 9de0db26: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
9de0db26gen_ai.usage.output_tokensSpan 9de0db26: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
a1f118dbgen_ai.usage.input_tokensSpan a1f118db: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
a1f118dbgen_ai.usage.output_tokensSpan a1f118db: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkValidTokenUsage
87261b95gen_ai.usage.input_tokensinput_tokens must exist
87261b95gen_ai.usage.output_tokensoutput_tokens must exist
87261b95gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
87261b95gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
9de0db26gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
a1f118dbgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (5)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "multi-turn-llm-test",
    "op": "test",
    "parent_span_id": "aba22b9533789f58",
    "span_id": "9ddb86d1cdc97e24",
    "start_timestamp": 1779175568.819,
    "timestamp": 1779175569.405,
    "trace_id": "3d398a66cdf541e695b0636501d2850d",
    "origin": "manual"
  },
  {
    "span_id": "aba22b9533789f58",
    "trace_id": "3d398a66cdf541e695b0636501d2850d",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175568.814,
    "timestamp": 1779175569.406,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24333/",
      "url.port": "24333",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24333",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "87261b95ce5532c0",
    "trace_id": "3d398a66cdf541e695b0636501d2850d",
    "parent_span_id": "9ddb86d1cdc97e24",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175568.825,
    "timestamp": 1779175569.097,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "9de0db26718d86cd",
    "trace_id": "3d398a66cdf541e695b0636501d2850d",
    "parent_span_id": "9ddb86d1cdc97e24",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175569.136,
    "timestamp": 1779175569.25,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "a1f118dbc0ebc16e",
    "trace_id": "3d398a66cdf541e695b0636501d2850d",
    "parent_span_id": "9ddb86d1cdc97e24",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175569.257,
    "timestamp": 1779175569.394,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]"
    },
    "status": "error",
    "is_segment": false
  }
]
cloudflare/langchain :: Vision LLM Test (streaming, openai)❗︎ 1⚠︎ 111811ms
checkChatSpanAttributes
8fceabf0gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8fceabf0gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
8fceabf0gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(1 span)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (3)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "vision-llm-test",
    "op": "test",
    "parent_span_id": "bcf2f09e52c00020",
    "span_id": "a267eff917a01b88",
    "start_timestamp": 1779175576.176,
    "timestamp": 1779175576.945,
    "trace_id": "fb8710c045d6422abc54428a4e4dcc22",
    "origin": "manual"
  },
  {
    "span_id": "bcf2f09e52c00020",
    "trace_id": "fb8710c045d6422abc54428a4e4dcc22",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175576.159,
    "timestamp": 1779175576.953,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24338/",
      "url.port": "24338",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24338",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "8fceabf014dd46ec",
    "trace_id": "fb8710c045d6422abc54428a4e4dcc22",
    "parent_span_id": "a267eff917a01b88",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175576.224,
    "timestamp": 1779175576.928,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"What color is this image? Reply with just the color name.\\\"},{\\\"type\\\":\\\"image_url\\\",\\\"image_url\\\":{\\\"url\\\":\\\"[Blob substitute]\\\"}}]\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Red\"]",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 8538,
      "gen_ai.response.id": "chatcmpl-Dh98COfvnPLm6T732cCpHACODQGgY",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/langchain :: Vision LLM Test (streaming, anthropic)❗︎ 1 1⚠︎ 110495ms
checkChatSpanAttributes
889205d5gen_ai.usage.input_tokensSpan 889205d5: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
889205d5gen_ai.usage.output_tokensSpan 889205d5: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkValidTokenUsage
889205d5gen_ai.usage.input_tokensinput_tokens must exist
889205d5gen_ai.usage.output_tokensoutput_tokens must exist
889205d5gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
889205d5gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "vision-llm-test",
    "op": "test",
    "parent_span_id": "add8756de7689db0",
    "span_id": "8de68c9ffe6c0daf",
    "start_timestamp": 1779175576.304,
    "timestamp": 1779175576.489,
    "trace_id": "aea925221faa4743a65d906aab6d0584",
    "origin": "manual"
  },
  {
    "span_id": "add8756de7689db0",
    "trace_id": "aea925221faa4743a65d906aab6d0584",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175576.294,
    "timestamp": 1779175576.495,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24339/",
      "url.port": "24339",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24339",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "889205d55364f2cf",
    "trace_id": "aea925221faa4743a65d906aab6d0584",
    "parent_span_id": "8de68c9ffe6c0daf",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175576.331,
    "timestamp": 1779175576.45,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"What color is this image? Reply with just the color name.\\\"},{\\\"type\\\":\\\"image_url\\\",\\\"image_url\\\":{\\\"url\\\":\\\"[Blob substitute]\\\"}}]\"}]"
    },
    "status": "error",
    "is_segment": false
  }
]
cloudflare/langchain :: Vision LLM Test (blocking, openai)❗︎ 1⚠︎ 111076ms
checkChatSpanAttributes
92119f88gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
92119f88gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
92119f88gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(1 span)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (3)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "vision-llm-test",
    "op": "test",
    "parent_span_id": "a4a9e62624679aca",
    "span_id": "a63627a731874871",
    "start_timestamp": 1779175576.795,
    "timestamp": 1779175577.468,
    "trace_id": "22a3603088794b73baffcecf97439ed8",
    "origin": "manual"
  },
  {
    "span_id": "a4a9e62624679aca",
    "trace_id": "22a3603088794b73baffcecf97439ed8",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175576.792,
    "timestamp": 1779175577.477,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24340/",
      "url.port": "24340",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24340",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "92119f88f47b9bc2",
    "trace_id": "22a3603088794b73baffcecf97439ed8",
    "parent_span_id": "a63627a731874871",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175576.806,
    "timestamp": 1779175577.462,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"What color is this image? Reply with just the color name.\\\"},{\\\"type\\\":\\\"image_url\\\",\\\"image_url\\\":{\\\"url\\\":\\\"[Blob substitute]\\\"}}]\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Red\"]",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 8538,
      "gen_ai.response.id": "chatcmpl-Dh98D0uq34twTWvJHCRTQExaw54zf",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/langchain :: Vision LLM Test (blocking, anthropic)❗︎ 1 1⚠︎ 19375ms
checkChatSpanAttributes
a544407fgen_ai.usage.input_tokensSpan a544407f: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
a544407fgen_ai.usage.output_tokensSpan a544407f: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkValidTokenUsage
a544407fgen_ai.usage.input_tokensinput_tokens must exist
a544407fgen_ai.usage.output_tokensoutput_tokens must exist
a544407fgen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
a544407fgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "vision-llm-test",
    "op": "test",
    "parent_span_id": "89ca9479426bc883",
    "span_id": "9e414976605cdf35",
    "start_timestamp": 1779175575.988,
    "timestamp": 1779175576.266,
    "trace_id": "b9c8809933204a4bb2494952555bc37f",
    "origin": "manual"
  },
  {
    "span_id": "89ca9479426bc883",
    "trace_id": "b9c8809933204a4bb2494952555bc37f",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175575.984,
    "timestamp": 1779175576.267,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24341/",
      "url.port": "24341",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24341",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "a544407f213cb875",
    "trace_id": "b9c8809933204a4bb2494952555bc37f",
    "parent_span_id": "9e414976605cdf35",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175576.003,
    "timestamp": 1779175576.158,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"What color is this image? Reply with just the color name.\\\"},{\\\"type\\\":\\\"image_url\\\",\\\"image_url\\\":{\\\"url\\\":\\\"[Blob substitute]\\\"}}]\"}]"
    },
    "status": "error",
    "is_segment": false
  }
]
cloudflare/langchain :: Long Input LLM Test (streaming, openai)❗︎ 1⚠︎ 111984ms
checkChatSpanAttributes
9f7e753agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9f7e753agen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
9f7e753agen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(1 span)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (3)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "long-input-llm-test",
    "op": "test",
    "parent_span_id": "a030789291a52a4c",
    "span_id": "99dd3688ff8cd954",
    "start_timestamp": 1779175578.191,
    "timestamp": 1779175579.714,
    "trace_id": "4dc6a43436d147debfe748142a928902",
    "origin": "manual"
  },
  {
    "span_id": "a030789291a52a4c",
    "trace_id": "4dc6a43436d147debfe748142a928902",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175578.189,
    "timestamp": 1779175579.722,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24342/",
      "url.port": "24342",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24342",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "9f7e753abf7b0a81",
    "trace_id": "4dc6a43436d147debfe748142a928902",
    "parent_span_id": "99dd3688ff8cd954",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175578.197,
    "timestamp": 1779175579.701,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"This message is a test that will be repeated multiple times to produce a long input.\"]",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.output_tokens": 17,
      "gen_ai.usage.total_tokens": 5446,
      "gen_ai.response.id": "chatcmpl-Dh98ENysAemtWriTOP5KlabtxpYl3",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/langchain :: Long Input LLM Test (streaming, anthropic)❗︎ 1⚠︎ 19789ms
checkChatSpanAttributes
84c4a149gen_ai.usage.input_tokensSpan 84c4a149: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
84c4a149gen_ai.usage.output_tokensSpan 84c4a149: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkInputMessagesSchema
checkResponseModel
84c4a149gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "long-input-llm-test",
    "op": "test",
    "parent_span_id": "8df3d3565d9a8072",
    "span_id": "918c85b0b805f90b",
    "start_timestamp": 1779175578.897,
    "timestamp": 1779175579.163,
    "trace_id": "553d96c58e1648dbbe1d08a7b16f2f01",
    "origin": "manual"
  },
  {
    "span_id": "8df3d3565d9a8072",
    "trace_id": "553d96c58e1648dbbe1d08a7b16f2f01",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175578.888,
    "timestamp": 1779175579.165,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24343/",
      "url.port": "24343",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24343",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "84c4a149e196d7a6",
    "trace_id": "553d96c58e1648dbbe1d08a7b16f2f01",
    "parent_span_id": "918c85b0b805f90b",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175578.94,
    "timestamp": 1779175579.077,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]"
    },
    "status": "error",
    "is_segment": false
  }
]
cloudflare/langchain :: Long Input LLM Test (blocking, openai)❗︎ 1⚠︎ 110269ms
checkChatSpanAttributes
9c5d711agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9c5d711agen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
9c5d711agen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(1 span)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (3)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "long-input-llm-test",
    "op": "test",
    "parent_span_id": "84b38cf1dbfa485d",
    "span_id": "abe079d416884d36",
    "start_timestamp": 1779175580.518,
    "timestamp": 1779175581.413,
    "trace_id": "c15c23b2c34b4ac187f15191939547da",
    "origin": "manual"
  },
  {
    "span_id": "84b38cf1dbfa485d",
    "trace_id": "c15c23b2c34b4ac187f15191939547da",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175580.512,
    "timestamp": 1779175581.415,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24344/",
      "url.port": "24344",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24344",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "9c5d711ad942f7a6",
    "trace_id": "c15c23b2c34b4ac187f15191939547da",
    "parent_span_id": "abe079d416884d36",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175580.539,
    "timestamp": 1779175581.401,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"This message will be repeated multiple times to generate a lengthy input.\"]",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.output_tokens": 13,
      "gen_ai.usage.total_tokens": 5442,
      "gen_ai.response.id": "chatcmpl-Dh98GwJGB77jpvn7OYCFnsnpfsEpM",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/langchain :: Long Input LLM Test (blocking, anthropic)❗︎ 1⚠︎ 18722ms
checkChatSpanAttributes
89c8ac20gen_ai.usage.input_tokensSpan 89c8ac20: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
89c8ac20gen_ai.usage.output_tokensSpan 89c8ac20: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkInputMessagesSchema
checkResponseModel
89c8ac20gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "long-input-llm-test",
    "op": "test",
    "parent_span_id": "a10fe3b22c5b023c",
    "span_id": "a9c5fa083967c7d7",
    "start_timestamp": 1779175580.287,
    "timestamp": 1779175580.5,
    "trace_id": "71fcd268f2d34f319be629482aea071a",
    "origin": "manual"
  },
  {
    "span_id": "a10fe3b22c5b023c",
    "trace_id": "71fcd268f2d34f319be629482aea071a",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175580.28,
    "timestamp": 1779175580.501,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24345/",
      "url.port": "24345",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24345",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "89c8ac204e6d62b6",
    "trace_id": "71fcd268f2d34f319be629482aea071a",
    "parent_span_id": "a9c5fa083967c7d7",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175580.303,
    "timestamp": 1779175580.451,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]"
    },
    "status": "error",
    "is_segment": false
  }
]
cloudflare/langchain :: Conversation ID LLM Test (streaming, openai)❗︎ 1⚠︎ 115026ms
checkAISpanCount(4)
checkChatSpanAttributes
b834ff27gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b834ff27gen_ai.output.messagesMissing output messages attribute
8f5253fcgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8f5253fcgen_ai.output.messagesMissing output messages attribute
a2552403gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a2552403gen_ai.output.messagesMissing output messages attribute
9e98aa72gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9e98aa72gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
b834ff27gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
8f5253fcgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
a2552403gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
9e98aa72gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(4 spans)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (6)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "conversation-id-llm-test",
    "op": "test",
    "parent_span_id": "85e7a73a3ec944e3",
    "span_id": "9de59cc54ec77926",
    "start_timestamp": 1779175581.716,
    "timestamp": 1779175588.035,
    "trace_id": "c86658f5d2994e57baa6efe9c21bde0d",
    "origin": "manual"
  },
  {
    "span_id": "85e7a73a3ec944e3",
    "trace_id": "c86658f5d2994e57baa6efe9c21bde0d",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175581.711,
    "timestamp": 1779175588.046,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24346/",
      "url.port": "24346",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24346",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "b834ff27358f44d2",
    "trace_id": "c86658f5d2994e57baa6efe9c21bde0d",
    "parent_span_id": "9de59cc54ec77926",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175581.722,
    "timestamp": 1779175582.574,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris.\"]",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 75,
      "gen_ai.usage.total_tokens": 98,
      "gen_ai.response.id": "chatcmpl-Dh98H2TGpqV6CjN8s3Hc7B8ySQI3H",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8f5253fcab4f7aa9",
    "trace_id": "c86658f5d2994e57baa6efe9c21bde0d",
    "parent_span_id": "9de59cc54ec77926",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175582.585,
    "timestamp": 1779175584.427,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"4\\n\\nIf you’d like a quick explanation: 2 + 2 means combining two and two, which gives four. Want a quick visual or a number-line demonstration?\"]",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 236,
      "gen_ai.usage.total_tokens": 260,
      "gen_ai.response.id": "chatcmpl-Dh98IovhJUifpARAWvDO0VfMABn7N",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a2552403e8bc5c9f",
    "trace_id": "c86658f5d2994e57baa6efe9c21bde0d",
    "parent_span_id": "9de59cc54ec77926",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175584.438,
    "timestamp": 1779175585.732,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"The capital of Germany is Berlin.\"]",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 144,
      "gen_ai.usage.total_tokens": 188,
      "gen_ai.response.id": "chatcmpl-Dh98Kl3XwrqXV8DHQG7RJUbU19BSP",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9e98aa72e86d4e25",
    "trace_id": "c86658f5d2994e57baa6efe9c21bde0d",
    "parent_span_id": "9de59cc54ec77926",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175585.733,
    "timestamp": 1779175588.035,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"3 + 3 = 6. It’s adding two groups of three.\\n\\nWant a few more practice problems or a quick tip for adding larger numbers?\"]",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 360,
      "gen_ai.usage.total_tokens": 410,
      "gen_ai.response.id": "chatcmpl-Dh98LtzqzSekUC7tu7lbKSpsiJ7UW",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/langchain :: Conversation ID LLM Test (streaming, anthropic)❗︎ 1 1⚠︎ 18796ms
checkAISpanCount(4)
checkChatSpanAttributes
b5832195gen_ai.usage.input_tokensSpan b5832195: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
b5832195gen_ai.usage.output_tokensSpan b5832195: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
998222a5gen_ai.usage.input_tokensSpan 998222a5: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
998222a5gen_ai.usage.output_tokensSpan 998222a5: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
803ff0d1gen_ai.usage.input_tokensSpan 803ff0d1: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
803ff0d1gen_ai.usage.output_tokensSpan 803ff0d1: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
a332d632gen_ai.usage.input_tokensSpan a332d632: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
a332d632gen_ai.usage.output_tokensSpan a332d632: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
b5832195gen_ai.usage.input_tokensinput_tokens must exist
b5832195gen_ai.usage.output_tokensoutput_tokens must exist
b5832195gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
b5832195gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
998222a5gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
803ff0d1gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
a332d632gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (6)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "conversation-id-llm-test",
    "op": "test",
    "parent_span_id": "81a044e940b6c4fe",
    "span_id": "9b74eac1d3e290c7",
    "start_timestamp": 1779175582.11,
    "timestamp": 1779175582.573,
    "trace_id": "2d1446a8a775437884e095a5f53e164e",
    "origin": "manual"
  },
  {
    "span_id": "81a044e940b6c4fe",
    "trace_id": "2d1446a8a775437884e095a5f53e164e",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175582.108,
    "timestamp": 1779175582.578,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24347/",
      "url.port": "24347",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24347",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "b583219529d89f59",
    "trace_id": "2d1446a8a775437884e095a5f53e164e",
    "parent_span_id": "9b74eac1d3e290c7",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175582.117,
    "timestamp": 1779175582.229,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.conversation.id": "conv-a"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "998222a538ba5209",
    "trace_id": "2d1446a8a775437884e095a5f53e164e",
    "parent_span_id": "9b74eac1d3e290c7",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175582.266,
    "timestamp": 1779175582.364,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "gen_ai.conversation.id": "conv-b"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "803ff0d17cfbe305",
    "trace_id": "2d1446a8a775437884e095a5f53e164e",
    "parent_span_id": "9b74eac1d3e290c7",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175582.375,
    "timestamp": 1779175582.465,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "gen_ai.conversation.id": "conv-a"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "a332d63293b496d7",
    "trace_id": "2d1446a8a775437884e095a5f53e164e",
    "parent_span_id": "9b74eac1d3e290c7",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175582.471,
    "timestamp": 1779175582.569,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "gen_ai.conversation.id": "conv-b"
    },
    "status": "error",
    "is_segment": false
  }
]
cloudflare/langchain :: Conversation ID LLM Test (blocking, openai)❗︎ 1⚠︎ 114132ms
checkAISpanCount(4)
checkChatSpanAttributes
9cc8f4b9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9cc8f4b9gen_ai.output.messagesMissing output messages attribute
b72a3bc2gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b72a3bc2gen_ai.output.messagesMissing output messages attribute
8a3f0b33gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8a3f0b33gen_ai.output.messagesMissing output messages attribute
a66027f2gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a66027f2gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
9cc8f4b9gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
b72a3bc2gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
8a3f0b33gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
a66027f2gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(4 spans)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (6)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "conversation-id-llm-test",
    "op": "test",
    "parent_span_id": "b86b8645d0e585b5",
    "span_id": "a649ad093a1fb6a3",
    "start_timestamp": 1779175584.843,
    "timestamp": 1779175590.391,
    "trace_id": "1543ab637ea44f62b0438e18352225d8",
    "origin": "manual"
  },
  {
    "span_id": "b86b8645d0e585b5",
    "trace_id": "1543ab637ea44f62b0438e18352225d8",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175584.833,
    "timestamp": 1779175590.393,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24348/",
      "url.port": "24348",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24348",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "9cc8f4b9aff51fd0",
    "trace_id": "1543ab637ea44f62b0438e18352225d8",
    "parent_span_id": "a649ad093a1fb6a3",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175584.868,
    "timestamp": 1779175585.698,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris.\"]",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 75,
      "gen_ai.usage.total_tokens": 98,
      "gen_ai.response.id": "chatcmpl-Dh98LnOzRgXvxuD3bPiJf2j76Jc5w",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b72a3bc2f16446be",
    "trace_id": "1543ab637ea44f62b0438e18352225d8",
    "parent_span_id": "a649ad093a1fb6a3",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175585.704,
    "timestamp": 1779175586.978,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"4. Quick check: start at 2 and add 2 more to reach 4 (2 + 2 = 4). If you’d like, I can show it with a number line or a quick visual.\"]",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 246,
      "gen_ai.usage.total_tokens": 270,
      "gen_ai.response.id": "chatcmpl-Dh98LNvhenHDbXA2StqIwCu8lxDbL",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8a3f0b334194680f",
    "trace_id": "1543ab637ea44f62b0438e18352225d8",
    "parent_span_id": "a649ad093a1fb6a3",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175586.979,
    "timestamp": 1779175588.093,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"The capital of Germany is Berlin. If you’d like, I can share a bit about Berlin or Germany’s geography.\"]",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 161,
      "gen_ai.usage.total_tokens": 205,
      "gen_ai.response.id": "chatcmpl-Dh98NRTAcmDyzFC5wgYK38mlOEzPr",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a66027f2d9ee556b",
    "trace_id": "1543ab637ea44f62b0438e18352225d8",
    "parent_span_id": "a649ad093a1fb6a3",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175588.093,
    "timestamp": 1779175590.39,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"3 + 3 equals 6. Quick check: start at 3 and count up three more (4, 5, 6). Want more practice or tips on adding?\"]",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 302,
      "gen_ai.usage.total_tokens": 352,
      "gen_ai.response.id": "chatcmpl-Dh98OaRGU3C4h1bHbOMd7lSUsLyyA",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/langchain :: Conversation ID LLM Test (blocking, anthropic)❗︎ 1 1⚠︎ 19354ms
checkAISpanCount(4)
checkChatSpanAttributes
b497daf0gen_ai.usage.input_tokensSpan b497daf0: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
b497daf0gen_ai.usage.output_tokensSpan b497daf0: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
9d658966gen_ai.usage.input_tokensSpan 9d658966: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
9d658966gen_ai.usage.output_tokensSpan 9d658966: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
8e2463e3gen_ai.usage.input_tokensSpan 8e2463e3: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
8e2463e3gen_ai.usage.output_tokensSpan 8e2463e3: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
a20372degen_ai.usage.input_tokensSpan a20372de: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
a20372degen_ai.usage.output_tokensSpan a20372de: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
b497daf0gen_ai.usage.input_tokensinput_tokens must exist
b497daf0gen_ai.usage.output_tokensoutput_tokens must exist
b497daf0gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
b497daf0gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
9d658966gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
8e2463e3gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
a20372degen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (6)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "conversation-id-llm-test",
    "op": "test",
    "parent_span_id": "ad50d84ccc354b0b",
    "span_id": "b108cc75b4059c67",
    "start_timestamp": 1779175585.332,
    "timestamp": 1779175585.848,
    "trace_id": "73c1bd97f87c4b5388d686f4aee3f46f",
    "origin": "manual"
  },
  {
    "span_id": "ad50d84ccc354b0b",
    "trace_id": "73c1bd97f87c4b5388d686f4aee3f46f",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175585.323,
    "timestamp": 1779175585.849,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24349/",
      "url.port": "24349",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24349",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "b497daf02e1ba922",
    "trace_id": "73c1bd97f87c4b5388d686f4aee3f46f",
    "parent_span_id": "b108cc75b4059c67",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175585.341,
    "timestamp": 1779175585.47,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.conversation.id": "conv-a"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "9d658966926d4e0a",
    "trace_id": "73c1bd97f87c4b5388d686f4aee3f46f",
    "parent_span_id": "b108cc75b4059c67",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175585.533,
    "timestamp": 1779175585.631,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "gen_ai.conversation.id": "conv-b"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "8e2463e363197615",
    "trace_id": "73c1bd97f87c4b5388d686f4aee3f46f",
    "parent_span_id": "b108cc75b4059c67",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175585.64,
    "timestamp": 1779175585.739,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "gen_ai.conversation.id": "conv-a"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "a20372dee0f14fd7",
    "trace_id": "73c1bd97f87c4b5388d686f4aee3f46f",
    "parent_span_id": "b108cc75b4059c67",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175585.746,
    "timestamp": 1779175585.838,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "gen_ai.conversation.id": "conv-b"
    },
    "status": "error",
    "is_segment": false
  }
]
cloudflare/openai :: Basic LLM Test (streaming, chat)❗︎ 111001ms
checkAISpanCount(1)
checkChatSpanAttributes
ac15752bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ac15752bgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(1 span)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (3)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "basic-llm-test",
    "op": "test",
    "parent_span_id": "8af49de03dd29310",
    "span_id": "94e1b549dc35b885",
    "start_timestamp": 1779175585.248,
    "timestamp": 1779175587.966,
    "trace_id": "3655f118ad324ef39bd1ab39067ff4f2",
    "origin": "manual"
  },
  {
    "span_id": "8af49de03dd29310",
    "trace_id": "3655f118ad324ef39bd1ab39067ff4f2",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175585.243,
    "timestamp": 1779175587.973,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24350/",
      "url.port": "24350",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24350",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "ac15752b7be0e374",
    "trace_id": "3655f118ad324ef39bd1ab39067ff4f2",
    "parent_span_id": "94e1b549dc35b885",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175585.249,
    "timestamp": 1779175587.958,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh98MaMwILVvj0mUQA9HXqleKuQbw",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 75,
      "gen_ai.usage.total_tokens": 98,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "Paris."
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/openai :: Basic LLM Test (streaming, responses)❗︎ 19325ms
checkAISpanCount(1)
checkChatSpanAttributes
970dc7b9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
970dc7b9gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(1 span) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(1 span)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (3)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "basic-llm-test",
    "op": "test",
    "parent_span_id": "9b8038a2a64057e7",
    "span_id": "85ef308d95582aa5",
    "start_timestamp": 1779175585.431,
    "timestamp": 1779175586.813,
    "trace_id": "6315908d230949ca8edcb8ef49f4b559",
    "origin": "manual"
  },
  {
    "span_id": "9b8038a2a64057e7",
    "trace_id": "6315908d230949ca8edcb8ef49f4b559",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175585.422,
    "timestamp": 1779175586.828,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24351/",
      "url.port": "24351",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24351",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "970dc7b9e578e495",
    "trace_id": "6315908d230949ca8edcb8ef49f4b559",
    "parent_span_id": "85ef308d95582aa5",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175585.433,
    "timestamp": 1779175586.809,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_0f2c9e0676b689a1006a0c10a198fc8196af34b1d266b73964",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 111,
      "gen_ai.usage.total_tokens": 134,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "Paris",
      "gen_ai.response.tool_calls": "[{\"id\":\"rs_0f2c9e0676b689a1006a0c10a1e9a0819683b68c6c7aaa319f\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_0f2c9e0676b689a1006a0c10a2768881968df796196efc97e5\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/openai :: Basic LLM Test (blocking, chat)❗︎ 110126ms
checkAISpanCount(1)
checkChatSpanAttributes
81ad5387gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
81ad5387gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "basic-llm-test",
    "op": "test",
    "parent_span_id": "a1fac2cb04b492ed",
    "span_id": "917f33676f0749a9",
    "start_timestamp": 1779175587.949,
    "timestamp": 1779175589.318,
    "trace_id": "686c6084e52f48f7871c09d758435474",
    "origin": "manual"
  },
  {
    "span_id": "a1fac2cb04b492ed",
    "trace_id": "686c6084e52f48f7871c09d758435474",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175587.944,
    "timestamp": 1779175589.32,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24352/",
      "url.port": "24352",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24352",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "81ad538767772a51",
    "trace_id": "686c6084e52f48f7871c09d758435474",
    "parent_span_id": "917f33676f0749a9",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175587.952,
    "timestamp": 1779175589.317,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "chatcmpl-Dh98Om0BDSdIzNpJiYpPZMGQCGOZV",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 75,
      "gen_ai.usage.total_tokens": 98,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris.\"]"
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/openai :: Basic LLM Test (blocking, responses)❗︎ 110506ms
checkAISpanCount(1)
checkChatSpanAttributes
9eb4c3f5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9eb4c3f5gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "basic-llm-test",
    "op": "test",
    "parent_span_id": "a9b10257358575fc",
    "span_id": "82ae5f6676344c0b",
    "start_timestamp": 1779175588.169,
    "timestamp": 1779175590.23,
    "trace_id": "2b132989598c4fb6863f8d935c35ac41",
    "origin": "manual"
  },
  {
    "span_id": "a9b10257358575fc",
    "trace_id": "2b132989598c4fb6863f8d935c35ac41",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175588.156,
    "timestamp": 1779175590.238,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24353/",
      "url.port": "24353",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24353",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "9eb4c3f53487d9b4",
    "trace_id": "2b132989598c4fb6863f8d935c35ac41",
    "parent_span_id": "82ae5f6676344c0b",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175588.17,
    "timestamp": 1779175590.22,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "resp_0f256aab07bb4283006a0c10a446d8819581c08563cd3bdf2f",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 276,
      "gen_ai.usage.total_tokens": 299,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "Paris."
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/openai :: Multi-Turn LLM Test (streaming, chat)❗︎ 128266ms
checkAISpanCount(3)
checkChatSpanAttributes
85a3fbeegen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
85a3fbeegen_ai.output.messagesMissing output messages attribute
b743e54agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b743e54agen_ai.output.messagesMissing output messages attribute
a873df26gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a873df26gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(3 spans)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (5)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "multi-turn-llm-test",
    "op": "test",
    "parent_span_id": "875d43d8b6823378",
    "span_id": "9d64c98e43ee0770",
    "start_timestamp": 1779175588.152,
    "timestamp": 1779175608.804,
    "trace_id": "55ae7aec84794c4faae4abefa21d5e04",
    "origin": "manual"
  },
  {
    "span_id": "875d43d8b6823378",
    "trace_id": "55ae7aec84794c4faae4abefa21d5e04",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175588.132,
    "timestamp": 1779175608.805,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24354/",
      "url.port": "24354",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24354",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "85a3fbee3a9af44e",
    "trace_id": "55ae7aec84794c4faae4abefa21d5e04",
    "parent_span_id": "9d64c98e43ee0770",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175588.155,
    "timestamp": 1779175589.494,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh98O033EN4AD27qk26ujapR8e1Qi",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 139,
      "gen_ai.usage.total_tokens": 162,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "Paris."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b743e54ac667afa7",
    "trace_id": "55ae7aec84794c4faae4abefa21d5e04",
    "parent_span_id": "9d64c98e43ee0770",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175589.497,
    "timestamp": 1779175595.737,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh98PNd73UVlt9ACy49dt9otbj3vr",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 1140,
      "gen_ai.usage.total_tokens": 1188,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "Do you mean Paris city proper (the commune) or the Paris metropolitan area?\n\n- City proper: about 2.1 million people (roughly 2.14–2.15 million in the early 2020s, per INSEE).\n- Paris metropolitan area (Île-de-France): about 12–13 million people (roughly 12.3 million in the 2020s).\n\nIf you want the exact current figure, tell me which measure you want and I can pull the latest official number."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a873df26d0d43f57",
    "trace_id": "55ae7aec84794c4faae4abefa21d5e04",
    "parent_span_id": "9d64c98e43ee0770",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175595.737,
    "timestamp": 1779175608.804,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh98Ves1IRh4exWUO0ozcLxkoNU6I",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 2092,
      "gen_ai.usage.total_tokens": 2173,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "The answer depends on the definition, but:\n\n- Paris metropolitan area (INSEE: aire urbaine de Paris): about 12.5 million people (roughly in the 12–13 million range, depending on year).\n- Île-de-France region (the wider Paris region): about 12 million people.\n- Grand Paris Metropolis (the administrative 131-commune area around Paris): about 7 million.\n\nWhich definition and year should I use for a precise figure?"
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/openai :: Multi-Turn LLM Test (streaming, responses)❗︎ 124906ms
checkAISpanCount(3)
checkChatSpanAttributes
a29d6c1fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a29d6c1fgen_ai.output.messagesMissing output messages attribute
ad56d2c9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ad56d2c9gen_ai.output.messagesMissing output messages attribute
90fa41e4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
90fa41e4gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(3 spans)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (5)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "multi-turn-llm-test",
    "op": "test",
    "parent_span_id": "b55f8eab07420cd3",
    "span_id": "9ee4435d26521c76",
    "start_timestamp": 1779175588.493,
    "timestamp": 1779175606.376,
    "trace_id": "5e2d92ce94e749058503149832e7aec9",
    "origin": "manual"
  },
  {
    "span_id": "b55f8eab07420cd3",
    "trace_id": "5e2d92ce94e749058503149832e7aec9",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175588.49,
    "timestamp": 1779175606.378,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24355/",
      "url.port": "24355",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24355",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "a29d6c1f115b8cdd",
    "trace_id": "5e2d92ce94e749058503149832e7aec9",
    "parent_span_id": "9ee4435d26521c76",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175588.493,
    "timestamp": 1779175590.13,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_03446f91d0b1e8be006a0c10a4918c81958a5ae5779819ff4e",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 218,
      "gen_ai.usage.total_tokens": 241,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "Paris.",
      "gen_ai.response.tool_calls": "[{\"id\":\"rs_03446f91d0b1e8be006a0c10a4d6cc8195860ce0d2a310db4e\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_03446f91d0b1e8be006a0c10a5e2e0819584206fd003b48c07\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris.\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "ad56d2c9cb1f5b03",
    "trace_id": "5e2d92ce94e749058503149832e7aec9",
    "parent_span_id": "9ee4435d26521c76",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175590.132,
    "timestamp": 1779175598.833,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_0c0566c103f7762c006a0c10a62ef48195b5fb537b85905d85",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 1419,
      "gen_ai.usage.total_tokens": 1467,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "- Paris city proper (the commune of Paris): about 2.1 million people.\n- Paris metropolitan area (the wider urban area): roughly 11–12 million people (and the Île-de-France region around 12–13 million).\n\nIf you want a precise latest figure, tell me which definition you want (city proper vs. metro area) and I can pull the exact numbers.",
      "gen_ai.response.tool_calls": "[{\"id\":\"rs_0c0566c103f7762c006a0c10a676848195ba208075a7c072b0\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_0c0566c103f7762c006a0c10ae125c8195aa052de8596988d4\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"- Paris city proper (the commune of Paris): about 2.1 million people.\\n- Paris metropolitan area (the wider urban area): roughly 11–12 million people (and the Île-de-France region around 12–13 million).\\n\\nIf you want a precise latest figure, tell me which definition you want (city proper vs. metro area) and I can pull the exact numbers.\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "90fa41e41c8f2842",
    "trace_id": "5e2d92ce94e749058503149832e7aec9",
    "parent_span_id": "9ee4435d26521c76",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175598.835,
    "timestamp": 1779175606.376,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_0061415ea7ef6925006a0c10aee18c81949dc6959a8d1f58db",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 1147,
      "gen_ai.usage.total_tokens": 1228,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "If you mean the Paris metropolitan area, it’s around 12 million people. However, definitions vary:\n- Paris urban area (aire urbaine): roughly 12.5 million.\n- Île-de-France region (the wider metro area around Paris): about 12 million.\n\nIf you want a precise figure for a specific boundary or year, tell me which definition you prefer.",
      "gen_ai.response.tool_calls": "[{\"id\":\"rs_0061415ea7ef6925006a0c10af26bc819486755af396ef1461\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_0061415ea7ef6925006a0c10b5bcd481948fefe4aaea584bad\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"If you mean the Paris metropolitan area, it’s around 12 million people. However, definitions vary:\\n- Paris urban area (aire urbaine): roughly 12.5 million.\\n- Île-de-France region (the wider metro area around Paris): about 12 million.\\n\\nIf you want a precise figure for a specific boundary or year, tell me which definition you prefer.\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/openai :: Multi-Turn LLM Test (blocking, chat)❗︎ 124889ms
checkAISpanCount(3)
checkChatSpanAttributes
b6678456gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b6678456gen_ai.output.messagesMissing output messages attribute
bae3bfabgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bae3bfabgen_ai.output.messagesMissing output messages attribute
97eac1a3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
97eac1a3gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (5)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "multi-turn-llm-test",
    "op": "test",
    "parent_span_id": "96c259f177f1eb6f",
    "span_id": "9936a7a22d48ab37",
    "start_timestamp": 1779175589.097,
    "timestamp": 1779175607.474,
    "trace_id": "15bfcc7c781f484bb9fabefd0f21ade2",
    "origin": "manual"
  },
  {
    "span_id": "96c259f177f1eb6f",
    "trace_id": "15bfcc7c781f484bb9fabefd0f21ade2",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175589.091,
    "timestamp": 1779175607.476,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24356/",
      "url.port": "24356",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24356",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "b66784566e5d8d2b",
    "trace_id": "15bfcc7c781f484bb9fabefd0f21ade2",
    "parent_span_id": "9936a7a22d48ab37",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175589.097,
    "timestamp": 1779175590.375,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "chatcmpl-Dh98P6zyJUQzOLFdziTLGbbzCmUzr",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 139,
      "gen_ai.usage.total_tokens": 162,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris.\"]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "bae3bfabe2b07e51",
    "trace_id": "15bfcc7c781f484bb9fabefd0f21ade2",
    "parent_span_id": "9936a7a22d48ab37",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175590.377,
    "timestamp": 1779175596.984,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.id": "chatcmpl-Dh98QkTpARbu4rL9QJUqMkFCDjddD",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 1165,
      "gen_ai.usage.total_tokens": 1213,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris city proper has about 2.1 million residents. The broader Paris metropolitan area (the urban/metro region around Paris) has roughly 12 million people. \\n\\nIf you’d like a specific definition (city proper, urban area, or metro area) and a precise year, tell me and I’ll give the exact figure.\"]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "97eac1a3a8c5c1f1",
    "trace_id": "15bfcc7c781f484bb9fabefd0f21ade2",
    "parent_span_id": "9936a7a22d48ab37",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175596.985,
    "timestamp": 1779175607.474,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.response.id": "chatcmpl-Dh98XjUj1Ut9WB0xXr2S4hWpqkiwR",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 1834,
      "gen_ai.usage.total_tokens": 1915,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"It depends on how you define “metropolitan area.” Here are the common definitions with approximate figures:\\n\\n- Paris urban area (aire urbaine): about 12 million people.\\n- Île-de-France region (the wider administrative region around Paris): about 12.5 million.\\n- Métropole du Grand Paris (the city of Paris plus 131 surrounding communes): about 7 million.\\n\\nIf you tell me which definition and year you want, I can give a precise figure.\"]"
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/openai :: Multi-Turn LLM Test (blocking, responses)❗︎ 123121ms
checkAISpanCount(3)
checkChatSpanAttributes
92bc5873gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
92bc5873gen_ai.output.messagesMissing output messages attribute
a61e0b45gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a61e0b45gen_ai.output.messagesMissing output messages attribute
a5b13799gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a5b13799gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (5)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "multi-turn-llm-test",
    "op": "test",
    "parent_span_id": "8b9457319826bd39",
    "span_id": "9f5c280496e51146",
    "start_timestamp": 1779175590.488,
    "timestamp": 1779175608.223,
    "trace_id": "144f317bc5184433a753ee757cd7ecc7",
    "origin": "manual"
  },
  {
    "span_id": "8b9457319826bd39",
    "trace_id": "144f317bc5184433a753ee757cd7ecc7",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175590.483,
    "timestamp": 1779175608.225,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24357/",
      "url.port": "24357",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24357",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "92bc587322db035a",
    "trace_id": "144f317bc5184433a753ee757cd7ecc7",
    "parent_span_id": "9f5c280496e51146",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175590.489,
    "timestamp": 1779175592.324,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "resp_0563cb3070ba0a2b006a0c10a693bc8195a9aaf4d89fda0b51",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 179,
      "gen_ai.usage.total_tokens": 202,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "Paris. If you'd like, I can add a bit more about the city."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a61e0b452eeba5ee",
    "trace_id": "144f317bc5184433a753ee757cd7ecc7",
    "parent_span_id": "9f5c280496e51146",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175592.327,
    "timestamp": 1779175599.036,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.id": "resp_0e0d9ca5ab4a2d29006a0c10a861448194b04ea68e9f8079d1",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 812,
      "gen_ai.usage.total_tokens": 860,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "Approximately 2.1 million people live in the city proper of Paris (commune), about 2,148,000 in 2020 per INSEE. The wider Paris metropolitan area (Île-de-France) has roughly 12–13 million people. If you meant a different definition, I can provide that figure."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a5b13799fba026b6",
    "trace_id": "144f317bc5184433a753ee757cd7ecc7",
    "parent_span_id": "9f5c280496e51146",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175599.037,
    "timestamp": 1779175608.223,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.response.id": "resp_005dc4c5a52b2d1f006a0c10af17388195b16c8d41543d88a7",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 1564,
      "gen_ai.usage.total_tokens": 1645,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "Definitions vary, so numbers differ. The two common ones are:\n\n- Paris urban area (aire urbaine): about 12.5 million people.\n- Île-de-France region (the wider Paris metropolitan region): about 12 million people.\n\nIf you have a specific definition or year in mind (e.g., INSEE data for 2020 or 2022), I can provide exact figures."
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/openai :: Vision LLM Test (streaming, chat)❗︎ 17475ms
checkChatSpanAttributes
a56c0188gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a56c0188gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(1 span)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (3)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "vision-llm-test",
    "op": "test",
    "parent_span_id": "a52fc833d2ab2b6e",
    "span_id": "a3a8cb57cb56591e",
    "start_timestamp": 1779175596.03,
    "timestamp": 1779175596.569,
    "trace_id": "c74c2e771ed140639d9385ad7ee08e0e",
    "origin": "manual"
  },
  {
    "span_id": "a52fc833d2ab2b6e",
    "trace_id": "c74c2e771ed140639d9385ad7ee08e0e",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175596.018,
    "timestamp": 1779175596.571,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24362/",
      "url.port": "24362",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24362",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "a56c0188ad59a14c",
    "trace_id": "c74c2e771ed140639d9385ad7ee08e0e",
    "parent_span_id": "a3a8cb57cb56591e",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175596.031,
    "timestamp": 1779175596.565,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.stream": true,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":[{\"type\":\"text\",\"text\":\"What color is this image? Reply with just the color name.\"},{\"type\":\"image_url\",\"image_url\":{\"url\":\"[Blob substitute]\"}}]}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh98WhMwduDTBM9hzOidcDO11Z2nA",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 8538,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "Red"
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/openai :: Vision LLM Test (streaming, responses)❗︎ 18410ms
checkChatSpanAttributes
aec37870gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
aec37870gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(1 span) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(1 span)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (3)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "vision-llm-test",
    "op": "test",
    "parent_span_id": "95998b966511da27",
    "span_id": "b49b2f627fe83318",
    "start_timestamp": 1779175596.468,
    "timestamp": 1779175597.722,
    "trace_id": "b08834cb5fcd4457b841cb6dbe9418b3",
    "origin": "manual"
  },
  {
    "span_id": "95998b966511da27",
    "trace_id": "b08834cb5fcd4457b841cb6dbe9418b3",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175596.447,
    "timestamp": 1779175597.724,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24363/",
      "url.port": "24363",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24363",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "aec378701e6c4dd6",
    "trace_id": "b08834cb5fcd4457b841cb6dbe9418b3",
    "parent_span_id": "b49b2f627fe83318",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175596.468,
    "timestamp": 1779175597.72,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.stream": true,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What color is this image? Reply with just the color name.\"},{\"type\":\"input_image\",\"image_url\":\"[Blob substitute]\"}]}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_03b14577672d2370006a0c10ac8d808190bf7a64ccbe5949b0",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 2,
      "gen_ai.usage.total_tokens": 8539,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "Red",
      "gen_ai.response.tool_calls": "[{\"id\":\"msg_03b14577672d2370006a0c10ad798881909199d2b836d3b638\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Red\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/openai :: Vision LLM Test (blocking, chat)❗︎ 19771ms
checkChatSpanAttributes
b15751a4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b15751a4gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "vision-llm-test",
    "op": "test",
    "parent_span_id": "a18fbb7f573685b4",
    "span_id": "8c27e65bb95cc7a0",
    "start_timestamp": 1779175597.493,
    "timestamp": 1779175600.03,
    "trace_id": "993e55515b4047fa87ed381ed1ce570d",
    "origin": "manual"
  },
  {
    "span_id": "a18fbb7f573685b4",
    "trace_id": "993e55515b4047fa87ed381ed1ce570d",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175597.48,
    "timestamp": 1779175600.032,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24364/",
      "url.port": "24364",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24364",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "b15751a41c53580c",
    "trace_id": "993e55515b4047fa87ed381ed1ce570d",
    "parent_span_id": "8c27e65bb95cc7a0",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175597.493,
    "timestamp": 1779175600.029,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":[{\"type\":\"text\",\"text\":\"What color is this image? Reply with just the color name.\"},{\"type\":\"image_url\",\"image_url\":{\"url\":\"[Blob substitute]\"}}]}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "chatcmpl-Dh98ZJ361q5TagdCLEKzrV2R5uEt0",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 8538,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Red\"]"
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/openai :: Vision LLM Test (blocking, responses)❗︎ 18434ms
checkChatSpanAttributes
8186ff04gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8186ff04gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "vision-llm-test",
    "op": "test",
    "parent_span_id": "a5f78166bfbca0b6",
    "span_id": "a54a63a070625edd",
    "start_timestamp": 1779175597.626,
    "timestamp": 1779175598.837,
    "trace_id": "a22a3d2551af466ea75e25ea69f5b3de",
    "origin": "manual"
  },
  {
    "span_id": "a5f78166bfbca0b6",
    "trace_id": "a22a3d2551af466ea75e25ea69f5b3de",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175597.622,
    "timestamp": 1779175598.838,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24365/",
      "url.port": "24365",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24365",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "8186ff04948d911f",
    "trace_id": "a22a3d2551af466ea75e25ea69f5b3de",
    "parent_span_id": "a54a63a070625edd",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175597.627,
    "timestamp": 1779175598.836,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What color is this image? Reply with just the color name.\"},{\"type\":\"input_image\",\"image_url\":\"[Blob substitute]\"}]}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "resp_04c46c439efde49b006a0c10adb6388190956341c403e8af5a",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 2,
      "gen_ai.usage.total_tokens": 8539,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "Red"
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/openai :: Long Input LLM Test (streaming, chat)❗︎ 17457ms
checkChatSpanAttributes
ae7c9624gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ae7c9624gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(1 span)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (3)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "long-input-llm-test",
    "op": "test",
    "parent_span_id": "9c6d5195ee701182",
    "span_id": "8551128477954df3",
    "start_timestamp": 1779175597.994,
    "timestamp": 1779175598.807,
    "trace_id": "3dc451d2c7b841bfa96e7af43ada943a",
    "origin": "manual"
  },
  {
    "span_id": "9c6d5195ee701182",
    "trace_id": "3dc451d2c7b841bfa96e7af43ada943a",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175597.992,
    "timestamp": 1779175598.809,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24366/",
      "url.port": "24366",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24366",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "ae7c962406c0c59b",
    "trace_id": "3dc451d2c7b841bfa96e7af43ada943a",
    "parent_span_id": "8551128477954df3",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175597.995,
    "timestamp": 1779175598.806,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.stream": true,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh98YLnvRtD3YQPWL4nEkplYYFMfP",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.output_tokens": 22,
      "gen_ai.usage.total_tokens": 5451,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "The message is a repetitive test statement intended to generate a long input by reiterating the same phrase multiple times."
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/openai :: Long Input LLM Test (streaming, responses)❗︎ 113846ms
checkChatSpanAttributes
b37a1bc0gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b37a1bc0gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(1 span) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(1 span)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (3)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "long-input-llm-test",
    "op": "test",
    "parent_span_id": "be7aecde4b448e21",
    "span_id": "86346efc37f4a41c",
    "start_timestamp": 1779175598.941,
    "timestamp": 1779175606.581,
    "trace_id": "99ac965f837b4949be56bbb1d3912a44",
    "origin": "manual"
  },
  {
    "span_id": "be7aecde4b448e21",
    "trace_id": "99ac965f837b4949be56bbb1d3912a44",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175598.938,
    "timestamp": 1779175606.583,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24367/",
      "url.port": "24367",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24367",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "b37a1bc09749ecf6",
    "trace_id": "99ac965f837b4949be56bbb1d3912a44",
    "parent_span_id": "86346efc37f4a41c",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175598.941,
    "timestamp": 1779175606.579,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.stream": true,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_01108672a30cd485006a0c10af046c81948079b9436922b235",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.output_tokens": 15,
      "gen_ai.usage.total_tokens": 5444,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "The message is a repetitive test statement designed to generate a lengthy input.",
      "gen_ai.response.tool_calls": "[{\"id\":\"msg_01108672a30cd485006a0c10b62ca48194bf98bc37f1037b0a\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"The message is a repetitive test statement designed to generate a lengthy input.\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/openai :: Long Input LLM Test (blocking, chat)❗︎ 16354ms
checkChatSpanAttributes
b1691ea8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b1691ea8gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "long-input-llm-test",
    "op": "test",
    "parent_span_id": "bd706483a6c0dc93",
    "span_id": "95606cd206c5cf54",
    "start_timestamp": 1779175599.807,
    "timestamp": 1779175600.832,
    "trace_id": "63ede45d3cb74154871b21119661235f",
    "origin": "manual"
  },
  {
    "span_id": "bd706483a6c0dc93",
    "trace_id": "63ede45d3cb74154871b21119661235f",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175599.804,
    "timestamp": 1779175600.833,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24368/",
      "url.port": "24368",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24368",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "b1691ea8f085596b",
    "trace_id": "63ede45d3cb74154871b21119661235f",
    "parent_span_id": "95606cd206c5cf54",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175599.807,
    "timestamp": 1779175600.831,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "chatcmpl-Dh98Z0XiwVDhctNhQRojr4jEVJcy8",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.output_tokens": 16,
      "gen_ai.usage.total_tokens": 5445,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"This long input consists of a repetitive test message meant to create an extensive output.\"]"
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/openai :: Long Input LLM Test (blocking, responses)❗︎ 16565ms
checkChatSpanAttributes
8cfc6f7dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8cfc6f7dgen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "long-input-llm-test",
    "op": "test",
    "parent_span_id": "9ef45a40c3a87c4e",
    "span_id": "ae691b1246e6bbbc",
    "start_timestamp": 1779175601.627,
    "timestamp": 1779175603.121,
    "trace_id": "cea48d9c67ef464b983d3e10267ea220",
    "origin": "manual"
  },
  {
    "span_id": "9ef45a40c3a87c4e",
    "trace_id": "cea48d9c67ef464b983d3e10267ea220",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175601.623,
    "timestamp": 1779175603.126,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24369/",
      "url.port": "24369",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24369",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "8cfc6f7ddb2107a7",
    "trace_id": "cea48d9c67ef464b983d3e10267ea220",
    "parent_span_id": "ae691b1246e6bbbc",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175601.627,
    "timestamp": 1779175603.118,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "resp_0ab90a639edb8e6e006a0c10b1b540819696ccea748a5d76d1",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.output_tokens": 14,
      "gen_ai.usage.total_tokens": 5443,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "This test message will be repeatedly used to generate a lengthy input."
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/openai :: Conversation ID LLM Test (streaming, chat)❗︎ 111998ms
checkAISpanCount(4)
checkChatSpanAttributes
81814e3bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
81814e3bgen_ai.output.messagesMissing output messages attribute
95fd7c1agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
95fd7c1agen_ai.output.messagesMissing output messages attribute
83560be2gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
83560be2gen_ai.output.messagesMissing output messages attribute
915db666gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
915db666gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(4 spans)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (6)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "conversation-id-llm-test",
    "op": "test",
    "parent_span_id": "86b5893d4fa993d3",
    "span_id": "ad63ab8b9559e293",
    "start_timestamp": 1779175603.182,
    "timestamp": 1779175609.734,
    "trace_id": "6dd8f68ac1cc42ee98ac05f25d07531c",
    "origin": "manual"
  },
  {
    "span_id": "86b5893d4fa993d3",
    "trace_id": "6dd8f68ac1cc42ee98ac05f25d07531c",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175603.178,
    "timestamp": 1779175609.735,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24370/",
      "url.port": "24370",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24370",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "81814e3bdaa0ef6f",
    "trace_id": "6dd8f68ac1cc42ee98ac05f25d07531c",
    "parent_span_id": "ad63ab8b9559e293",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175603.183,
    "timestamp": 1779175604.312,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh98db6JwkYOg1CJXzkdDZyt38nox",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 139,
      "gen_ai.usage.total_tokens": 162,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "Paris."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "95fd7c1ad333c02b",
    "trace_id": "6dd8f68ac1cc42ee98ac05f25d07531c",
    "parent_span_id": "ad63ab8b9559e293",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175604.313,
    "timestamp": 1779175606.463,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh98euXZO3m6XXpAqxhtjV4uWqsvM",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 220,
      "gen_ai.usage.total_tokens": 244,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "4\n\nIf you’d like, I can show a quick explanation or more examples of addition."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "83560be2323f6baf",
    "trace_id": "6dd8f68ac1cc42ee98ac05f25d07531c",
    "parent_span_id": "ad63ab8b9559e293",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175606.464,
    "timestamp": 1779175607.819,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh98gAVBqhwYsueVunPSvqc0i4Hmc",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 144,
      "gen_ai.usage.total_tokens": 188,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "The capital of Germany is Berlin."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "915db66692121c1a",
    "trace_id": "6dd8f68ac1cc42ee98ac05f25d07531c",
    "parent_span_id": "ad63ab8b9559e293",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175607.819,
    "timestamp": 1779175609.733,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh98hfGGhmx9Em1pZ3OinPuYmlg2y",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 295,
      "gen_ai.usage.total_tokens": 345,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "6. It’s two threes added together (two groups of three make six). Want a few more practice problems or a quick number-line check?"
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/openai :: Conversation ID LLM Test (streaming, responses)❗︎ 114001ms
checkAISpanCount(4)
checkChatSpanAttributes
9d7133b3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9d7133b3gen_ai.output.messagesMissing output messages attribute
bbb67581gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bbb67581gen_ai.output.messagesMissing output messages attribute
a8f9d08bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a8f9d08bgen_ai.output.messagesMissing output messages attribute
9646f2aegen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9646f2aegen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(4 spans)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (6)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "conversation-id-llm-test",
    "op": "test",
    "parent_span_id": "9907cd53c285d3f1",
    "span_id": "9a4f14856259fb3b",
    "start_timestamp": 1779175605.073,
    "timestamp": 1779175612.777,
    "trace_id": "489d17956ea844d1baec4bd0523a6276",
    "origin": "manual"
  },
  {
    "span_id": "9907cd53c285d3f1",
    "trace_id": "489d17956ea844d1baec4bd0523a6276",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175605.067,
    "timestamp": 1779175612.783,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24371/",
      "url.port": "24371",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24371",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "9d7133b3f432376e",
    "trace_id": "489d17956ea844d1baec4bd0523a6276",
    "parent_span_id": "9a4f14856259fb3b",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175605.074,
    "timestamp": 1779175606.497,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_087451b21b697cce006a0c10b528b88195b704480336008196",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 188,
      "gen_ai.usage.total_tokens": 211,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "Paris.",
      "gen_ai.response.tool_calls": "[{\"id\":\"rs_087451b21b697cce006a0c10b55f24819597654418497c3e20\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_087451b21b697cce006a0c10b636508195b4f18ea973cc333d\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris.\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "bbb67581ec051b61",
    "trace_id": "489d17956ea844d1baec4bd0523a6276",
    "parent_span_id": "9a4f14856259fb3b",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175606.499,
    "timestamp": 1779175608.717,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_0b2b802a6e76f46e006a0c10b68e1481938bf12e5baa33998d",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 305,
      "gen_ai.usage.total_tokens": 329,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "4. When you add 2 and 2, you get 4. Want a quick example or more practice with addition?",
      "gen_ai.response.tool_calls": "[{\"id\":\"rs_0b2b802a6e76f46e006a0c10b6ffe081939573b78afb6316b6\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_0b2b802a6e76f46e006a0c10b84d088193a92176d684f2f7fa\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"4. When you add 2 and 2, you get 4. Want a quick example or more practice with addition?\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a8f9d08be875a433",
    "trace_id": "489d17956ea844d1baec4bd0523a6276",
    "parent_span_id": "9a4f14856259fb3b",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175608.718,
    "timestamp": 1779175610.474,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_039ba85c8ecca3bd006a0c10b8c8088194927e83477e6c25d6",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 198,
      "gen_ai.usage.total_tokens": 242,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "The capital of Germany is Berlin.",
      "gen_ai.response.tool_calls": "[{\"id\":\"rs_039ba85c8ecca3bd006a0c10b91b84819498bf14fdd5983976\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_039ba85c8ecca3bd006a0c10ba3be48194bf82c2ecec6123b5\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"The capital of Germany is Berlin.\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9646f2ae09c11eac",
    "trace_id": "489d17956ea844d1baec4bd0523a6276",
    "parent_span_id": "9a4f14856259fb3b",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175610.474,
    "timestamp": 1779175612.776,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_00a5f14b7fe654bf006a0c10ba867881959610a22566d365fe",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 299,
      "gen_ai.usage.total_tokens": 349,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "3 + 3 = 6.\n\nIf you’d like, I can show a quick way to see it (counting on a number line or with fingers). Want another one to practice?",
      "gen_ai.response.tool_calls": "[{\"id\":\"rs_00a5f14b7fe654bf006a0c10bad060819585847c70c19a659e\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_00a5f14b7fe654bf006a0c10bc468c819596f2d7874c18c283\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"3 + 3 = 6.\\n\\nIf you’d like, I can show a quick way to see it (counting on a number line or with fingers). Want another one to practice?\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/openai :: Conversation ID LLM Test (blocking, chat)❗︎ 114133ms
checkAISpanCount(4)
checkChatSpanAttributes
987d5d1cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
987d5d1cgen_ai.output.messagesMissing output messages attribute
8cff34ccgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8cff34ccgen_ai.output.messagesMissing output messages attribute
96f030e1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
96f030e1gen_ai.output.messagesMissing output messages attribute
986785c0gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
986785c0gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (6)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "conversation-id-llm-test",
    "op": "test",
    "parent_span_id": "92d464de8ffe6b1c",
    "span_id": "b68f8df2e97844bf",
    "start_timestamp": 1779175605.13,
    "timestamp": 1779175612.963,
    "trace_id": "10c5d72a2b5c4157be5a94deb531c823",
    "origin": "manual"
  },
  {
    "span_id": "92d464de8ffe6b1c",
    "trace_id": "10c5d72a2b5c4157be5a94deb531c823",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175605.128,
    "timestamp": 1779175612.964,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24372/",
      "url.port": "24372",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24372",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "987d5d1c1bd9595b",
    "trace_id": "10c5d72a2b5c4157be5a94deb531c823",
    "parent_span_id": "b68f8df2e97844bf",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175605.131,
    "timestamp": 1779175606.314,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "chatcmpl-Dh98f3ZQScqycQfh390POhtRmFgVy",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 139,
      "gen_ai.usage.total_tokens": 162,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris.\"]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8cff34cce060d3d8",
    "trace_id": "10c5d72a2b5c4157be5a94deb531c823",
    "parent_span_id": "b68f8df2e97844bf",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175606.315,
    "timestamp": 1779175609.241,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "chatcmpl-Dh98gIkCCbfwfNu9q3h4fKPDChmmW",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 422,
      "gen_ai.usage.total_tokens": 446,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"4. In standard base-10 arithmetic, 2 + 2 equals 4. Want a quick explanation with objects or a number line?\"]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "96f030e10a14884e",
    "trace_id": "10c5d72a2b5c4157be5a94deb531c823",
    "parent_span_id": "b68f8df2e97844bf",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175609.242,
    "timestamp": 1779175610.511,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.id": "chatcmpl-Dh98jLroY26QvIEir8y9gz8dk6H7N",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 224,
      "gen_ai.usage.total_tokens": 268,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"The capital of Germany is Berlin. It is also the country’s largest city and a major cultural and political center.\"]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "986785c0b0c77368",
    "trace_id": "10c5d72a2b5c4157be5a94deb531c823",
    "parent_span_id": "b68f8df2e97844bf",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175610.512,
    "timestamp": 1779175612.963,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.id": "chatcmpl-Dh98kxhd7cCQ9muDZvNpv81zInevS",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 299,
      "gen_ai.usage.total_tokens": 349,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"3 + 3 = 6. \\n\\nYou can think of it as doubling 3: 3 × 2 = 6. Want to try another one?\"]"
    },
    "status": "ok",
    "is_segment": false
  }
]
cloudflare/openai :: Conversation ID LLM Test (blocking, responses)❗︎ 114199ms
checkAISpanCount(4)
checkChatSpanAttributes
9c9f924bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9c9f924bgen_ai.output.messagesMissing output messages attribute
bd6e8281gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bd6e8281gen_ai.output.messagesMissing output messages attribute
960a2c00gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
960a2c00gen_ai.output.messagesMissing output messages attribute
915e9216gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
915e9216gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (6)
[
  {
    "data": {
      "sentry.origin": "manual",
      "sentry.op": "test"
    },
    "description": "conversation-id-llm-test",
    "op": "test",
    "parent_span_id": "a98bcf1b5a742c4f",
    "span_id": "a3d3df79fbb1b23b",
    "start_timestamp": 1779175605.626,
    "timestamp": 1779175613.859,
    "trace_id": "35c2b694b78a48b7beefc3f284709e88",
    "origin": "manual"
  },
  {
    "span_id": "a98bcf1b5a742c4f",
    "trace_id": "35c2b694b78a48b7beefc3f284709e88",
    "op": "http.server",
    "description": "GET /",
    "start_timestamp": 1779175605.624,
    "timestamp": 1779175613.861,
    "data": {
      "sentry.origin": "auto.http.cloudflare",
      "sentry.op": "http.server",
      "sentry.source": "route",
      "sentry.sample_rate": 1,
      "http.request.method": "GET",
      "url.path": "/",
      "url.full": "http://localhost:24373/",
      "url.port": "24373",
      "url.scheme": "http:",
      "server.address": "localhost",
      "user_agent.original": "node",
      "http.request.header.accept": "*/*",
      "http.request.header.accept_encoding": "br, gzip",
      "http.request.header.accept_language": "*",
      "http.request.header.cf_connecting_ip": "::1",
      "http.request.header.host": "localhost:24373",
      "http.request.header.sec_fetch_mode": "cors",
      "http.request.header.user_agent": "node",
      "network.protocol.name": "HTTP/1.1",
      "http.response.status_code": 200
    },
    "status": "ok"
  },
  {
    "span_id": "9c9f924b2db88533",
    "trace_id": "35c2b694b78a48b7beefc3f284709e88",
    "parent_span_id": "a3d3df79fbb1b23b",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175605.627,
    "timestamp": 1779175607.088,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "resp_03216f3ceaf6722b006a0c10b5b2a88190a378c93d232774af",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 209,
      "gen_ai.usage.total_tokens": 232,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "Paris is the capital of France."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "bd6e8281e23cfecd",
    "trace_id": "35c2b694b78a48b7beefc3f284709e88",
    "parent_span_id": "a3d3df79fbb1b23b",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175607.091,
    "timestamp": 1779175609.51,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "resp_0af61191d3d51e38006a0c10b7244c81949ae30d9a1a7ff68b",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 336,
      "gen_ai.usage.total_tokens": 360,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "4\n\nIf you have 2 of something and get 2 more, you have 4 of them. Want a quick practice problem or a mental-math trick?"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "960a2c00f5f18a03",
    "trace_id": "35c2b694b78a48b7beefc3f284709e88",
    "parent_span_id": "a3d3df79fbb1b23b",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175609.511,
    "timestamp": 1779175611.329,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.id": "resp_066ac6d321ee666f006a0c10b991dc8194ae5500e99dc71088",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 210,
      "gen_ai.usage.total_tokens": 254,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "The capital of Germany is Berlin."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "915e921646615ede",
    "trace_id": "35c2b694b78a48b7beefc3f284709e88",
    "parent_span_id": "a3d3df79fbb1b23b",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175611.329,
    "timestamp": 1779175613.858,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.id": "resp_01bece2ff4f4239f006a0c10bb5fe88195bb6940d5f068ece5",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 303,
      "gen_ai.usage.total_tokens": 353,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "3 + 3 equals 6. \n\nWould you like a quick explanation or some more practice problems?"
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/anthropic :: Basic LLM Test (streaming)❗︎ 12843ms
checkAISpanCount(1)
checkChatSpanAttributes
0e351b63gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
0e351b63gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "cc51fad58ee8cf9e",
    "trace_id": "df3f69faf9e2f1b3df771ff361529e8f",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.32.1"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "0e351b632b560d2e",
    "start_timestamp": 1779175605.042,
    "timestamp": 1779175605.8612428,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "dd223c26ff7013b4",
    "trace_id": "df3f69faf9e2f1b3df771ff361529e8f",
    "op": "test",
    "description": "basic-llm-test",
    "start_timestamp": 1779175605.015,
    "timestamp": 1779175605.8649228,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "0e351b632b560d2e",
    "trace_id": "df3f69faf9e2f1b3df771ff361529e8f",
    "parent_span_id": "dd223c26ff7013b4",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175605.019,
    "timestamp": 1779175605.8643727,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_01Cqmeb6PVR8YVANxyWZT1sq",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "gen_ai.response.text": "The capital of France is Paris."
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/anthropic :: Basic LLM Test (blocking)❗︎ 12408ms
checkAISpanCount(1)
checkChatSpanAttributes
acf31d49gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
acf31d49gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "e2851de5ff347fc2",
    "trace_id": "54633c96f6f49c18e632ae89f8f2c7d0",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.32.1"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "acf31d49eca20df1",
    "start_timestamp": 1779175605.244,
    "timestamp": 1779175606.2273772,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "b1d85c0eaecc18ac",
    "trace_id": "54633c96f6f49c18e632ae89f8f2c7d0",
    "op": "test",
    "description": "basic-llm-test",
    "start_timestamp": 1779175605.227,
    "timestamp": 1779175606.230559,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "acf31d49eca20df1",
    "trace_id": "54633c96f6f49c18e632ae89f8f2c7d0",
    "parent_span_id": "b1d85c0eaecc18ac",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175605.229,
    "timestamp": 1779175606.2299628,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.response.id": "msg_012JqzCM9XoReJVDFq2ojKHZ",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/anthropic :: Multi-Turn LLM Test (streaming)❗︎ 14087ms
checkAISpanCount(3)
checkChatSpanAttributes
0891e409gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
0891e409gen_ai.output.messagesMissing output messages attribute
8431c852gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8431c852gen_ai.output.messagesMissing output messages attribute
fa15a395gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
fa15a395gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "span_id": "6fcfe218bf4e2ec0",
    "trace_id": "0c4530c2987f67a9368bb3455a8131e8",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.32.1"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "0891e409d355100e",
    "start_timestamp": 1779175606.816,
    "timestamp": 1779175607.7704794,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "c9d2834775ba9ea5",
    "trace_id": "0c4530c2987f67a9368bb3455a8131e8",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.32.1"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "8431c85284d44731",
    "start_timestamp": 1779175607.776,
    "timestamp": 1779175608.9397688,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "3a0665f4c6352ebc",
    "trace_id": "0c4530c2987f67a9368bb3455a8131e8",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.32.1"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "fa15a395621f7739",
    "start_timestamp": 1779175608.942,
    "timestamp": 1779175609.9492307,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "2defa18340b03df9",
    "trace_id": "0c4530c2987f67a9368bb3455a8131e8",
    "op": "test",
    "description": "multi-turn-llm-test",
    "start_timestamp": 1779175606.796,
    "timestamp": 1779175609.949879,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "0891e409d355100e",
    "trace_id": "0c4530c2987f67a9368bb3455a8131e8",
    "parent_span_id": "2defa18340b03df9",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175606.799,
    "timestamp": 1779175607.7736876,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_01KuqjN44LYfCbXSL4TqoJHv",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "gen_ai.response.text": "The capital of France is Paris."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8431c85284d44731",
    "trace_id": "0c4530c2987f67a9368bb3455a8131e8",
    "parent_span_id": "2defa18340b03df9",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175607.774,
    "timestamp": 1779175608.9402893,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_01K23VW9bN8uhuQs48QkSSxn",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 41,
      "gen_ai.usage.output_tokens": 91,
      "gen_ai.usage.total_tokens": 132,
      "gen_ai.response.text": "The population of Paris varies depending on how you define the city:\n\n- **City proper (Paris municipality)**: approximately 2.1-2.2 million people\n- **Greater Paris (Île-de-France region)**: approximately 12 million people\n\nThe city proper refers to Paris within its administrative boundaries, while the greater metropolitan area includes the surrounding suburbs and is one of the largest metropolitan areas in Europe."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "fa15a395621f7739",
    "trace_id": "0c4530c2987f67a9368bb3455a8131e8",
    "parent_span_id": "2defa18340b03df9",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175608.941,
    "timestamp": 1779175609.949845,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_0146pgorbVLygNWhdSVeKZUg",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 71,
      "gen_ai.usage.output_tokens": 38,
      "gen_ai.usage.total_tokens": 109,
      "gen_ai.response.text": "The Paris metropolitan area (Île-de-France region) has a population of approximately 12 million people, making it one of the largest metropolitan areas in Europe."
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/anthropic :: Multi-Turn LLM Test (blocking)❗︎ 18271ms
checkAISpanCount(3)
checkChatSpanAttributes
a2f921fagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a2f921fagen_ai.output.messagesMissing output messages attribute
09df9aefgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
09df9aefgen_ai.output.messagesMissing output messages attribute
d938cb51gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
d938cb51gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "span_id": "d7e81b2ae7373eff",
    "trace_id": "12fc2c395dbd538b7f5d98607282a0a0",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.32.1"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "a2f921fa0db4cf6c",
    "start_timestamp": 1779175607.119,
    "timestamp": 1779175611.915806,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "03de298467e69263",
    "trace_id": "12fc2c395dbd538b7f5d98607282a0a0",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.32.1"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "09df9aef94177221",
    "start_timestamp": 1779175611.922,
    "timestamp": 1779175613.650181,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "fc04e2d9a4c59105",
    "trace_id": "12fc2c395dbd538b7f5d98607282a0a0",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.32.1"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "d938cb514aa3007a",
    "start_timestamp": 1779175613.653,
    "timestamp": 1779175614.3863297,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "84f9b3e98ae79bc5",
    "trace_id": "12fc2c395dbd538b7f5d98607282a0a0",
    "op": "test",
    "description": "multi-turn-llm-test",
    "start_timestamp": 1779175607.102,
    "timestamp": 1779175614.387486,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "a2f921fa0db4cf6c",
    "trace_id": "12fc2c395dbd538b7f5d98607282a0a0",
    "parent_span_id": "84f9b3e98ae79bc5",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175607.104,
    "timestamp": 1779175611.9194481,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.text": "The capital of France is **Paris**. It is located in the north-central part of the country along the Seine River and is the country's largest city.",
      "gen_ai.response.id": "msg_017UqnA6rSJGL9fT8kcK2i9a",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 36,
      "gen_ai.usage.total_tokens": 56
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "09df9aef94177221",
    "trace_id": "12fc2c395dbd538b7f5d98607282a0a0",
    "parent_span_id": "84f9b3e98ae79bc5",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175611.92,
    "timestamp": 1779175613.651101,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.text": "The population of Paris depends on how you define the city:\n\n- **City of Paris proper**: approximately 2.1 million people\n- **Paris metropolitan area (Île-de-France region)**: approximately 12 million people\n\nThe larger metropolitan area figure is often used when discussing Paris's total population, as many people live in the surrounding suburbs and commute into the city.",
      "gen_ai.response.id": "msg_01LYmS8jeoMdHgoAmDMCtTJg",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 41,
      "gen_ai.usage.output_tokens": 84,
      "gen_ai.usage.total_tokens": 125
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "d938cb514aa3007a",
    "trace_id": "12fc2c395dbd538b7f5d98607282a0a0",
    "parent_span_id": "84f9b3e98ae79bc5",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175613.652,
    "timestamp": 1779175614.387212,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.response.text": "The Paris metropolitan area (Île-de-France region) has a population of approximately 12 million people, making it one of the largest metropolitan areas in Europe.",
      "gen_ai.response.id": "msg_014i8JyqYznGrEs9BZKqGyGE",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 71,
      "gen_ai.usage.output_tokens": 38,
      "gen_ai.usage.total_tokens": 109
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/anthropic :: Vision LLM Test (streaming)❗︎ 11449ms
checkChatSpanAttributes
1d7eaa8cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
1d7eaa8cgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "9a87c3071b1a73c9",
    "trace_id": "64b9783264e16feeaa4451544bedb10a",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.32.1"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "1d7eaa8c7c37f55d",
    "start_timestamp": 1779175609.447,
    "timestamp": 1779175609.9587092,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "8ad049eaf71b4aeb",
    "trace_id": "64b9783264e16feeaa4451544bedb10a",
    "op": "test",
    "description": "vision-llm-test",
    "start_timestamp": 1779175609.429,
    "timestamp": 1779175609.9632568,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "1d7eaa8c7c37f55d",
    "trace_id": "64b9783264e16feeaa4451544bedb10a",
    "parent_span_id": "8ad049eaf71b4aeb",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175609.432,
    "timestamp": 1779175609.9631677,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":[{\"type\":\"text\",\"text\":\"What color is this image? Reply with just the color name.\"},{\"type\":\"image\",\"source\":{\"type\":\"base64\",\"media_type\":\"image/png\",\"data\":\"[Blob substitute]\"}}]}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_01QfNiwJF9BWtz5b1jT4b7Dd",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 38,
      "gen_ai.usage.output_tokens": 4,
      "gen_ai.usage.total_tokens": 42,
      "gen_ai.response.text": "Pink"
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/anthropic :: Vision LLM Test (blocking)❗︎ 11682ms
checkChatSpanAttributes
bdd8982bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bdd8982bgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "753ed157ade28e6e",
    "trace_id": "4994f982b71fb6d76cf8672458a3f106",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.32.1"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "bdd8982b316fea7c",
    "start_timestamp": 1779175610.317,
    "timestamp": 1779175611.0451262,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "1de4b27195717129",
    "trace_id": "4994f982b71fb6d76cf8672458a3f106",
    "op": "test",
    "description": "vision-llm-test",
    "start_timestamp": 1779175610.299,
    "timestamp": 1779175611.048901,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "bdd8982b316fea7c",
    "trace_id": "4994f982b71fb6d76cf8672458a3f106",
    "parent_span_id": "1de4b27195717129",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175610.301,
    "timestamp": 1779175611.0481513,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":[{\"type\":\"text\",\"text\":\"What color is this image? Reply with just the color name.\"},{\"type\":\"image\",\"source\":{\"type\":\"base64\",\"media_type\":\"image/png\",\"data\":\"[Blob substitute]\"}}]}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.text": "Pink",
      "gen_ai.response.id": "msg_01QAKKh7aBwq7f4kMtajPyt1",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 38,
      "gen_ai.usage.output_tokens": 4,
      "gen_ai.usage.total_tokens": 42
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/anthropic :: Long Input LLM Test (streaming)❗︎ 14599ms
checkChatSpanAttributes
415f51d3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
415f51d3gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "f335c0e644f9df70",
    "trace_id": "527c1cc6d53f8706315a6f6c27676b86",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.32.1"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "415f51d38fbd8fdd",
    "start_timestamp": 1779175610.547,
    "timestamp": 1779175614.1632607,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "3513664204382ee6",
    "trace_id": "527c1cc6d53f8706315a6f6c27676b86",
    "op": "test",
    "description": "long-input-llm-test",
    "start_timestamp": 1779175610.523,
    "timestamp": 1779175614.1678393,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "415f51d38fbd8fdd",
    "trace_id": "527c1cc6d53f8706315a6f6c27676b86",
    "parent_span_id": "3513664204382ee6",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175610.526,
    "timestamp": 1779175614.1671283,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_01Y2TCQJaqcUrNWvSYkjnogq",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 5426,
      "gen_ai.usage.output_tokens": 19,
      "gen_ai.usage.total_tokens": 5445,
      "gen_ai.response.text": "This is a test message that is repeated many times to create a long input."
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/anthropic :: Long Input LLM Test (blocking)❗︎ 11690ms
checkChatSpanAttributes
9f180c26gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9f180c26gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "361cc602c05d5140",
    "trace_id": "d278dc7eb4357fffdcf02f7513f96af6",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.32.1"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "9f180c266105c52a",
    "start_timestamp": 1779175610.973,
    "timestamp": 1779175611.6355414,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "74e21e3a99e985aa",
    "trace_id": "d278dc7eb4357fffdcf02f7513f96af6",
    "op": "test",
    "description": "long-input-llm-test",
    "start_timestamp": 1779175610.952,
    "timestamp": 1779175611.6390836,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "9f180c266105c52a",
    "trace_id": "d278dc7eb4357fffdcf02f7513f96af6",
    "parent_span_id": "74e21e3a99e985aa",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175610.955,
    "timestamp": 1779175611.6389077,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.text": "This is a test message repeated many times to create a lengthy input.",
      "gen_ai.response.id": "msg_01PS1Ph9uWBVzKEoKGHF7Yfk",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 5426,
      "gen_ai.usage.output_tokens": 17,
      "gen_ai.usage.total_tokens": 5443
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/anthropic :: Conversation ID LLM Test (streaming)❗︎ 13811ms
checkAISpanCount(4)
checkChatSpanAttributes
fba0c2f9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
fba0c2f9gen_ai.output.messagesMissing output messages attribute
cb8ae0abgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
cb8ae0abgen_ai.output.messagesMissing output messages attribute
b0dae016gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b0dae016gen_ai.output.messagesMissing output messages attribute
ce452f64gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ce452f64gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (9)
[
  {
    "span_id": "772b01daf44b05e4",
    "trace_id": "8b78343a6b1c4c525f8bb37ff261878d",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.32.1"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "fba0c2f9eb11eb9b",
    "start_timestamp": 1779175610.967,
    "timestamp": 1779175611.7231777,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "ee4dca7aca7a8ddd",
    "trace_id": "8b78343a6b1c4c525f8bb37ff261878d",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.32.1"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "cb8ae0ab19f68601",
    "start_timestamp": 1779175611.729,
    "timestamp": 1779175612.6175148,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "1468f13423292ff7",
    "trace_id": "8b78343a6b1c4c525f8bb37ff261878d",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.32.1"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "b0dae01642c86edb",
    "start_timestamp": 1779175612.621,
    "timestamp": 1779175613.0575233,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "e5b27be9749827a4",
    "trace_id": "8b78343a6b1c4c525f8bb37ff261878d",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.32.1"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "ce452f645ee7de41",
    "start_timestamp": 1779175613.059,
    "timestamp": 1779175613.7766864,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "5f1444f5c922aa9b",
    "trace_id": "8b78343a6b1c4c525f8bb37ff261878d",
    "op": "test",
    "description": "conversation-id-llm-test",
    "start_timestamp": 1779175610.947,
    "timestamp": 1779175613.7789667,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "fba0c2f9eb11eb9b",
    "trace_id": "8b78343a6b1c4c525f8bb37ff261878d",
    "parent_span_id": "5f1444f5c922aa9b",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175610.95,
    "timestamp": 1779175611.7268755,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_01ACRekGK8ccFUREBLxxXLgp",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 38,
      "gen_ai.usage.total_tokens": 58,
      "gen_ai.response.text": "The capital of France is **Paris**. It's located in the north-central part of the country along the Seine River and is the largest city in France by population."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "cb8ae0ab19f68601",
    "trace_id": "8b78343a6b1c4c525f8bb37ff261878d",
    "parent_span_id": "5f1444f5c922aa9b",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175611.728,
    "timestamp": 1779175612.61917,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_011LqXcVWp2HfagbUf4w8dWi",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 39,
      "gen_ai.usage.total_tokens": 62,
      "gen_ai.response.text": "2 + 2 = **4**\n\nThis is one of the most fundamental addition facts in mathematics. Two groups of two items combined together make four items total."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b0dae01642c86edb",
    "trace_id": "8b78343a6b1c4c525f8bb37ff261878d",
    "parent_span_id": "5f1444f5c922aa9b",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175612.62,
    "timestamp": 1779175613.0583065,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_013pmCDj4xSFCiKkXQAgPDut",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 37,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 47,
      "gen_ai.response.text": "The capital of Germany is Berlin."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "ce452f645ee7de41",
    "trace_id": "8b78343a6b1c4c525f8bb37ff261878d",
    "parent_span_id": "5f1444f5c922aa9b",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175613.059,
    "timestamp": 1779175613.7785695,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_01WaVDjoKSkQh6ju95S7niKR",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 49,
      "gen_ai.usage.output_tokens": 14,
      "gen_ai.usage.total_tokens": 63,
      "gen_ai.response.text": "3 + 3 equals 6."
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/anthropic :: Conversation ID LLM Test (blocking)❗︎ 13958ms
checkAISpanCount(4)
checkChatSpanAttributes
6726c04cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
6726c04cgen_ai.output.messagesMissing output messages attribute
5457fd37gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
5457fd37gen_ai.output.messagesMissing output messages attribute
b674313dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b674313dgen_ai.output.messagesMissing output messages attribute
e32f8bcfgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
e32f8bcfgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (9)
[
  {
    "span_id": "e166cdeeecb2f33f",
    "trace_id": "240f9bd7d18803261671a3c70c0b0d97",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.32.1"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "6726c04c8463d374",
    "start_timestamp": 1779175611.396,
    "timestamp": 1779175612.297753,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "c8192e15647ee10d",
    "trace_id": "240f9bd7d18803261671a3c70c0b0d97",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.32.1"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "5457fd37e8420623",
    "start_timestamp": 1779175612.306,
    "timestamp": 1779175613.3365307,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "9b5e76eb9c8e6c5c",
    "trace_id": "240f9bd7d18803261671a3c70c0b0d97",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.32.1"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "b674313dc7122845",
    "start_timestamp": 1779175613.339,
    "timestamp": 1779175613.922706,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "19a7cc4494115451",
    "trace_id": "240f9bd7d18803261671a3c70c0b0d97",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.32.1"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "e32f8bcf9ebd4834",
    "start_timestamp": 1779175613.925,
    "timestamp": 1779175614.4000747,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "a91f85b466e104ae",
    "trace_id": "240f9bd7d18803261671a3c70c0b0d97",
    "op": "test",
    "description": "conversation-id-llm-test",
    "start_timestamp": 1779175611.379,
    "timestamp": 1779175614.4012434,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "6726c04c8463d374",
    "trace_id": "240f9bd7d18803261671a3c70c0b0d97",
    "parent_span_id": "a91f85b466e104ae",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175611.381,
    "timestamp": 1779175612.3024013,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.response.id": "msg_01JGUumLYaiWxat5hTLaGP7W",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "5457fd37e8420623",
    "trace_id": "240f9bd7d18803261671a3c70c0b0d97",
    "parent_span_id": "a91f85b466e104ae",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175612.304,
    "timestamp": 1779175613.3374598,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.text": "2 + 2 = **4**\n\nThis is a basic addition problem. When you combine 2 groups of 1 with another 2 groups of 1, you get a total of 4 groups of 1.",
      "gen_ai.response.id": "msg_01LxY1pD3TtyvVwo7dWcJoCC",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 56,
      "gen_ai.usage.total_tokens": 79
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b674313dc7122845",
    "trace_id": "240f9bd7d18803261671a3c70c0b0d97",
    "parent_span_id": "a91f85b466e104ae",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175613.338,
    "timestamp": 1779175613.9237,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.text": "The capital of Germany is Berlin.",
      "gen_ai.response.id": "msg_01HUxoTSRQTwmUCs7mr28umL",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 37,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 47
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "e32f8bcf9ebd4834",
    "trace_id": "240f9bd7d18803261671a3c70c0b0d97",
    "parent_span_id": "a91f85b466e104ae",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175613.924,
    "timestamp": 1779175614.4010985,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.text": "3 + 3 equals 6.",
      "gen_ai.response.id": "msg_0117TAXRkbx5iyUCV6EvKzXR",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 49,
      "gen_ai.usage.output_tokens": 14,
      "gen_ai.usage.total_tokens": 63
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/google-genai :: Basic LLM Test (streaming)❗︎ 11757ms
checkAISpanCount(1)
checkChatSpanAttributes
14a53399gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
14a53399gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "46150284d96f0afc",
    "trace_id": "9903fe5b3a6e1a9e7e1d67ba6e790254",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "url.query": "?alt=sse",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "192.178.155.95",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "parent_span_id": "14a53399e54075b8",
    "start_timestamp": 1779175612.26,
    "timestamp": 1779175612.7625911,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "58e534b1ec78fd80",
    "trace_id": "9903fe5b3a6e1a9e7e1d67ba6e790254",
    "op": "test",
    "description": "basic-llm-test",
    "start_timestamp": 1779175612.221,
    "timestamp": 1779175612.7675302,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "14a53399e54075b8",
    "trace_id": "9903fe5b3a6e1a9e7e1d67ba6e790254",
    "parent_span_id": "58e534b1ec78fd80",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175612.223,
    "timestamp": 1779175612.7668393,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is the capital of France?\"}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "vBAMaq-PGLLH-8YPjcLPyQY",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "The capital of France is **Paris**."
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/google-genai :: Basic LLM Test (blocking)❗︎ 1 1⚠︎ 11911ms
checkAISpanCount(1)
checkChatSpanAttributes
01a7317egen_ai.usage.input_tokensSpan 01a7317e: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
01a7317egen_ai.usage.output_tokensSpan 01a7317e: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkValidTokenUsage
01a7317egen_ai.usage.input_tokensinput_tokens must exist
01a7317egen_ai.usage.output_tokensoutput_tokens must exist
01a7317egen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
01a7317egen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "11aa0c2d98a63967",
    "trace_id": "2e3a2346a620852bbc6420682ae41c61",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "192.178.155.95",
      "network.peer.port": 443,
      "http.response.status_code": 503,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "parent_span_id": "01a7317e3dc22026",
    "start_timestamp": 1779175612.265,
    "timestamp": 1779175613.0955153,
    "status": "unavailable",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "90941a901d9b5e19",
    "trace_id": "2e3a2346a620852bbc6420682ae41c61",
    "op": "test",
    "description": "basic-llm-test",
    "start_timestamp": 1779175612.226,
    "timestamp": 1779175613.1075542,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "01a7317e3dc22026",
    "trace_id": "2e3a2346a620852bbc6420682ae41c61",
    "parent_span_id": "90941a901d9b5e19",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175612.23,
    "timestamp": 1779175613.1071398,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is the capital of France?\"}]}]"
    },
    "status": "error",
    "is_segment": false
  }
]
nextjs/google-genai :: Multi-Turn LLM Test (streaming)❗︎ 119148ms
checkAISpanCount(3)
checkChatSpanAttributes
ae11543egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ae11543egen_ai.output.messagesMissing output messages attribute
b311ef43gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b311ef43gen_ai.output.messagesMissing output messages attribute
78ac24b7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
78ac24b7gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "span_id": "08338f7f1a939931",
    "trace_id": "5c01762c992647d682dc608fd05ecd97",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "url.query": "?alt=sse",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "192.178.155.95",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "parent_span_id": "ae11543e3d8a0696",
    "start_timestamp": 1779175612.727,
    "timestamp": 1779175628.2459104,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "099c96052aadfcb4",
    "trace_id": "5c01762c992647d682dc608fd05ecd97",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "url.query": "?alt=sse",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "172.253.122.95",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "parent_span_id": "b311ef43720ae9b7",
    "start_timestamp": 1779175628.25,
    "timestamp": 1779175630.0923111,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "4f6b25152e26191d",
    "trace_id": "5c01762c992647d682dc608fd05ecd97",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "url.query": "?alt=sse",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "192.178.155.95",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "parent_span_id": "78ac24b72a5166f0",
    "start_timestamp": 1779175630.095,
    "timestamp": 1779175630.7758603,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "6446331b2e387129",
    "trace_id": "5c01762c992647d682dc608fd05ecd97",
    "op": "test",
    "description": "multi-turn-llm-test",
    "start_timestamp": 1779175612.697,
    "timestamp": 1779175630.7765014,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "ae11543e3d8a0696",
    "trace_id": "5c01762c992647d682dc608fd05ecd97",
    "parent_span_id": "6446331b2e387129",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175612.699,
    "timestamp": 1779175628.2484078,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is the capital of France?\"}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "vBAMarzuM83ojrEPgOSakAc",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "The capital of France is **Paris**."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b311ef43720ae9b7",
    "trace_id": "5c01762c992647d682dc608fd05ecd97",
    "parent_span_id": "6446331b2e387129",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175628.249,
    "timestamp": 1779175630.0928645,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is the population of that city?\"}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "zBAMavmKFdLljMcPj8fokQo",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 32,
      "gen_ai.usage.output_tokens": 199,
      "gen_ai.usage.total_tokens": 231,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "The population of Paris is approximately **2.1 million people** within the city limits as of recent estimates.\n\nHowever, it's important to note that this number can vary depending on how you define \"Paris\":\n\n*   **City Proper (Commune de Paris):** This refers to the administrative boundaries of Paris, which is around 2.1 million people.\n*   **Urban Area (Agglomération Parisienne):** This includes the city and its surrounding suburbs that are continuously built-up and economically integrated. This figure is much larger, often estimated to be around **10-11 million people**.\n*   **Metropolitan Area (Aire d'attraction de Paris):** This is an even broader definition that includes the urban area plus surrounding commuter towns and regions. This can be over **13 million people**.\n\nSo, while 2.1 million is the answer for the city itself, the larger metropolitan region is significantly more populous."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "78ac24b72a5166f0",
    "trace_id": "5c01762c992647d682dc608fd05ecd97",
    "parent_span_id": "6446331b2e387129",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175630.093,
    "timestamp": 1779175630.7755144,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What about the metropolitan area?\"}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "zhAMaonIDdfX_uMPuaDRYQ",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 57,
      "gen_ai.usage.output_tokens": 45,
      "gen_ai.usage.total_tokens": 102,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "The population of the Paris metropolitan area is significantly larger, estimated to be around **11.2 million people**.\n\nThis includes the city itself and its surrounding suburbs, which are economically and socially integrated with the city center."
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/google-genai :: Multi-Turn LLM Test (blocking)❗︎ 14968ms
checkAISpanCount(3)
checkChatSpanAttributes
ac2ceed9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ac2ceed9gen_ai.output.messagesMissing output messages attribute
172545c5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
172545c5gen_ai.output.messagesMissing output messages attribute
e317e460gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
e317e460gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "span_id": "10c13064e51b7706",
    "trace_id": "5a2345a30ea80aec831369af718eabf8",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "64.233.180.95",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "parent_span_id": "ac2ceed95409ae77",
    "start_timestamp": 1779175612.882,
    "timestamp": 1779175614.1180894,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "a627029d756933b3",
    "trace_id": "5a2345a30ea80aec831369af718eabf8",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "64.233.180.95",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "parent_span_id": "172545c5e248ee20",
    "start_timestamp": 1779175614.123,
    "timestamp": 1779175615.2592866,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "5e82a2574ea038c8",
    "trace_id": "5a2345a30ea80aec831369af718eabf8",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "64.233.180.95",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "parent_span_id": "e317e460013d852e",
    "start_timestamp": 1779175615.266,
    "timestamp": 1779175616.6736486,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "a9307cca22dd3341",
    "trace_id": "5a2345a30ea80aec831369af718eabf8",
    "op": "test",
    "description": "multi-turn-llm-test",
    "start_timestamp": 1779175612.856,
    "timestamp": 1779175616.678962,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "ac2ceed95409ae77",
    "trace_id": "5a2345a30ea80aec831369af718eabf8",
    "parent_span_id": "a9307cca22dd3341",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175612.858,
    "timestamp": 1779175614.1210105,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is the capital of France?\"}]}]",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "gen_ai.response.text": "The capital of France is **Paris**."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "172545c5e248ee20",
    "trace_id": "5a2345a30ea80aec831369af718eabf8",
    "parent_span_id": "a9307cca22dd3341",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175614.122,
    "timestamp": 1779175615.261977,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is the population of that city?\"}]}]",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 32,
      "gen_ai.usage.output_tokens": 65,
      "gen_ai.usage.total_tokens": 97,
      "gen_ai.response.text": "The population of Paris is estimated to be around **2.1 million people** within the city limits (Ville de Paris) as of recent estimates.\n\nHowever, if you consider the larger **Paris metropolitan area** (which includes the suburbs), the population is significantly higher, often cited as over **11 million people**."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "e317e460013d852e",
    "trace_id": "5a2345a30ea80aec831369af718eabf8",
    "parent_span_id": "a9307cca22dd3341",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175615.263,
    "timestamp": 1779175616.6781814,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What about the metropolitan area?\"}]}]",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 57,
      "gen_ai.usage.output_tokens": 37,
      "gen_ai.usage.total_tokens": 94,
      "gen_ai.response.text": "The metropolitan area of Paris, also known as the Paris **aire d'attraction**, has a much larger population. It's estimated to be around **13 million people**."
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/google-genai :: Vision LLM Test (streaming)❗︎ 11808ms
checkChatSpanAttributes
dd301f5fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
dd301f5fgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "a0242e5ec890c430",
    "trace_id": "9eaf0c426537c4bd4f4a97692432701c",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "url.query": "?alt=sse",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "172.253.122.95",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "parent_span_id": "dd301f5fffa39004",
    "start_timestamp": 1779175614.198,
    "timestamp": 1779175614.7910602,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "1a9796eea503ed3d",
    "trace_id": "9eaf0c426537c4bd4f4a97692432701c",
    "op": "test",
    "description": "vision-llm-test",
    "start_timestamp": 1779175614.16,
    "timestamp": 1779175614.8000202,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "dd301f5fffa39004",
    "trace_id": "9eaf0c426537c4bd4f4a97692432701c",
    "parent_span_id": "1a9796eea503ed3d",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175614.163,
    "timestamp": 1779175614.799859,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What color is this image? Reply with just the color name.\"},{\"inlineData\":{\"mimeType\":\"image/png\",\"data\":\"[Blob substitute]\"}}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "vhAMauH6EuXLjMcPvOfViQE",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 286,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 287,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "Coral"
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/google-genai :: Vision LLM Test (blocking)❗︎ 11782ms
checkChatSpanAttributes
aca28de1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
aca28de1gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "8c8cb051cdb27add",
    "trace_id": "76b36396078d921d6746b62c2dc10e9a",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "172.253.63.95",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "parent_span_id": "aca28de18bae6436",
    "start_timestamp": 1779175614.944,
    "timestamp": 1779175615.5118747,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "c264405b7fa25551",
    "trace_id": "76b36396078d921d6746b62c2dc10e9a",
    "op": "test",
    "description": "vision-llm-test",
    "start_timestamp": 1779175614.876,
    "timestamp": 1779175615.517266,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "aca28de18bae6436",
    "trace_id": "76b36396078d921d6746b62c2dc10e9a",
    "parent_span_id": "c264405b7fa25551",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175614.886,
    "timestamp": 1779175615.5168977,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What color is this image? Reply with just the color name.\"},{\"inlineData\":{\"mimeType\":\"image/png\",\"data\":\"[Blob substitute]\"}}]}]",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 286,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 287,
      "gen_ai.response.text": "Coral"
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/google-genai :: Long Input LLM Test (streaming)❗︎ 11941ms
checkChatSpanAttributes
1777708fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
1777708fgen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "3a27c4a5fdc7b1af",
    "trace_id": "272ab270f332206f366c07c471fe3969",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "url.query": "?alt=sse",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "142.251.179.95",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "parent_span_id": "1777708f78f9ff19",
    "start_timestamp": 1779175615.062,
    "timestamp": 1779175615.8101838,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "fcb7bd98e3aef168",
    "trace_id": "272ab270f332206f366c07c471fe3969",
    "op": "test",
    "description": "long-input-llm-test",
    "start_timestamp": 1779175615.005,
    "timestamp": 1779175615.8131952,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "1777708f78f9ff19",
    "trace_id": "272ab270f332206f366c07c471fe3969",
    "parent_span_id": "fcb7bd98e3aef168",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175615.008,
    "timestamp": 1779175615.8125582,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be rep\"}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "vxAMarGWDOyOjMcPlq_iOQ",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 5419,
      "gen_ai.usage.output_tokens": 17,
      "gen_ai.usage.total_tokens": 5436,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "This is a test message that is repeated many times to create a very long input."
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/google-genai :: Long Input LLM Test (blocking)❗︎ 12185ms
checkChatSpanAttributes
86fd7257gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
86fd7257gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "eae2151049c28405",
    "trace_id": "f9616f12d1673a5b58cb46e13681ef7e",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "172.253.63.95",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "parent_span_id": "86fd7257c3307105",
    "start_timestamp": 1779175615.266,
    "timestamp": 1779175616.134236,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "75e8036d05fd4dee",
    "trace_id": "f9616f12d1673a5b58cb46e13681ef7e",
    "op": "test",
    "description": "long-input-llm-test",
    "start_timestamp": 1779175615.22,
    "timestamp": 1779175616.141184,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "86fd7257c3307105",
    "trace_id": "f9616f12d1673a5b58cb46e13681ef7e",
    "parent_span_id": "75e8036d05fd4dee",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175615.223,
    "timestamp": 1779175616.1403975,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be rep\"}]}]",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 5419,
      "gen_ai.usage.output_tokens": 17,
      "gen_ai.usage.total_tokens": 5436,
      "gen_ai.response.text": "This input consists of the same test message repeated numerous times to achieve a substantial length."
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/google-genai :: Conversation ID LLM Test (streaming)❗︎ 119230ms
checkAISpanCount(4)
checkChatSpanAttributes
83a215ecgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
83a215ecgen_ai.output.messagesMissing output messages attribute
8b379f9egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8b379f9egen_ai.output.messagesMissing output messages attribute
384a7b09gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
384a7b09gen_ai.output.messagesMissing output messages attribute
5bd7a9dfgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
5bd7a9dfgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (9)
[
  {
    "span_id": "0e4beda34a0b3568",
    "trace_id": "0d756c58c4784b8ddf2d622c27292678",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "url.query": "?alt=sse",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "172.253.122.95",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "parent_span_id": "83a215ec2fe51802",
    "start_timestamp": 1779175615.396,
    "timestamp": 1779175622.2376938,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "026f12fdbece5938",
    "trace_id": "0d756c58c4784b8ddf2d622c27292678",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "url.query": "?alt=sse",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "172.253.122.95",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "parent_span_id": "8b379f9e5c3b7d3a",
    "start_timestamp": 1779175622.25,
    "timestamp": 1779175626.4253044,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "c114a1fe75078c86",
    "trace_id": "0d756c58c4784b8ddf2d622c27292678",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "url.query": "?alt=sse",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "142.251.167.95",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "parent_span_id": "384a7b09c97d7c9f",
    "start_timestamp": 1779175626.428,
    "timestamp": 1779175629.2302592,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "276d67dc4c0d2128",
    "trace_id": "0d756c58c4784b8ddf2d622c27292678",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "url.query": "?alt=sse",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "172.253.122.95",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "parent_span_id": "5bd7a9df366e8a31",
    "start_timestamp": 1779175629.232,
    "timestamp": 1779175633.3949113,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "2e87eadb0fe2e6e3",
    "trace_id": "0d756c58c4784b8ddf2d622c27292678",
    "op": "test",
    "description": "conversation-id-llm-test",
    "start_timestamp": 1779175615.357,
    "timestamp": 1779175633.3952448,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "83a215ec2fe51802",
    "trace_id": "0d756c58c4784b8ddf2d622c27292678",
    "parent_span_id": "2e87eadb0fe2e6e3",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175615.36,
    "timestamp": 1779175622.2470598,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is the capital of France?\"}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "vxAMavPWH8P1jMcPo9eniQQ",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "The capital of France is **Paris**."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8b379f9e5c3b7d3a",
    "trace_id": "0d756c58c4784b8ddf2d622c27292678",
    "parent_span_id": "2e87eadb0fe2e6e3",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175622.248,
    "timestamp": 1779175626.4255958,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is 2 + 2?\"}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "xhAMarvkFbbQjMcP-aHVKA",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 16,
      "gen_ai.usage.output_tokens": 7,
      "gen_ai.usage.total_tokens": 23,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "2 + 2 = 4"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "384a7b09c97d7c9f",
    "trace_id": "0d756c58c4784b8ddf2d622c27292678",
    "parent_span_id": "2e87eadb0fe2e6e3",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175626.427,
    "timestamp": 1779175629.231141,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What about Germany?\"}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "yhAMapn8H8DV_uMPh4rwyQM",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 28,
      "gen_ai.usage.output_tokens": 7,
      "gen_ai.usage.total_tokens": 35,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "The capital of Germany is Berlin."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "5bd7a9df366e8a31",
    "trace_id": "0d756c58c4784b8ddf2d622c27292678",
    "parent_span_id": "2e87eadb0fe2e6e3",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175629.231,
    "timestamp": 1779175633.3953867,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What about 3 + 3?\"}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "zRAMaoOCE8ugjMcPz5fJmQM",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 34,
      "gen_ai.usage.output_tokens": 7,
      "gen_ai.usage.total_tokens": 41,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "3 + 3 equals 6."
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/google-genai :: Conversation ID LLM Test (blocking)❗︎ 1 1⚠︎ 110933ms
checkAISpanCount(4)
checkChatSpanAttributes
3a22f1bdgen_ai.usage.input_tokensSpan 3a22f1bd: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
3a22f1bdgen_ai.usage.output_tokensSpan 3a22f1bd: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
3a22f1bdgen_ai.usage.input_tokensinput_tokens must exist
3a22f1bdgen_ai.usage.output_tokensoutput_tokens must exist
3a22f1bdgen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
3a22f1bdgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (9)
[
  {
    "span_id": "f618e841128054ac",
    "trace_id": "a5b72e0a4411e27ff9067031769b7b97",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "142.251.111.95",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "parent_span_id": "b93389216413c14d",
    "start_timestamp": 1779175615.665,
    "timestamp": 1779175616.226742,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "25acc1e83c37b646",
    "trace_id": "a5b72e0a4411e27ff9067031769b7b97",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "142.251.111.95",
      "network.peer.port": 443,
      "http.response.status_code": 503,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "parent_span_id": "3a22f1bdeb1c4b87",
    "start_timestamp": 1779175616.237,
    "timestamp": 1779175622.6569254,
    "status": "unavailable",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "99aee7b2d493c97e",
    "trace_id": "a5b72e0a4411e27ff9067031769b7b97",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "142.251.111.95",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "parent_span_id": "18124c03b293832d",
    "start_timestamp": 1779175622.672,
    "timestamp": 1779175624.8116102,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "7083f9a56a40ec18",
    "trace_id": "a5b72e0a4411e27ff9067031769b7b97",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "142.251.111.95",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "parent_span_id": "38243278b4ddc2fc",
    "start_timestamp": 1779175624.815,
    "timestamp": 1779175625.3222563,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "7ea6d2edde1dba81",
    "trace_id": "a5b72e0a4411e27ff9067031769b7b97",
    "op": "test",
    "description": "conversation-id-llm-test",
    "start_timestamp": 1779175615.627,
    "timestamp": 1779175625.3242998,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "b93389216413c14d",
    "trace_id": "a5b72e0a4411e27ff9067031769b7b97",
    "parent_span_id": "7ea6d2edde1dba81",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175615.63,
    "timestamp": 1779175616.2344527,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is the capital of France?\"}]}]",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "gen_ai.response.text": "The capital of France is **Paris**."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "3a22f1bdeb1c4b87",
    "trace_id": "a5b72e0a4411e27ff9067031769b7b97",
    "parent_span_id": "7ea6d2edde1dba81",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175616.235,
    "timestamp": 1779175622.6677597,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is 2 + 2?\"}]}]"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "18124c03b293832d",
    "trace_id": "a5b72e0a4411e27ff9067031769b7b97",
    "parent_span_id": "7ea6d2edde1dba81",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175622.669,
    "timestamp": 1779175624.8133545,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What about Germany?\"}]}]",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 28,
      "gen_ai.usage.output_tokens": 7,
      "gen_ai.usage.total_tokens": 35,
      "gen_ai.response.text": "The capital of Germany is Berlin."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "38243278b4ddc2fc",
    "trace_id": "a5b72e0a4411e27ff9067031769b7b97",
    "parent_span_id": "7ea6d2edde1dba81",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175624.814,
    "timestamp": 1779175625.324213,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What about 3 + 3?\"}]}]",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 34,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 42,
      "gen_ai.response.text": "3 + 3 equals 6."
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/langchain :: Basic LLM Test (streaming, openai)❗︎ 13286ms
checkAISpanCount(1)
checkChatSpanAttributes
007bd972gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
007bd972gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(1 span)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (3)
[
  {
    "span_id": "f5af1f8e5cd59c70",
    "trace_id": "8905e890801afead1d5c6e28785519ca",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.path": "/v1/chat/completions",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.openai.com",
      "server.port": 443,
      "user_agent.original": "langchainjs-openai/1.0.0 ((node/v24.15.0; linux; x64))",
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.openai.com/v1/chat/completions",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "9ecaf29b5f8103a9",
    "start_timestamp": 1779175616.378,
    "timestamp": 1779175617.4419878,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "9ecaf29b5f8103a9",
    "trace_id": "8905e890801afead1d5c6e28785519ca",
    "op": "test",
    "description": "basic-llm-test",
    "start_timestamp": 1779175616.293,
    "timestamp": 1779175617.4531446,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "007bd97260e6926c",
    "trace_id": "8905e890801afead1d5c6e28785519ca",
    "parent_span_id": "9ecaf29b5f8103a9",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175616.308,
    "timestamp": 1779175617.4520755,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris\"]",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 74,
      "gen_ai.usage.total_tokens": 97,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.id": "chatcmpl-Dh98qLp6WwuR8D8EgNJcwM80e5HGM",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/langchain :: Basic LLM Test (streaming, anthropic)❗︎ 1 1⚠︎ 12232ms
checkAISpanCount(1)
checkChatSpanAttributes
795c751bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
795c751bgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
795c751bgen_ai.usage.input_tokensinput_tokens must be > 0 but is 0
checkInputMessagesSchema
checkResponseModel
795c751bgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "db071f537e1993c4",
    "trace_id": "26d4d1b574ae3d3700196ca448482079",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.path": "/v1/messages",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.anthropic.com",
      "server.port": 443,
      "user_agent.original": "Anthropic/JS 0.91.1",
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.anthropic.com/v1/messages",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "35e27283c9c7a622",
    "start_timestamp": 1779175616.403,
    "timestamp": 1779175616.999043,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "35e27283c9c7a622",
    "trace_id": "26d4d1b574ae3d3700196ca448482079",
    "op": "test",
    "description": "basic-llm-test",
    "start_timestamp": 1779175616.348,
    "timestamp": 1779175617.0173,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "795c751baaa63566",
    "trace_id": "26d4d1b574ae3d3700196ca448482079",
    "parent_span_id": "35e27283c9c7a622",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175616.357,
    "timestamp": 1779175617.0165963,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 16384,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.response.text": "[\"The capital of France is Paris.\"]",
      "gen_ai.usage.input_tokens": 0,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 10,
      "gen_ai.response.id": "msg_01JvhfT7SBKHXZ3tuWkFXjuQ"
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/langchain :: Basic LLM Test (blocking, openai)❗︎ 13688ms
checkAISpanCount(1)
checkChatSpanAttributes
2a279cd9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
2a279cd9gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(1 span)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (3)
[
  {
    "span_id": "1e5d29c67eefc614",
    "trace_id": "aa8c766c4d06adb63edf09b24289ba62",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.path": "/v1/chat/completions",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.openai.com",
      "server.port": 443,
      "user_agent.original": "langchainjs-openai/1.0.0 ((node/v24.15.0; linux; x64))",
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.openai.com/v1/chat/completions",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "a0139fdb3cb6ce0a",
    "start_timestamp": 1779175617.712,
    "timestamp": 1779175619.1724687,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "a0139fdb3cb6ce0a",
    "trace_id": "aa8c766c4d06adb63edf09b24289ba62",
    "op": "test",
    "description": "basic-llm-test",
    "start_timestamp": 1779175617.593,
    "timestamp": 1779175619.206575,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "2a279cd919e6c275",
    "trace_id": "aa8c766c4d06adb63edf09b24289ba62",
    "parent_span_id": "a0139fdb3cb6ce0a",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175617.62,
    "timestamp": 1779175619.206469,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris.\"]",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 139,
      "gen_ai.usage.total_tokens": 162,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.id": "chatcmpl-Dh98rFiH77MR7fKuD1CILAvag54BH",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/langchain :: Basic LLM Test (blocking, anthropic)❗︎ 13619ms
checkAISpanCount(1)
checkChatSpanAttributes
0035e5cdgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
0035e5cdgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(1 span)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
gen_ai.usage.cache_creation_input_tokens(1 span)
Attribute "gen_ai.usage.cache_creation_input_tokens" is not defined in sentry-conventions
gen_ai.usage.cache_read_input_tokens(1 span)
Attribute "gen_ai.usage.cache_read_input_tokens" is not defined in sentry-conventions
{}Captured Spans (3)
[
  {
    "span_id": "281e55520085abee",
    "trace_id": "1356dd2292c5c9db631513c5eb207e35",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.path": "/v1/messages",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.anthropic.com",
      "server.port": 443,
      "user_agent.original": "Anthropic/JS 0.91.1",
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.anthropic.com/v1/messages",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "ee46cca16c63698b",
    "start_timestamp": 1779175617.91,
    "timestamp": 1779175619.3492298,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "ee46cca16c63698b",
    "trace_id": "1356dd2292c5c9db631513c5eb207e35",
    "op": "test",
    "description": "basic-llm-test",
    "start_timestamp": 1779175617.786,
    "timestamp": 1779175619.355558,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "0035e5cd8f52faf3",
    "trace_id": "1356dd2292c5c9db631513c5eb207e35",
    "parent_span_id": "ee46cca16c63698b",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175617.827,
    "timestamp": 1779175619.3553183,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 16384,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.response.text": "[\"The capital of France is Paris.\"]",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "gen_ai.usage.cache_creation_input_tokens": 0,
      "gen_ai.usage.cache_read_input_tokens": 0,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_01Uoe66vQrb1GyDB2QbfZqch",
      "gen_ai.response.stop_reason": "end_turn"
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/langchain :: Multi-Turn LLM Test (streaming, openai)❗︎ 119404ms
checkAISpanCount(3)
checkChatSpanAttributes
008caa3egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
008caa3egen_ai.output.messagesMissing output messages attribute
491d95a1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
491d95a1gen_ai.output.messagesMissing output messages attribute
42796c69gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
42796c69gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(3 spans)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (7)
[
  {
    "span_id": "7fe758c4e662bba3",
    "trace_id": "52faefdb30bc100eda9d777111ac87f7",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.path": "/v1/chat/completions",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.openai.com",
      "server.port": 443,
      "user_agent.original": "langchainjs-openai/1.0.0 ((node/v24.15.0; linux; x64))",
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.openai.com/v1/chat/completions",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "da29d178656d30b2",
    "start_timestamp": 1779175618.114,
    "timestamp": 1779175619.1050224,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "5468a75b22a40962",
    "trace_id": "52faefdb30bc100eda9d777111ac87f7",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.path": "/v1/chat/completions",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.openai.com",
      "server.port": 443,
      "user_agent.original": "langchainjs-openai/1.0.0 ((node/v24.15.0; linux; x64))",
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.openai.com/v1/chat/completions",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "da29d178656d30b2",
    "start_timestamp": 1779175619.118,
    "timestamp": 1779175623.8124404,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "744db48c597ae944",
    "trace_id": "52faefdb30bc100eda9d777111ac87f7",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.path": "/v1/chat/completions",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.openai.com",
      "server.port": 443,
      "user_agent.original": "langchainjs-openai/1.0.0 ((node/v24.15.0; linux; x64))",
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.openai.com/v1/chat/completions",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "da29d178656d30b2",
    "start_timestamp": 1779175623.826,
    "timestamp": 1779175635.2317312,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "da29d178656d30b2",
    "trace_id": "52faefdb30bc100eda9d777111ac87f7",
    "op": "test",
    "description": "multi-turn-llm-test",
    "start_timestamp": 1779175618.025,
    "timestamp": 1779175635.233098,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "008caa3e2e57c0b6",
    "trace_id": "52faefdb30bc100eda9d777111ac87f7",
    "parent_span_id": "da29d178656d30b2",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175618.052,
    "timestamp": 1779175619.1111677,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris.\"]",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 75,
      "gen_ai.usage.total_tokens": 98,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.id": "chatcmpl-Dh98stOHVE1EmLsD2VkLCrYJN5k6z",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "491d95a1b221823a",
    "trace_id": "52faefdb30bc100eda9d777111ac87f7",
    "parent_span_id": "da29d178656d30b2",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175619.116,
    "timestamp": 1779175623.8135934,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris city proper (the commune) has about 2.1 million residents.\\n\\nIf you mean the broader areas:\\n- Paris urban area (the Paris agglomeration): around 12 million people.\\n- Île-de-France region (greater Paris metro area): about 12–13 million people.\\n\\nIf you want exact latest figures, tell me which definition you want (city proper, urban area, or region) and I’ll give the precise numbers with year and source.\"]",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 1640,
      "gen_ai.usage.total_tokens": 1688,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.id": "chatcmpl-Dh98tEWAX56ZldFw10r3ebe1aLY1u",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "42796c699ce6dff8",
    "trace_id": "52faefdb30bc100eda9d777111ac87f7",
    "parent_span_id": "da29d178656d30b2",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175623.824,
    "timestamp": 1779175635.2323663,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"“Metropolitan area” can mean a few different things. Here are the two most common definitions for Paris, with approximate figures:\\n\\n- Paris urban area (aire urbaine): about 12 to 12.5 million people. This is the city plus its commuting/contiguous urban fringe.\\n- Île-de-France region (the administrative region around Paris): about 12 to 13 million people. This is the broader regional population, not just the city.\\n\\nAs a side note, the Métropole du Grand Paris (the intercommunal structure of inner suburbs) has around 7 million people across its municipalities.\\n\\nIf you tell me which definition you’re interested in (and the year), I can give a more precise figure.\"]",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 2078,
      "gen_ai.usage.total_tokens": 2159,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.id": "chatcmpl-Dh98ymLAKw4cTotBply5cKzgLEFcs",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/langchain :: Multi-Turn LLM Test (streaming, anthropic)❗︎ 1 1⚠︎ 14761ms
checkAISpanCount(3)
checkChatSpanAttributes
0b1eb3a4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
0b1eb3a4gen_ai.output.messagesMissing output messages attribute
dd04a771gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
dd04a771gen_ai.output.messagesMissing output messages attribute
07b72bd3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
07b72bd3gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
0b1eb3a4gen_ai.usage.input_tokensinput_tokens must be > 0 but is 0
checkInputMessagesSchema
checkResponseModel
0b1eb3a4gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
dd04a771gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
07b72bd3gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "span_id": "5bdb8b443e47c1a2",
    "trace_id": "bb84e7e4fa8dfb750a0b1c96f82b7811",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.path": "/v1/messages",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.anthropic.com",
      "server.port": 443,
      "user_agent.original": "Anthropic/JS 0.91.1",
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.anthropic.com/v1/messages",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "b277eabdfb97f097",
    "start_timestamp": 1779175617.92,
    "timestamp": 1779175618.6838565,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "b9f0926757a0ae42",
    "trace_id": "bb84e7e4fa8dfb750a0b1c96f82b7811",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.path": "/v1/messages",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.anthropic.com",
      "server.port": 443,
      "user_agent.original": "Anthropic/JS 0.91.1",
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.anthropic.com/v1/messages",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "b277eabdfb97f097",
    "start_timestamp": 1779175618.701,
    "timestamp": 1779175619.9690466,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "d658422f31b7566f",
    "trace_id": "bb84e7e4fa8dfb750a0b1c96f82b7811",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.path": "/v1/messages",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.anthropic.com",
      "server.port": 443,
      "user_agent.original": "Anthropic/JS 0.91.1",
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.anthropic.com/v1/messages",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "b277eabdfb97f097",
    "start_timestamp": 1779175619.982,
    "timestamp": 1779175620.6470418,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "b277eabdfb97f097",
    "trace_id": "bb84e7e4fa8dfb750a0b1c96f82b7811",
    "op": "test",
    "description": "multi-turn-llm-test",
    "start_timestamp": 1779175617.789,
    "timestamp": 1779175620.6558235,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "0b1eb3a4693e5561",
    "trace_id": "bb84e7e4fa8dfb750a0b1c96f82b7811",
    "parent_span_id": "b277eabdfb97f097",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175617.814,
    "timestamp": 1779175618.6899743,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 16384,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.response.text": "[\"The capital of France is **Paris**. It is located in the north-central part of the country along the Seine River and is the largest city in France by population.\"]",
      "gen_ai.usage.input_tokens": 0,
      "gen_ai.usage.output_tokens": 38,
      "gen_ai.usage.total_tokens": 38,
      "gen_ai.response.id": "msg_01YcGPxVwgjh4jnX3bGmFQXX"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "dd04a7711bc0b1f1",
    "trace_id": "bb84e7e4fa8dfb750a0b1c96f82b7811",
    "parent_span_id": "b277eabdfb97f097",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175618.697,
    "timestamp": 1779175619.9779634,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 16384,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]",
      "gen_ai.response.text": "[\"Paris has a population of approximately 2.1-2.2 million people within the city proper (the administrative boundaries of Paris itself).\\n\\nHowever, the greater Paris metropolitan area (Île-de-France region) has a much larger population of around 12 million people, making it one of the largest metropolitan areas in Europe.\\n\\nThe exact figures can vary depending on the source and when the data was collected, but these are the current estimates.\"]",
      "gen_ai.usage.input_tokens": 0,
      "gen_ai.usage.output_tokens": 97,
      "gen_ai.usage.total_tokens": 97,
      "gen_ai.response.id": "msg_01RkRcfhPUe4Zp448AvR5Nxd"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "07b72bd307965eaf",
    "trace_id": "bb84e7e4fa8dfb750a0b1c96f82b7811",
    "parent_span_id": "b277eabdfb97f097",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175619.98,
    "timestamp": 1779175620.6546977,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 16384,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]",
      "gen_ai.response.text": "[\"The metropolitan area of Paris (known as the Île-de-France region) has a population of approximately 12 million people, making it one of the largest metropolitan areas in Europe.\"]",
      "gen_ai.usage.input_tokens": 0,
      "gen_ai.usage.output_tokens": 42,
      "gen_ai.usage.total_tokens": 42,
      "gen_ai.response.id": "msg_019QXKvBuACMTNNDdN2YcU7H"
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/langchain :: Multi-Turn LLM Test (blocking, openai)❗︎ 116408ms
checkAISpanCount(3)
checkChatSpanAttributes
71dc9045gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
71dc9045gen_ai.output.messagesMissing output messages attribute
cb178f13gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
cb178f13gen_ai.output.messagesMissing output messages attribute
1ddca7eagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
1ddca7eagen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(3 spans)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (7)
[
  {
    "span_id": "3229477670b5858c",
    "trace_id": "0a81e0bfef87c2e7c4a97843b013bd36",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.path": "/v1/chat/completions",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.openai.com",
      "server.port": 443,
      "user_agent.original": "langchainjs-openai/1.0.0 ((node/v24.15.0; linux; x64))",
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.openai.com/v1/chat/completions",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "c38e8e8e96ca794e",
    "start_timestamp": 1779175618.78,
    "timestamp": 1779175620.2506301,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "14a01975fc2659d8",
    "trace_id": "0a81e0bfef87c2e7c4a97843b013bd36",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.path": "/v1/chat/completions",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.openai.com",
      "server.port": 443,
      "user_agent.original": "langchainjs-openai/1.0.0 ((node/v24.15.0; linux; x64))",
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.openai.com/v1/chat/completions",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "c38e8e8e96ca794e",
    "start_timestamp": 1779175620.286,
    "timestamp": 1779175624.7552316,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "b22c7fd3551095a9",
    "trace_id": "0a81e0bfef87c2e7c4a97843b013bd36",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.path": "/v1/chat/completions",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.openai.com",
      "server.port": 443,
      "user_agent.original": "langchainjs-openai/1.0.0 ((node/v24.15.0; linux; x64))",
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.openai.com/v1/chat/completions",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "c38e8e8e96ca794e",
    "start_timestamp": 1779175624.76,
    "timestamp": 1779175632.594965,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "c38e8e8e96ca794e",
    "trace_id": "0a81e0bfef87c2e7c4a97843b013bd36",
    "op": "test",
    "description": "multi-turn-llm-test",
    "start_timestamp": 1779175618.679,
    "timestamp": 1779175632.596277,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "71dc9045453eb904",
    "trace_id": "0a81e0bfef87c2e7c4a97843b013bd36",
    "parent_span_id": "c38e8e8e96ca794e",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175618.701,
    "timestamp": 1779175620.2676291,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris.\"]",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 139,
      "gen_ai.usage.total_tokens": 162,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.id": "chatcmpl-Dh98sj6Mb1jndb1F0ha03vkU5WL4v",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "cb178f132c12052f",
    "trace_id": "0a81e0bfef87c2e7c4a97843b013bd36",
    "parent_span_id": "c38e8e8e96ca794e",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175620.278,
    "timestamp": 1779175624.7566454,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Do you mean:\\n- Paris city proper (the commune): about 2.1 million people\\n- The Paris urban area (aire urbaine): about 12 million\\n- The Île-de-France region (greater metropolitan region): about 12–13 million\\n\\nIf you specify which definition you want, I can give a precise latest figure and the source.\"]",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 1364,
      "gen_ai.usage.total_tokens": 1412,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.id": "chatcmpl-Dh98uOwbOQLfeaBAzjw2dduS1b1WA",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "1ddca7eaa9db2a90",
    "trace_id": "0a81e0bfef87c2e7c4a97843b013bd36",
    "parent_span_id": "c38e8e8e96ca794e",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175624.758,
    "timestamp": 1779175632.5959883,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"It depends on the definition, but roughly:\\n\\n- Paris metropolitan area (the urban area around Paris, often called the aire urbaine): about 12 million people.\\n- Grand Paris (the administrative Métropole around Paris): about 7 million.\\n- Île-de-France region (the broader region that includes Paris and surrounding départements): around 12–13 million.\\n\\nNumbers vary by year and method, but these give the common ranges. If you have a specific definition in mind, I can pull a precise figure.\"]",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 1394,
      "gen_ai.usage.total_tokens": 1475,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.id": "chatcmpl-Dh98z5bXAtOjG0x9Hs5W1LhmXsHee",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/langchain :: Multi-Turn LLM Test (blocking, anthropic)❗︎ 15172ms
checkAISpanCount(3)
checkChatSpanAttributes
cd57c100gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
cd57c100gen_ai.output.messagesMissing output messages attribute
05f6bc99gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
05f6bc99gen_ai.output.messagesMissing output messages attribute
545d97c5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
545d97c5gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(3 spans)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
gen_ai.usage.cache_creation_input_tokens(3 spans)
Attribute "gen_ai.usage.cache_creation_input_tokens" is not defined in sentry-conventions
gen_ai.usage.cache_read_input_tokens(3 spans)
Attribute "gen_ai.usage.cache_read_input_tokens" is not defined in sentry-conventions
{}Captured Spans (7)
[
  {
    "span_id": "0c5818ab4564c3a8",
    "trace_id": "9435a69f0edae2bd2a0b5b61671ec087",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.path": "/v1/messages",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.anthropic.com",
      "server.port": 443,
      "user_agent.original": "Anthropic/JS 0.91.1",
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.anthropic.com/v1/messages",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "1f8bfcb2c43251ef",
    "start_timestamp": 1779175618.693,
    "timestamp": 1779175619.4578729,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "417ac84ff7bf3208",
    "trace_id": "9435a69f0edae2bd2a0b5b61671ec087",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.path": "/v1/messages",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.anthropic.com",
      "server.port": 443,
      "user_agent.original": "Anthropic/JS 0.91.1",
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.anthropic.com/v1/messages",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "1f8bfcb2c43251ef",
    "start_timestamp": 1779175619.466,
    "timestamp": 1779175620.8880641,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "ccaae6216698e476",
    "trace_id": "9435a69f0edae2bd2a0b5b61671ec087",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.path": "/v1/messages",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.anthropic.com",
      "server.port": 443,
      "user_agent.original": "Anthropic/JS 0.91.1",
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.anthropic.com/v1/messages",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "1f8bfcb2c43251ef",
    "start_timestamp": 1779175620.905,
    "timestamp": 1779175621.9064267,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "1f8bfcb2c43251ef",
    "trace_id": "9435a69f0edae2bd2a0b5b61671ec087",
    "op": "test",
    "description": "multi-turn-llm-test",
    "start_timestamp": 1779175618.643,
    "timestamp": 1779175621.9085197,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "cd57c100d419d90a",
    "trace_id": "9435a69f0edae2bd2a0b5b61671ec087",
    "parent_span_id": "1f8bfcb2c43251ef",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175618.653,
    "timestamp": 1779175619.4625971,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 16384,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.response.text": "[\"The capital of France is **Paris**. It is located in the north-central part of the country along the Seine River and is the largest city in France.\"]",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 36,
      "gen_ai.usage.total_tokens": 56,
      "gen_ai.usage.cache_creation_input_tokens": 0,
      "gen_ai.usage.cache_read_input_tokens": 0,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_01YMi4w6zmPM763YyMjootVw",
      "gen_ai.response.stop_reason": "end_turn"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "05f6bc99d33af527",
    "trace_id": "9435a69f0edae2bd2a0b5b61671ec087",
    "parent_span_id": "1f8bfcb2c43251ef",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175619.464,
    "timestamp": 1779175620.899574,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 16384,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]",
      "gen_ai.response.text": "[\"The population of Paris is approximately 2.1-2.2 million people within the city proper, making it the second-largest city in the European Union by population.\\n\\nHowever, if you include the greater Paris metropolitan area (Île-de-France region), the population is much larger—around 12 million people. This makes the Paris metropolitan area one of the largest in Europe.\\n\\nThe exact figures can vary depending on the source and how city boundaries are defined, but these are the current estimates.\"]",
      "gen_ai.usage.input_tokens": 41,
      "gen_ai.usage.output_tokens": 109,
      "gen_ai.usage.total_tokens": 150,
      "gen_ai.usage.cache_creation_input_tokens": 0,
      "gen_ai.usage.cache_read_input_tokens": 0,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_015VCiMy59cmETPqPn2athw8",
      "gen_ai.response.stop_reason": "end_turn"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "545d97c5ffd616b8",
    "trace_id": "9435a69f0edae2bd2a0b5b61671ec087",
    "parent_span_id": "1f8bfcb2c43251ef",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175620.901,
    "timestamp": 1779175621.9078045,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 16384,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]",
      "gen_ai.response.text": "[\"The Paris metropolitan area (Île-de-France) has a population of approximately 12 million people, making it one of the largest metropolitan areas in Europe.\"]",
      "gen_ai.usage.input_tokens": 71,
      "gen_ai.usage.output_tokens": 37,
      "gen_ai.usage.total_tokens": 108,
      "gen_ai.usage.cache_creation_input_tokens": 0,
      "gen_ai.usage.cache_read_input_tokens": 0,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_01WAZGzqPoRAB5qhdp57QdNy",
      "gen_ai.response.stop_reason": "end_turn"
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/langchain :: Vision LLM Test (streaming, openai)❗︎ 12444ms
checkChatSpanAttributes
12edf476gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
12edf476gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(1 span)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (3)
[
  {
    "span_id": "28be811108b8ead6",
    "trace_id": "cea8701e2e8f92a2c8340450a640c681",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.path": "/v1/chat/completions",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.openai.com",
      "server.port": 443,
      "user_agent.original": "langchainjs-openai/1.0.0 ((node/v24.15.0; linux; x64))",
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.openai.com/v1/chat/completions",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "70918014b1624f5c",
    "start_timestamp": 1779175621.162,
    "timestamp": 1779175621.6673403,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "70918014b1624f5c",
    "trace_id": "cea8701e2e8f92a2c8340450a640c681",
    "op": "test",
    "description": "vision-llm-test",
    "start_timestamp": 1779175621.08,
    "timestamp": 1779175621.6701112,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "12edf47658f3a86f",
    "trace_id": "cea8701e2e8f92a2c8340450a640c681",
    "parent_span_id": "70918014b1624f5c",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175621.098,
    "timestamp": 1779175621.6690483,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"What color is this image? Reply with just the color name.\\\"},{\\\"type\\\":\\\"image_url\\\",\\\"image_url\\\":{\\\"url\\\":\\\"[Blob substitute]\\\"}}]\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Red\"]",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 8538,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.id": "chatcmpl-Dh98vTOiPTPQwT4O8H4GSJJQv7IPH",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/langchain :: Vision LLM Test (streaming, anthropic)❗︎ 1 1⚠︎ 12729ms
checkChatSpanAttributes
f549fa1fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
f549fa1fgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
f549fa1fgen_ai.usage.input_tokensinput_tokens must be > 0 but is 0
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
f549fa1fgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "795866ee0ce6d5ec",
    "trace_id": "930c0eb9ce1cdb5ec4136b32c986c387",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.path": "/v1/messages",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.anthropic.com",
      "server.port": 443,
      "user_agent.original": "Anthropic/JS 0.91.1",
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.anthropic.com/v1/messages",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "3db15035f236382e",
    "start_timestamp": 1779175621.222,
    "timestamp": 1779175622.0687017,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "3db15035f236382e",
    "trace_id": "930c0eb9ce1cdb5ec4136b32c986c387",
    "op": "test",
    "description": "vision-llm-test",
    "start_timestamp": 1779175621.135,
    "timestamp": 1779175622.0733018,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "f549fa1f5496e94b",
    "trace_id": "930c0eb9ce1cdb5ec4136b32c986c387",
    "parent_span_id": "3db15035f236382e",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175621.157,
    "timestamp": 1779175622.072241,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 16384,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"What color is this image? Reply with just the color name.\\\"},{\\\"type\\\":\\\"image_url\\\",\\\"image_url\\\":{\\\"url\\\":\\\"[Blob substitute]\\\"}}]\"}]",
      "gen_ai.response.text": "[\"Pink\"]",
      "gen_ai.usage.input_tokens": 0,
      "gen_ai.usage.output_tokens": 4,
      "gen_ai.usage.total_tokens": 4,
      "gen_ai.response.id": "msg_014uzRd2iEiTZj1Q97ddyk4W"
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/langchain :: Vision LLM Test (blocking, openai)❗︎ 12853ms
checkChatSpanAttributes
e4dcdc4fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
e4dcdc4fgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(1 span)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (3)
[
  {
    "span_id": "6cd388768e550c1b",
    "trace_id": "906681e748b4319239e65fc2f3932905",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.path": "/v1/chat/completions",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.openai.com",
      "server.port": 443,
      "user_agent.original": "langchainjs-openai/1.0.0 ((node/v24.15.0; linux; x64))",
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.openai.com/v1/chat/completions",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "723c06f511833a83",
    "start_timestamp": 1779175621.346,
    "timestamp": 1779175622.191113,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "723c06f511833a83",
    "trace_id": "906681e748b4319239e65fc2f3932905",
    "op": "test",
    "description": "vision-llm-test",
    "start_timestamp": 1779175621.305,
    "timestamp": 1779175622.1971629,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "e4dcdc4f420de7e1",
    "trace_id": "906681e748b4319239e65fc2f3932905",
    "parent_span_id": "723c06f511833a83",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175621.314,
    "timestamp": 1779175622.1967485,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"What color is this image? Reply with just the color name.\\\"},{\\\"type\\\":\\\"image_url\\\",\\\"image_url\\\":{\\\"url\\\":\\\"[Blob substitute]\\\"}}]\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Red\"]",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 8538,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.id": "chatcmpl-Dh98vXvbi6p6aChciXv75JofVhLg0",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/langchain :: Vision LLM Test (blocking, anthropic)❗︎ 12836ms
checkChatSpanAttributes
d3cdb40cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
d3cdb40cgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(1 span)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
gen_ai.usage.cache_creation_input_tokens(1 span)
Attribute "gen_ai.usage.cache_creation_input_tokens" is not defined in sentry-conventions
gen_ai.usage.cache_read_input_tokens(1 span)
Attribute "gen_ai.usage.cache_read_input_tokens" is not defined in sentry-conventions
{}Captured Spans (3)
[
  {
    "span_id": "8054ff8063997523",
    "trace_id": "38599089be3295de1027a32c46ef6dd1",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.path": "/v1/messages",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.anthropic.com",
      "server.port": 443,
      "user_agent.original": "Anthropic/JS 0.91.1",
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.anthropic.com/v1/messages",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "15eda7ae6963cfe1",
    "start_timestamp": 1779175621.381,
    "timestamp": 1779175622.2885852,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "15eda7ae6963cfe1",
    "trace_id": "38599089be3295de1027a32c46ef6dd1",
    "op": "test",
    "description": "vision-llm-test",
    "start_timestamp": 1779175621.332,
    "timestamp": 1779175622.296654,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "d3cdb40c979be0d9",
    "trace_id": "38599089be3295de1027a32c46ef6dd1",
    "parent_span_id": "15eda7ae6963cfe1",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175621.34,
    "timestamp": 1779175622.295042,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 16384,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"What color is this image? Reply with just the color name.\\\"},{\\\"type\\\":\\\"image_url\\\",\\\"image_url\\\":{\\\"url\\\":\\\"[Blob substitute]\\\"}}]\"}]",
      "gen_ai.response.text": "[\"Pink\"]",
      "gen_ai.usage.input_tokens": 38,
      "gen_ai.usage.output_tokens": 4,
      "gen_ai.usage.total_tokens": 42,
      "gen_ai.usage.cache_creation_input_tokens": 0,
      "gen_ai.usage.cache_read_input_tokens": 0,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_01PsMg94YsD69VSfqMZo2jvp",
      "gen_ai.response.stop_reason": "end_turn"
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/langchain :: Long Input LLM Test (streaming, openai)❗︎ 12252ms
checkChatSpanAttributes
2e2da978gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
2e2da978gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(1 span)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (3)
[
  {
    "span_id": "6759b695aa3a106b",
    "trace_id": "17429a6414435db7b4f7a16f5447e5e9",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.path": "/v1/chat/completions",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.openai.com",
      "server.port": 443,
      "user_agent.original": "langchainjs-openai/1.0.0 ((node/v24.15.0; linux; x64))",
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.openai.com/v1/chat/completions",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "fdc4f1f7d8b09184",
    "start_timestamp": 1779175622.102,
    "timestamp": 1779175622.864609,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "fdc4f1f7d8b09184",
    "trace_id": "17429a6414435db7b4f7a16f5447e5e9",
    "op": "test",
    "description": "long-input-llm-test",
    "start_timestamp": 1779175622.041,
    "timestamp": 1779175622.8725848,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "2e2da9788921c362",
    "trace_id": "17429a6414435db7b4f7a16f5447e5e9",
    "parent_span_id": "fdc4f1f7d8b09184",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175622.05,
    "timestamp": 1779175622.871551,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"This test message will be repeated multiple times to generate a lengthy input.\"]",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.output_tokens": 14,
      "gen_ai.usage.total_tokens": 5443,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.id": "chatcmpl-Dh98wqQkF5sfLpZyno5uVk1L6yOfk",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/langchain :: Long Input LLM Test (streaming, anthropic)❗︎ 1⚠︎ 12725ms
checkChatSpanAttributes
8ad7f360gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8ad7f360gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
8ad7f360gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "5af58074472c31df",
    "trace_id": "d456321b483241d288b48e296b15b557",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.path": "/v1/messages",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.anthropic.com",
      "server.port": 443,
      "user_agent.original": "Anthropic/JS 0.91.1",
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.anthropic.com/v1/messages",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "acd2bc3675083d1b",
    "start_timestamp": 1779175622.529,
    "timestamp": 1779175623.802594,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "acd2bc3675083d1b",
    "trace_id": "d456321b483241d288b48e296b15b557",
    "op": "test",
    "description": "long-input-llm-test",
    "start_timestamp": 1779175622.484,
    "timestamp": 1779175623.8149014,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "8ad7f3603c29a8f5",
    "trace_id": "d456321b483241d288b48e296b15b557",
    "parent_span_id": "acd2bc3675083d1b",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175622.494,
    "timestamp": 1779175623.8095503,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 16384,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]",
      "gen_ai.response.text": "[\"A test message is repeated many times to create a lengthy input.\"]",
      "gen_ai.usage.input_tokens": 0,
      "gen_ai.usage.output_tokens": 16,
      "gen_ai.usage.total_tokens": 16,
      "gen_ai.response.id": "msg_01REkAWxZrrEVcub4cyL461z"
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/langchain :: Long Input LLM Test (blocking, openai)❗︎ 12638ms
checkChatSpanAttributes
8afa6969gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8afa6969gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(1 span)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (3)
[
  {
    "span_id": "2a4a5f8397baf13b",
    "trace_id": "34bcd8efccc75b20b88f1a8160088028",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.path": "/v1/chat/completions",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.openai.com",
      "server.port": 443,
      "user_agent.original": "langchainjs-openai/1.0.0 ((node/v24.15.0; linux; x64))",
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.openai.com/v1/chat/completions",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "2b27aa9d68617acf",
    "start_timestamp": 1779175623.433,
    "timestamp": 1779175624.2585793,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "2b27aa9d68617acf",
    "trace_id": "34bcd8efccc75b20b88f1a8160088028",
    "op": "test",
    "description": "long-input-llm-test",
    "start_timestamp": 1779175623.367,
    "timestamp": 1779175624.2646596,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "8afa69690423a040",
    "trace_id": "34bcd8efccc75b20b88f1a8160088028",
    "parent_span_id": "2b27aa9d68617acf",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175623.379,
    "timestamp": 1779175624.2650914,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"This message is a repeated test message designed to generate a very long input.\"]",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.output_tokens": 15,
      "gen_ai.usage.total_tokens": 5444,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.id": "chatcmpl-Dh98xO173WztBmIaANswqc4lxYXX0",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/langchain :: Long Input LLM Test (blocking, anthropic)❗︎ 12585ms
checkChatSpanAttributes
73693b88gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
73693b88gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(1 span)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
gen_ai.usage.cache_creation_input_tokens(1 span)
Attribute "gen_ai.usage.cache_creation_input_tokens" is not defined in sentry-conventions
gen_ai.usage.cache_read_input_tokens(1 span)
Attribute "gen_ai.usage.cache_read_input_tokens" is not defined in sentry-conventions
{}Captured Spans (3)
[
  {
    "span_id": "dd206829022bc012",
    "trace_id": "8fb9bd5c43943cd159e2852bd2c08991",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.path": "/v1/messages",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.anthropic.com",
      "server.port": 443,
      "user_agent.original": "Anthropic/JS 0.91.1",
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.anthropic.com/v1/messages",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "85703e72a4ddae88",
    "start_timestamp": 1779175623.712,
    "timestamp": 1779175624.4689286,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "85703e72a4ddae88",
    "trace_id": "8fb9bd5c43943cd159e2852bd2c08991",
    "op": "test",
    "description": "long-input-llm-test",
    "start_timestamp": 1779175623.641,
    "timestamp": 1779175624.47443,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "73693b884885f61d",
    "trace_id": "8fb9bd5c43943cd159e2852bd2c08991",
    "parent_span_id": "85703e72a4ddae88",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175623.655,
    "timestamp": 1779175624.4737833,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 16384,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]",
      "gen_ai.response.text": "[\"A test message is repeated many times to create a long input.\"]",
      "gen_ai.usage.input_tokens": 5426,
      "gen_ai.usage.output_tokens": 16,
      "gen_ai.usage.total_tokens": 5442,
      "gen_ai.usage.cache_creation_input_tokens": 0,
      "gen_ai.usage.cache_read_input_tokens": 0,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_01Pd9zL7HVD6RSeCBTD2cjuv",
      "gen_ai.response.stop_reason": "end_turn"
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/langchain :: Conversation ID LLM Test (streaming, openai)❗︎ 16771ms
checkAISpanCount(4)
checkChatSpanAttributes
e6fc146cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
e6fc146cgen_ai.output.messagesMissing output messages attribute
4de25307gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
4de25307gen_ai.output.messagesMissing output messages attribute
b6f34066gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b6f34066gen_ai.output.messagesMissing output messages attribute
5f63598cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
5f63598cgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(4 spans)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (9)
[
  {
    "span_id": "6d411dc7a3232e1f",
    "trace_id": "4dd2891edb45807d498659be38b52754",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.path": "/v1/chat/completions",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.openai.com",
      "server.port": 443,
      "user_agent.original": "langchainjs-openai/1.0.0 ((node/v24.15.0; linux; x64))",
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.openai.com/v1/chat/completions",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "6a98bffca85230c3",
    "start_timestamp": 1779175624.023,
    "timestamp": 1779175625.0715275,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "5c8a2773d90fd262",
    "trace_id": "4dd2891edb45807d498659be38b52754",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.path": "/v1/chat/completions",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.openai.com",
      "server.port": 443,
      "user_agent.original": "langchainjs-openai/1.0.0 ((node/v24.15.0; linux; x64))",
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.openai.com/v1/chat/completions",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "6a98bffca85230c3",
    "start_timestamp": 1779175625.077,
    "timestamp": 1779175626.1053448,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "a238acb53b699608",
    "trace_id": "4dd2891edb45807d498659be38b52754",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.path": "/v1/chat/completions",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.openai.com",
      "server.port": 443,
      "user_agent.original": "langchainjs-openai/1.0.0 ((node/v24.15.0; linux; x64))",
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.openai.com/v1/chat/completions",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "6a98bffca85230c3",
    "start_timestamp": 1779175626.109,
    "timestamp": 1779175627.3108833,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "e5c0d2ebf7576d4c",
    "trace_id": "4dd2891edb45807d498659be38b52754",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.path": "/v1/chat/completions",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.openai.com",
      "server.port": 443,
      "user_agent.original": "langchainjs-openai/1.0.0 ((node/v24.15.0; linux; x64))",
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.openai.com/v1/chat/completions",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "6a98bffca85230c3",
    "start_timestamp": 1779175627.315,
    "timestamp": 1779175628.8385293,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "6a98bffca85230c3",
    "trace_id": "4dd2891edb45807d498659be38b52754",
    "op": "test",
    "description": "conversation-id-llm-test",
    "start_timestamp": 1779175623.963,
    "timestamp": 1779175628.8389254,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "e6fc146c15ba0926",
    "trace_id": "4dd2891edb45807d498659be38b52754",
    "parent_span_id": "6a98bffca85230c3",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175623.975,
    "timestamp": 1779175625.0737948,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris.\"]",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 75,
      "gen_ai.usage.total_tokens": 98,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.id": "chatcmpl-Dh98ylGqZteGH8WIBREgo1tperSrQ",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "4de2530725af2b96",
    "trace_id": "4dd2891edb45807d498659be38b52754",
    "parent_span_id": "6a98bffca85230c3",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175625.075,
    "timestamp": 1779175626.105963,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"4\\n\\nIn standard arithmetic (base 10), 2 + 2 = 4. If you want it in another base or context, let me know.\"]",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 298,
      "gen_ai.usage.total_tokens": 322,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.id": "chatcmpl-Dh98z59uzUiDcBHYmyvyl71VTNe0y",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b6f34066e3fb3318",
    "trace_id": "4dd2891edb45807d498659be38b52754",
    "parent_span_id": "6a98bffca85230c3",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175626.108,
    "timestamp": 1779175627.3118758,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"The capital of Germany is Berlin. It has been the capital since Germany’s reunification in 1990 (before that, Bonn was the seat of government for West Germany).\"]",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 300,
      "gen_ai.usage.total_tokens": 344,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.id": "chatcmpl-Dh990CHNDAwo8JjBsu8PuC5THjEeG",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "5f63598caf926397",
    "trace_id": "4dd2891edb45807d498659be38b52754",
    "parent_span_id": "6a98bffca85230c3",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175627.313,
    "timestamp": 1779175628.8387208,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"3 + 3 = 6. If you’d like, I can show a quick way to see it on a number line or with counting.\"]",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 231,
      "gen_ai.usage.total_tokens": 281,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.id": "chatcmpl-Dh991SO1mn3fTcnlbcVgs3rPKkZ5G",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/langchain :: Conversation ID LLM Test (streaming, anthropic)❗︎ 1 1⚠︎ 16623ms
checkAISpanCount(4)
checkChatSpanAttributes
5c21eef1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
5c21eef1gen_ai.output.messagesMissing output messages attribute
5a87e8adgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
5a87e8adgen_ai.output.messagesMissing output messages attribute
6802fe26gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
6802fe26gen_ai.output.messagesMissing output messages attribute
f4ea70afgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
f4ea70afgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
5c21eef1gen_ai.usage.input_tokensinput_tokens must be > 0 but is 0
checkInputMessagesSchema
checkResponseModel
5c21eef1gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
5a87e8adgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
6802fe26gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
f4ea70afgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (9)
[
  {
    "span_id": "3af26cad36b8f152",
    "trace_id": "572e9083f785d8a5791283b3b9abc46e",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.path": "/v1/messages",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.anthropic.com",
      "server.port": 443,
      "user_agent.original": "Anthropic/JS 0.91.1",
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.anthropic.com/v1/messages",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "e4b8b22bf22b99f9",
    "start_timestamp": 1779175624.086,
    "timestamp": 1779175625.7893102,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "8fddfe62f4dd4eeb",
    "trace_id": "572e9083f785d8a5791283b3b9abc46e",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.path": "/v1/messages",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.anthropic.com",
      "server.port": 443,
      "user_agent.original": "Anthropic/JS 0.91.1",
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.anthropic.com/v1/messages",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "e4b8b22bf22b99f9",
    "start_timestamp": 1779175625.795,
    "timestamp": 1779175626.7468834,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "2b7613068875898c",
    "trace_id": "572e9083f785d8a5791283b3b9abc46e",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.path": "/v1/messages",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.anthropic.com",
      "server.port": 443,
      "user_agent.original": "Anthropic/JS 0.91.1",
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.anthropic.com/v1/messages",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "e4b8b22bf22b99f9",
    "start_timestamp": 1779175626.751,
    "timestamp": 1779175627.251438,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "5a9ada77e87aa76b",
    "trace_id": "572e9083f785d8a5791283b3b9abc46e",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.path": "/v1/messages",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.anthropic.com",
      "server.port": 443,
      "user_agent.original": "Anthropic/JS 0.91.1",
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.anthropic.com/v1/messages",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "e4b8b22bf22b99f9",
    "start_timestamp": 1779175627.254,
    "timestamp": 1779175628.874897,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "e4b8b22bf22b99f9",
    "trace_id": "572e9083f785d8a5791283b3b9abc46e",
    "op": "test",
    "description": "conversation-id-llm-test",
    "start_timestamp": 1779175624.024,
    "timestamp": 1779175628.8758264,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "5c21eef18919336c",
    "trace_id": "572e9083f785d8a5791283b3b9abc46e",
    "parent_span_id": "e4b8b22bf22b99f9",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175624.034,
    "timestamp": 1779175625.7920165,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 16384,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.response.text": "[\"The capital of France is **Paris**. It is located in the north-central part of the country along the Seine River and is one of the world's most famous cities, known for landmarks like the Eiffel Tower, Notre-Dame Cathedral, and the Louvre Museum.\"]",
      "gen_ai.usage.input_tokens": 0,
      "gen_ai.usage.output_tokens": 62,
      "gen_ai.usage.total_tokens": 62,
      "gen_ai.response.id": "msg_01PsDXhvku6oQmMdzAezHP2h"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "5a87e8ad86e033d5",
    "trace_id": "572e9083f785d8a5791283b3b9abc46e",
    "parent_span_id": "e4b8b22bf22b99f9",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175625.794,
    "timestamp": 1779175626.7484143,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 16384,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.response.text": "[\"2 + 2 = **4**\\n\\nThis is one of the fundamental addition facts in mathematics. If you have 2 of something and add 2 more, you end up with 4 total.\\n\\nIs there anything else you'd like help with?\"]",
      "gen_ai.usage.input_tokens": 0,
      "gen_ai.usage.output_tokens": 61,
      "gen_ai.usage.total_tokens": 61,
      "gen_ai.response.id": "msg_019HNU5J2f57gszBUXFBShN9"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "6802fe268ef96c24",
    "trace_id": "572e9083f785d8a5791283b3b9abc46e",
    "parent_span_id": "e4b8b22bf22b99f9",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175626.749,
    "timestamp": 1779175627.2515664,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 16384,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.response.text": "[\"The capital of Germany is Berlin.\"]",
      "gen_ai.usage.input_tokens": 0,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 10,
      "gen_ai.response.id": "msg_01VNGTKu7uVApCkU6AhiruXi"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "f4ea70afc70dfd77",
    "trace_id": "572e9083f785d8a5791283b3b9abc46e",
    "parent_span_id": "e4b8b22bf22b99f9",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175627.253,
    "timestamp": 1779175628.8759215,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 16384,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.response.text": "[\"3 + 3 equals 6.\"]",
      "gen_ai.usage.input_tokens": 0,
      "gen_ai.usage.output_tokens": 14,
      "gen_ai.usage.total_tokens": 14,
      "gen_ai.response.id": "msg_01XoAEW8trvv9XnvFfDVAkcW"
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/langchain :: Conversation ID LLM Test (blocking, openai)❗︎ 18884ms
checkAISpanCount(4)
checkChatSpanAttributes
99227b9cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
99227b9cgen_ai.output.messagesMissing output messages attribute
576d0767gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
576d0767gen_ai.output.messagesMissing output messages attribute
7bc3c8ffgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
7bc3c8ffgen_ai.output.messagesMissing output messages attribute
dd73a913gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
dd73a913gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(4 spans)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (9)
[
  {
    "span_id": "de8c9b103a0130f3",
    "trace_id": "4a2081dd3d118363bb45d39804d97b05",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.path": "/v1/chat/completions",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.openai.com",
      "server.port": 443,
      "user_agent.original": "langchainjs-openai/1.0.0 ((node/v24.15.0; linux; x64))",
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.openai.com/v1/chat/completions",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "625747f3c69dc310",
    "start_timestamp": 1779175624.292,
    "timestamp": 1779175625.2977283,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "4fc8879d4beb4b3a",
    "trace_id": "4a2081dd3d118363bb45d39804d97b05",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.path": "/v1/chat/completions",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.openai.com",
      "server.port": 443,
      "user_agent.original": "langchainjs-openai/1.0.0 ((node/v24.15.0; linux; x64))",
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.openai.com/v1/chat/completions",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "625747f3c69dc310",
    "start_timestamp": 1779175625.308,
    "timestamp": 1779175627.4174824,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "f6581a1ca2c25f8c",
    "trace_id": "4a2081dd3d118363bb45d39804d97b05",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.path": "/v1/chat/completions",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.openai.com",
      "server.port": 443,
      "user_agent.original": "langchainjs-openai/1.0.0 ((node/v24.15.0; linux; x64))",
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.openai.com/v1/chat/completions",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "625747f3c69dc310",
    "start_timestamp": 1779175627.421,
    "timestamp": 1779175628.9831624,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "fb5a6e9df182ec53",
    "trace_id": "4a2081dd3d118363bb45d39804d97b05",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.path": "/v1/chat/completions",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.openai.com",
      "server.port": 443,
      "user_agent.original": "langchainjs-openai/1.0.0 ((node/v24.15.0; linux; x64))",
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.openai.com/v1/chat/completions",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "625747f3c69dc310",
    "start_timestamp": 1779175628.987,
    "timestamp": 1779175631.222037,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "625747f3c69dc310",
    "trace_id": "4a2081dd3d118363bb45d39804d97b05",
    "op": "test",
    "description": "conversation-id-llm-test",
    "start_timestamp": 1779175624.238,
    "timestamp": 1779175631.2230384,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "99227b9c648b72fc",
    "trace_id": "4a2081dd3d118363bb45d39804d97b05",
    "parent_span_id": "625747f3c69dc310",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175624.246,
    "timestamp": 1779175625.3032827,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris\"]",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 74,
      "gen_ai.usage.total_tokens": 97,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.id": "chatcmpl-Dh98yoB3dN5Cdg109BQUQDkWJw3jP",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "576d07673dfb5ca1",
    "trace_id": "4a2081dd3d118363bb45d39804d97b05",
    "parent_span_id": "625747f3c69dc310",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175625.305,
    "timestamp": 1779175627.4183855,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"4\\n\\nIf you’d like a quick explanation: 2 + 2 means combining two groups of two items, giving four items in total. Want another example or a quick trick?\"]",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 238,
      "gen_ai.usage.total_tokens": 262,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.id": "chatcmpl-Dh98zmox0y4wDfVhJmld0O28YtEzD",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "7bc3c8ffc63cebec",
    "trace_id": "4a2081dd3d118363bb45d39804d97b05",
    "parent_span_id": "625747f3c69dc310",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175627.419,
    "timestamp": 1779175628.9837692,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"The capital of Germany is Berlin.\"]",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 208,
      "gen_ai.usage.total_tokens": 252,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.id": "chatcmpl-Dh991N94LXeaKk3kSkfOzAylzCUIH",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "dd73a913f08e371e",
    "trace_id": "4a2081dd3d118363bb45d39804d97b05",
    "parent_span_id": "625747f3c69dc310",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175628.985,
    "timestamp": 1779175631.222851,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"3 + 3 = 6. It’s the same as 2 × 3 = 6 (doubling 3).\"]",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 292,
      "gen_ai.usage.total_tokens": 342,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.id": "chatcmpl-Dh993OS7D37bDnCmqFZ2NUMkTyW0s",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/langchain :: Conversation ID LLM Test (blocking, anthropic)❗︎ 14189ms
checkAISpanCount(4)
checkChatSpanAttributes
4f82a9e0gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
4f82a9e0gen_ai.output.messagesMissing output messages attribute
ceef79f9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ceef79f9gen_ai.output.messagesMissing output messages attribute
cb2824c8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
cb2824c8gen_ai.output.messagesMissing output messages attribute
af0b4c1cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
af0b4c1cgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(4 spans)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
gen_ai.usage.cache_creation_input_tokens(4 spans)
Attribute "gen_ai.usage.cache_creation_input_tokens" is not defined in sentry-conventions
gen_ai.usage.cache_read_input_tokens(4 spans)
Attribute "gen_ai.usage.cache_read_input_tokens" is not defined in sentry-conventions
{}Captured Spans (9)
[
  {
    "span_id": "e6fe4dced4d5e525",
    "trace_id": "c7154425a4d48f2f6010a207f6565065",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.path": "/v1/messages",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.anthropic.com",
      "server.port": 443,
      "user_agent.original": "Anthropic/JS 0.91.1",
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.anthropic.com/v1/messages",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "21eec590f4165582",
    "start_timestamp": 1779175624.45,
    "timestamp": 1779175625.0427482,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "a543b8930a653e02",
    "trace_id": "c7154425a4d48f2f6010a207f6565065",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.path": "/v1/messages",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.anthropic.com",
      "server.port": 443,
      "user_agent.original": "Anthropic/JS 0.91.1",
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.anthropic.com/v1/messages",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "21eec590f4165582",
    "start_timestamp": 1779175625.061,
    "timestamp": 1779175626.1278944,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "a5462b5504342bf0",
    "trace_id": "c7154425a4d48f2f6010a207f6565065",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.path": "/v1/messages",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.anthropic.com",
      "server.port": 443,
      "user_agent.original": "Anthropic/JS 0.91.1",
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.anthropic.com/v1/messages",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "21eec590f4165582",
    "start_timestamp": 1779175626.132,
    "timestamp": 1779175626.6832104,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "7b60d44fc18e7248",
    "trace_id": "c7154425a4d48f2f6010a207f6565065",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.path": "/v1/messages",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "api.anthropic.com",
      "server.port": 443,
      "user_agent.original": "Anthropic/JS 0.91.1",
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://api.anthropic.com/v1/messages",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "21eec590f4165582",
    "start_timestamp": 1779175626.686,
    "timestamp": 1779175627.1539302,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "21eec590f4165582",
    "trace_id": "c7154425a4d48f2f6010a207f6565065",
    "op": "test",
    "description": "conversation-id-llm-test",
    "start_timestamp": 1779175624.418,
    "timestamp": 1779175627.1551805,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "4f82a9e0a8af6e0d",
    "trace_id": "c7154425a4d48f2f6010a207f6565065",
    "parent_span_id": "21eec590f4165582",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175624.424,
    "timestamp": 1779175625.0491362,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 16384,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.response.text": "[\"The capital of France is Paris.\"]",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "gen_ai.usage.cache_creation_input_tokens": 0,
      "gen_ai.usage.cache_read_input_tokens": 0,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_01Au8MjtsoC6bV55fSCAa779",
      "gen_ai.response.stop_reason": "end_turn"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "ceef79f97fc846cb",
    "trace_id": "c7154425a4d48f2f6010a207f6565065",
    "parent_span_id": "21eec590f4165582",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175625.056,
    "timestamp": 1779175626.1293104,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 16384,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.response.text": "[\"2 + 2 = **4**\\n\\nThat's one of the most fundamental addition facts! Is there anything else you'd like help with?\"]",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 35,
      "gen_ai.usage.total_tokens": 58,
      "gen_ai.usage.cache_creation_input_tokens": 0,
      "gen_ai.usage.cache_read_input_tokens": 0,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_01HSYLr3pcajUhLwKfjzbJLN",
      "gen_ai.response.stop_reason": "end_turn"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "cb2824c89dde3ab9",
    "trace_id": "c7154425a4d48f2f6010a207f6565065",
    "parent_span_id": "21eec590f4165582",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175626.13,
    "timestamp": 1779175626.6839151,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 16384,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.response.text": "[\"The capital of Germany is Berlin.\"]",
      "gen_ai.usage.input_tokens": 37,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 47,
      "gen_ai.usage.cache_creation_input_tokens": 0,
      "gen_ai.usage.cache_read_input_tokens": 0,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_01NXmejozgzB3e5LLsnUjZB8",
      "gen_ai.response.stop_reason": "end_turn"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "af0b4c1c8a2c7642",
    "trace_id": "c7154425a4d48f2f6010a207f6565065",
    "parent_span_id": "21eec590f4165582",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175626.685,
    "timestamp": 1779175627.1548743,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 16384,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.response.text": "[\"3 + 3 equals 6.\"]",
      "gen_ai.usage.input_tokens": 49,
      "gen_ai.usage.output_tokens": 14,
      "gen_ai.usage.total_tokens": 63,
      "gen_ai.usage.cache_creation_input_tokens": 0,
      "gen_ai.usage.cache_read_input_tokens": 0,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_011xhxncWsEC3mHez7bRrdLj",
      "gen_ai.response.stop_reason": "end_turn"
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/openai :: Basic LLM Test (streaming, chat)❗︎ 11782ms
checkAISpanCount(1)
checkChatSpanAttributes
d866ca87gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
d866ca87gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(1 span)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (3)
[
  {
    "span_id": "b85d6b307059e2e2",
    "trace_id": "6eae8fbfbb542344b19ebac8ab2d7743",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "d866ca87993c26fd",
    "start_timestamp": 1779175625.165,
    "timestamp": 1779175625.7019548,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "c6dbc5da77cf910d",
    "trace_id": "6eae8fbfbb542344b19ebac8ab2d7743",
    "op": "test",
    "description": "basic-llm-test",
    "start_timestamp": 1779175625.138,
    "timestamp": 1779175625.7046227,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "d866ca87993c26fd",
    "trace_id": "6eae8fbfbb542344b19ebac8ab2d7743",
    "parent_span_id": "c6dbc5da77cf910d",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175625.141,
    "timestamp": 1779175625.703566,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh98zLQYa6Q0HEbDtmfJKrNS7lE3U",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 75,
      "gen_ai.usage.total_tokens": 98,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "Paris."
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/openai :: Basic LLM Test (streaming, responses)❗︎ 12704ms
checkAISpanCount(1)
checkChatSpanAttributes
0d86373dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
0d86373dgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(1 span) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(1 span)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (3)
[
  {
    "span_id": "e831f816c562e651",
    "trace_id": "41300b92689f89d4a9755701aff390dc",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "0d86373de683a449",
    "start_timestamp": 1779175625.375,
    "timestamp": 1779175627.0381038,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "4bbd1ee8c3a44408",
    "trace_id": "41300b92689f89d4a9755701aff390dc",
    "op": "test",
    "description": "basic-llm-test",
    "start_timestamp": 1779175625.349,
    "timestamp": 1779175627.0402017,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "0d86373de683a449",
    "trace_id": "41300b92689f89d4a9755701aff390dc",
    "parent_span_id": "4bbd1ee8c3a44408",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175625.353,
    "timestamp": 1779175627.0404348,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_0aebbd17a5e06a88006a0c10c973dc81908fc5ade87d14bdc2",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 177,
      "gen_ai.usage.total_tokens": 200,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "Paris.",
      "gen_ai.response.tool_calls": "[{\"id\":\"rs_0aebbd17a5e06a88006a0c10c9df7881909dcb7a94306fbe97\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_0aebbd17a5e06a88006a0c10cac65881909175139d8456a58d\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris.\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/openai :: Basic LLM Test (blocking, chat)❗︎ 12252ms
checkAISpanCount(1)
checkChatSpanAttributes
64ff1806gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
64ff1806gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "9c56706fca52b94f",
    "trace_id": "6f3fe5e0f742ebcb206c9d70a6eccae3",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "64ff18065a5b0803",
    "start_timestamp": 1779175625.547,
    "timestamp": 1779175626.7694974,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "e2ce650c7de6956d",
    "trace_id": "6f3fe5e0f742ebcb206c9d70a6eccae3",
    "op": "test",
    "description": "basic-llm-test",
    "start_timestamp": 1779175625.531,
    "timestamp": 1779175626.7727354,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "64ff18065a5b0803",
    "trace_id": "6f3fe5e0f742ebcb206c9d70a6eccae3",
    "parent_span_id": "e2ce650c7de6956d",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175625.533,
    "timestamp": 1779175626.772326,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "chatcmpl-Dh98zZQZUizRW0O30Izpmw8lpSEz2",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 139,
      "gen_ai.usage.total_tokens": 162,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris.\"]"
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/openai :: Basic LLM Test (blocking, responses)❗︎ 12621ms
checkAISpanCount(1)
checkChatSpanAttributes
ad3bee20gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ad3bee20gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "352d9262b6af1ae3",
    "trace_id": "464d26e15e8d7d5d52c634946ea154c5",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "ad3bee20f62cc144",
    "start_timestamp": 1779175626.264,
    "timestamp": 1779175627.9389,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "80b8a017b66ea35d",
    "trace_id": "464d26e15e8d7d5d52c634946ea154c5",
    "op": "test",
    "description": "basic-llm-test",
    "start_timestamp": 1779175626.246,
    "timestamp": 1779175627.9438477,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "ad3bee20f62cc144",
    "trace_id": "464d26e15e8d7d5d52c634946ea154c5",
    "parent_span_id": "80b8a017b66ea35d",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175626.248,
    "timestamp": 1779175627.9432325,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "resp_047e70fa27bd9629006a0c10ca561c8196a6481914e2841eb2",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 186,
      "gen_ai.usage.total_tokens": 209,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "Paris. It is the capital and largest city of France."
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/openai :: Multi-Turn LLM Test (streaming, chat)❗︎ 117097ms
checkAISpanCount(3)
checkChatSpanAttributes
752c453fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
752c453fgen_ai.output.messagesMissing output messages attribute
113bc261gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
113bc261gen_ai.output.messagesMissing output messages attribute
b709f619gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b709f619gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(3 spans)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (7)
[
  {
    "span_id": "657a7bbbac8a3ce3",
    "trace_id": "738a9ca80c6518f0558ebc5426d3a8fe",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "752c453f00e28bec",
    "start_timestamp": 1779175626.639,
    "timestamp": 1779175628.0410402,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "4948ea281c9546a4",
    "trace_id": "738a9ca80c6518f0558ebc5426d3a8fe",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "113bc2615a94247e",
    "start_timestamp": 1779175628.047,
    "timestamp": 1779175633.8747551,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "a50ed213dde96391",
    "trace_id": "738a9ca80c6518f0558ebc5426d3a8fe",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "b709f6191c8c3bd1",
    "start_timestamp": 1779175633.877,
    "timestamp": 1779175642.784484,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "20603ecd0792dfa7",
    "trace_id": "738a9ca80c6518f0558ebc5426d3a8fe",
    "op": "test",
    "description": "multi-turn-llm-test",
    "start_timestamp": 1779175626.622,
    "timestamp": 1779175642.7853856,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "752c453f00e28bec",
    "trace_id": "738a9ca80c6518f0558ebc5426d3a8fe",
    "parent_span_id": "20603ecd0792dfa7",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175626.624,
    "timestamp": 1779175628.0436566,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh990eo0KywlGBhRVpwN0W3HeOVnK",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 139,
      "gen_ai.usage.total_tokens": 162,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "Paris."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "113bc2615a94247e",
    "trace_id": "738a9ca80c6518f0558ebc5426d3a8fe",
    "parent_span_id": "20603ecd0792dfa7",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175628.045,
    "timestamp": 1779175633.8750806,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh992XjU0rTfFbR4l7iqY1RtozVjR",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 1117,
      "gen_ai.usage.total_tokens": 1165,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "- City proper (the municipality of Paris): about 2.1 million people.\n- Paris metropolitan area (Île-de-France region, the wider area around Paris): about 12 million people.\n\nIf you want a precise figure for a specific year or for a different definition (e.g., urban area, or \"aire d'attraction des villes\"), tell me which one and the year and I’ll provide it."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b709f6191c8c3bd1",
    "trace_id": "738a9ca80c6518f0558ebc5426d3a8fe",
    "parent_span_id": "20603ecd0792dfa7",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175633.876,
    "timestamp": 1779175642.7850127,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh998wWEwxNVsOJuvGBbY0W4pnowv",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 1566,
      "gen_ai.usage.total_tokens": 1647,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "It depends on how you define “metropolitan area.”\n\n- Paris urban area (aire urbaine): about 12 million people.\n- Île-de-France region (the wider metro region around Paris): roughly 12–13 million.\n- Métropole du Grand Paris (the intercommunal authority around Paris): about 7 million.\n\nIf you tell me which definition you want, I can give the latest exact figure."
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/openai :: Multi-Turn LLM Test (streaming, responses)❗︎ 121661ms
checkAISpanCount(3)
checkChatSpanAttributes
1f7bbe77gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
1f7bbe77gen_ai.output.messagesMissing output messages attribute
650338e4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
650338e4gen_ai.output.messagesMissing output messages attribute
d62ccd94gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
d62ccd94gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(3 spans)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (7)
[
  {
    "span_id": "44c47717056a3b28",
    "trace_id": "71f577deb2129791f8feda76fa54b361",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "1f7bbe771ac66747",
    "start_timestamp": 1779175627.715,
    "timestamp": 1779175629.1275136,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "6236c50fa03c7186",
    "trace_id": "71f577deb2129791f8feda76fa54b361",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "650338e4e4fa8d80",
    "start_timestamp": 1779175629.131,
    "timestamp": 1779175636.9428375,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "c3e42b08339927b8",
    "trace_id": "71f577deb2129791f8feda76fa54b361",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "d62ccd946b825ea2",
    "start_timestamp": 1779175636.945,
    "timestamp": 1779175648.4024837,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "9589c8b90b626db2",
    "trace_id": "71f577deb2129791f8feda76fa54b361",
    "op": "test",
    "description": "multi-turn-llm-test",
    "start_timestamp": 1779175627.693,
    "timestamp": 1779175648.4041378,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "1f7bbe771ac66747",
    "trace_id": "71f577deb2129791f8feda76fa54b361",
    "parent_span_id": "9589c8b90b626db2",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175627.696,
    "timestamp": 1779175629.1293578,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_09c8315d1725af68006a0c10cbc9508193968f67536be471a7",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 142,
      "gen_ai.usage.total_tokens": 165,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "Paris.",
      "gen_ai.response.tool_calls": "[{\"id\":\"rs_09c8315d1725af68006a0c10cc04308193b7f72e87a93b6730\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_09c8315d1725af68006a0c10ccd8f88193a7f03f102ffa5f84\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris.\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "650338e4e4fa8d80",
    "trace_id": "71f577deb2129791f8feda76fa54b361",
    "parent_span_id": "9589c8b90b626db2",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175629.13,
    "timestamp": 1779175636.9435637,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_076e245ba9bc70de006a0c10cd2d108194922a0d1618166189",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 1178,
      "gen_ai.usage.total_tokens": 1226,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "Paris city proper has about 2.1 million residents (latest counts around 2020–2023). The wider Paris metropolitan area contains roughly 12 million people (about 11–12 million depending on the exact measure). If you want a specific definition or year, tell me and I’ll give the precise figure.",
      "gen_ai.response.tool_calls": "[{\"id\":\"rs_076e245ba9bc70de006a0c10cd7bec8194a0087ec164c42afa\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_076e245ba9bc70de006a0c10d45424819487585935e8957872\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris city proper has about 2.1 million residents (latest counts around 2020–2023). The wider Paris metropolitan area contains roughly 12 million people (about 11–12 million depending on the exact measure). If you want a specific definition or year, tell me and I’ll give the precise figure.\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "d62ccd946b825ea2",
    "trace_id": "71f577deb2129791f8feda76fa54b361",
    "parent_span_id": "9589c8b90b626db2",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175636.944,
    "timestamp": 1779175648.4040058,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_0521e6c6d8246d40006a0c10d4ff348197890a7561cb43e762",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 1835,
      "gen_ai.usage.total_tokens": 1916,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "About 12 million people. The exact figure depends on which definition you use (the Paris urban area / aire urbaine vs. the Île-de-France region) and the year of the estimate, but recent figures place the Paris metropolitan area around 12.0–12.5 million. If you want, I can fetch the latest precise INSEE number for the specific definition you have in mind.",
      "gen_ai.response.tool_calls": "[{\"id\":\"rs_0521e6c6d8246d40006a0c10d55c308197902c105d816cba90\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_0521e6c6d8246d40006a0c10dfa3008197a7a1d1b1607ed429\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"About 12 million people. The exact figure depends on which definition you use (the Paris urban area / aire urbaine vs. the Île-de-France region) and the year of the estimate, but recent figures place the Paris metropolitan area around 12.0–12.5 million. If you want, I can fetch the latest precise INSEE number for the specific definition you have in mind.\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/openai :: Multi-Turn LLM Test (blocking, chat)❗︎ 117003ms
checkAISpanCount(3)
checkChatSpanAttributes
a364eebegen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a364eebegen_ai.output.messagesMissing output messages attribute
575f8b22gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
575f8b22gen_ai.output.messagesMissing output messages attribute
02992441gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
02992441gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "span_id": "9a8b5071e764312e",
    "trace_id": "b4bf12064548545c58edf552773b10d5",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "a364eebe48f8ca89",
    "start_timestamp": 1779175628.036,
    "timestamp": 1779175629.9515917,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "343c75bc575cf50e",
    "trace_id": "b4bf12064548545c58edf552773b10d5",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "575f8b220e08eb68",
    "start_timestamp": 1779175629.958,
    "timestamp": 1779175634.1859806,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "8baf867b5bc3667b",
    "trace_id": "b4bf12064548545c58edf552773b10d5",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "029924415bb85b1c",
    "start_timestamp": 1779175634.189,
    "timestamp": 1779175644.0145981,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "680fd767df808b32",
    "trace_id": "b4bf12064548545c58edf552773b10d5",
    "op": "test",
    "description": "multi-turn-llm-test",
    "start_timestamp": 1779175628.018,
    "timestamp": 1779175644.0165892,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "a364eebe48f8ca89",
    "trace_id": "b4bf12064548545c58edf552773b10d5",
    "parent_span_id": "680fd767df808b32",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175628.021,
    "timestamp": 1779175629.9558976,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "chatcmpl-Dh993yY3uWpCDzkjYFP8Igxe17e34",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 75,
      "gen_ai.usage.total_tokens": 98,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris.\"]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "575f8b220e08eb68",
    "trace_id": "b4bf12064548545c58edf552773b10d5",
    "parent_span_id": "680fd767df808b32",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175629.957,
    "timestamp": 1779175634.187554,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.id": "chatcmpl-Dh994rWvnGUhaLPtyRGODrwnzncAv",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 1303,
      "gen_ai.usage.total_tokens": 1351,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris (the city proper) has about 2.1 million residents. The larger Paris metropolitan area (the urban/metro region) is around 12 million people. \\n\\nNote: population figures depend on definition (city proper vs. urban area vs. metropolitan area) and the year of the data. If you want a specific definition or year, I can provide the exact latest figure.\"]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "029924415bb85b1c",
    "trace_id": "b4bf12064548545c58edf552773b10d5",
    "parent_span_id": "680fd767df808b32",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175634.188,
    "timestamp": 1779175644.016487,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.response.id": "chatcmpl-Dh998MWEKVmjYlPoF45neFysYnQ6C",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 1729,
      "gen_ai.usage.total_tokens": 1810,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"There are a couple of common ways to define “the Paris metropolitan area,” so the numbers differ:\\n\\n- Paris urban area (aire urbaine) — the Paris metropolitan core and its continuous suburbs: about 12 million people (roughly 12.0–12.5 million in recent years).\\n- Île-de-France region — the wider administrative region around Paris: a bit larger, around 12.2–12.7 million.\\n\\nIf you tell me which definition or year you want (e.g., 2019 or 2020 figures), I can give a precise number.\"]"
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/openai :: Multi-Turn LLM Test (blocking, responses)❗︎ 121398ms
checkAISpanCount(3)
checkChatSpanAttributes
5b980c52gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
5b980c52gen_ai.output.messagesMissing output messages attribute
9ccfd25bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9ccfd25bgen_ai.output.messagesMissing output messages attribute
6ff08bb7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
6ff08bb7gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "span_id": "9280c0f92f5fe779",
    "trace_id": "a59582543e61e9b318a84506b4bb5d24",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "5b980c52ef65ad24",
    "start_timestamp": 1779175628.158,
    "timestamp": 1779175629.0986044,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "65ea2b016ad5b1ba",
    "trace_id": "a59582543e61e9b318a84506b4bb5d24",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "9ccfd25b3703d816",
    "start_timestamp": 1779175629.107,
    "timestamp": 1779175637.676529,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "ef979a8c56720ffc",
    "trace_id": "a59582543e61e9b318a84506b4bb5d24",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "6ff08bb7ee2343b0",
    "start_timestamp": 1779175637.679,
    "timestamp": 1779175648.548665,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "cdf60730422e24aa",
    "trace_id": "a59582543e61e9b318a84506b4bb5d24",
    "op": "test",
    "description": "multi-turn-llm-test",
    "start_timestamp": 1779175628.142,
    "timestamp": 1779175648.5497675,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "5b980c52ef65ad24",
    "trace_id": "a59582543e61e9b318a84506b4bb5d24",
    "parent_span_id": "cdf60730422e24aa",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175628.144,
    "timestamp": 1779175629.104938,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "resp_0f5574a51f2b282a006a0c10cc3ae08197a3fc737cbe96152f",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 79,
      "gen_ai.usage.total_tokens": 102,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "Paris."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9ccfd25b3703d816",
    "trace_id": "a59582543e61e9b318a84506b4bb5d24",
    "parent_span_id": "cdf60730422e24aa",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175629.106,
    "timestamp": 1779175637.6777442,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.id": "resp_03b3f3e58ec1b618006a0c10cd27bc81909e0674c2fa385e0a",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 1274,
      "gen_ai.usage.total_tokens": 1322,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "Paris (the city proper) has about 2.1 million residents. If you mean the wider area:\n\n- Paris metropolitan area (Île-de-France): about 12–13 million\n- Paris urban area (aire urbaine): about 12.5–12.7 million\n\nWhich measure would you like? I can give a more exact figure if you specify a year."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "6ff08bb7ee2343b0",
    "trace_id": "a59582543e61e9b318a84506b4bb5d24",
    "parent_span_id": "cdf60730422e24aa",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175637.678,
    "timestamp": 1779175648.549485,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.response.id": "resp_06634235da81c74b006a0c10d5baec819383dec30d19447837",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 1708,
      "gen_ai.usage.total_tokens": 1789,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "If by “metropolitan area” you mean the Paris urban area (the functional Paris area around the city), it has about 12 million people—roughly 12.3 million in 2020 according to the urban-area definitions.\n\nIf you instead mean the Île-de-France region (the administrative region that includes Paris and its suburbs), that population is also around 12 million (about 12.2–12.5 million in recent years).\n\nTo be precise, tell me which definition and year you want:\n- Paris city proper: ~2.1–2.2 million\n- Paris urban area / aire d’attraction des villes: about 12 million\n- Île-de-France region: about 12.2–12.5 million\n\nI can give a specific figure once you pick the definition."
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/openai :: Vision LLM Test (streaming, chat)❗︎ 11498ms
checkChatSpanAttributes
8e8a63f8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8e8a63f8gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(1 span)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (3)
[
  {
    "span_id": "af09e5172ff1ec67",
    "trace_id": "0f29cc49579fd1ec44bc6238424196a2",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "8e8a63f897d1bdf1",
    "start_timestamp": 1779175631.006,
    "timestamp": 1779175631.5221448,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "854c87ceaee6eb32",
    "trace_id": "0f29cc49579fd1ec44bc6238424196a2",
    "op": "test",
    "description": "vision-llm-test",
    "start_timestamp": 1779175630.989,
    "timestamp": 1779175631.5263746,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "8e8a63f897d1bdf1",
    "trace_id": "0f29cc49579fd1ec44bc6238424196a2",
    "parent_span_id": "854c87ceaee6eb32",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175630.991,
    "timestamp": 1779175631.5253057,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.stream": true,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":[{\"type\":\"text\",\"text\":\"What color is this image? Reply with just the color name.\"},{\"type\":\"image_url\",\"image_url\":{\"url\":\"[Blob substitute]\"}}]}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh995WZgLlexrPqGwp0qV9tUxYf1W",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 8538,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "Red"
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/openai :: Vision LLM Test (streaming, responses)❗︎ 11778ms
checkChatSpanAttributes
e0165986gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
e0165986gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(1 span) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(1 span)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (3)
[
  {
    "span_id": "50d68259e7d0a98e",
    "trace_id": "722703f4a8fdd9b20b9745a2948a726f",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "e01659860c7c6e51",
    "start_timestamp": 1779175631.117,
    "timestamp": 1779175631.9249516,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "8bcbac8f03846ebd",
    "trace_id": "722703f4a8fdd9b20b9745a2948a726f",
    "op": "test",
    "description": "vision-llm-test",
    "start_timestamp": 1779175631.1,
    "timestamp": 1779175631.929009,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "e01659860c7c6e51",
    "trace_id": "722703f4a8fdd9b20b9745a2948a726f",
    "parent_span_id": "8bcbac8f03846ebd",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175631.102,
    "timestamp": 1779175631.928157,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.stream": true,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What color is this image? Reply with just the color name.\"},{\"type\":\"input_image\",\"image_url\":\"[Blob substitute]\"}]}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_01a01cc64dcbaf45006a0c10cf2e50819398ed25b875efd5e8",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 2,
      "gen_ai.usage.total_tokens": 8539,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "Red",
      "gen_ai.response.tool_calls": "[{\"id\":\"msg_01a01cc64dcbaf45006a0c10cfaee0819393ead1cdd5eceaa0\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Red\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/openai :: Vision LLM Test (blocking, chat)❗︎ 11378ms
checkChatSpanAttributes
c08a2407gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
c08a2407gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "7741a6fa9d894de8",
    "trace_id": "033943e8728b335be9aeff3037527d58",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "c08a240714eb2a23",
    "start_timestamp": 1779175631.738,
    "timestamp": 1779175632.1608703,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "2b29ebf9dc097be9",
    "trace_id": "033943e8728b335be9aeff3037527d58",
    "op": "test",
    "description": "vision-llm-test",
    "start_timestamp": 1779175631.72,
    "timestamp": 1779175632.1654162,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "c08a240714eb2a23",
    "trace_id": "033943e8728b335be9aeff3037527d58",
    "parent_span_id": "2b29ebf9dc097be9",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175631.723,
    "timestamp": 1779175632.1656663,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":[{\"type\":\"text\",\"text\":\"What color is this image? Reply with just the color name.\"},{\"type\":\"image_url\",\"image_url\":{\"url\":\"[Blob substitute]\"}}]}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "chatcmpl-Dh995XoejUqQ9VUsfmEef3uDzf7xO",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 8538,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Red\"]"
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/openai :: Vision LLM Test (blocking, responses)❗︎ 11817ms
checkChatSpanAttributes
7e21441cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
7e21441cgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "547c52f4da47962d",
    "trace_id": "a523660181195de8a598330383be574e",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "7e21441cb6d4120a",
    "start_timestamp": 1779175632.199,
    "timestamp": 1779175633.0476859,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "759431d6d01a5690",
    "trace_id": "a523660181195de8a598330383be574e",
    "op": "test",
    "description": "vision-llm-test",
    "start_timestamp": 1779175632.179,
    "timestamp": 1779175633.050719,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "7e21441cb6d4120a",
    "trace_id": "a523660181195de8a598330383be574e",
    "parent_span_id": "759431d6d01a5690",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175632.182,
    "timestamp": 1779175633.0507972,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What color is this image? Reply with just the color name.\"},{\"type\":\"input_image\",\"image_url\":\"[Blob substitute]\"}]}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "resp_03d4eb70630616c5006a0c10d04ac481949ea296e4fc76b480",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 2,
      "gen_ai.usage.total_tokens": 8539,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "Red"
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/openai :: Long Input LLM Test (streaming, chat)❗︎ 13086ms
checkChatSpanAttributes
4d9393d8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
4d9393d8gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(1 span)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (3)
[
  {
    "span_id": "16c9179a2e31546d",
    "trace_id": "a3a0253ddd2fddd0a1d4b3be844985f1",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "4d9393d8d5a5b5db",
    "start_timestamp": 1779175632.479,
    "timestamp": 1779175634.6107786,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "abaab12996829b16",
    "trace_id": "a3a0253ddd2fddd0a1d4b3be844985f1",
    "op": "test",
    "description": "long-input-llm-test",
    "start_timestamp": 1779175632.461,
    "timestamp": 1779175634.6136014,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "4d9393d8d5a5b5db",
    "trace_id": "a3a0253ddd2fddd0a1d4b3be844985f1",
    "parent_span_id": "abaab12996829b16",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175632.464,
    "timestamp": 1779175634.6137347,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.stream": true,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh996aDxIPC9hY5F2SXSGf6noOMiO",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.output_tokens": 25,
      "gen_ai.usage.total_tokens": 5454,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "This message is a repetition of \"This is a test message that will be repeated many times to create a very long input.\""
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/openai :: Long Input LLM Test (streaming, responses)❗︎ 12059ms
checkChatSpanAttributes
3c449151gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
3c449151gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(1 span) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(1 span)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (3)
[
  {
    "span_id": "77530d8069e0d77b",
    "trace_id": "13550511ecbead9f4d97ef648aca5857",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "3c449151140ba494",
    "start_timestamp": 1779175632.883,
    "timestamp": 1779175633.980635,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "aba38c44305a69f3",
    "trace_id": "13550511ecbead9f4d97ef648aca5857",
    "op": "test",
    "description": "long-input-llm-test",
    "start_timestamp": 1779175632.864,
    "timestamp": 1779175633.984348,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "3c449151140ba494",
    "trace_id": "13550511ecbead9f4d97ef648aca5857",
    "parent_span_id": "aba38c44305a69f3",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175632.867,
    "timestamp": 1779175633.9845626,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.stream": true,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_0b4b3f43b1a0b740006a0c10d0f3f0819094459ce9feab9167",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.output_tokens": 14,
      "gen_ai.usage.total_tokens": 5443,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "This repeated test message emphasizes the intention to generate an extensive input.",
      "gen_ai.response.tool_calls": "[{\"id\":\"msg_0b4b3f43b1a0b740006a0c10d19b788190815e565e25f088b0\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"This repeated test message emphasizes the intention to generate an extensive input.\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/openai :: Long Input LLM Test (blocking, chat)❗︎ 114581ms
checkChatSpanAttributes
8e54dc35gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8e54dc35gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "01ba8d492b8de666",
    "trace_id": "9b3d68fc79fcb976c17eba47801fca71",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "8e54dc35bc57701f",
    "start_timestamp": 1779175633.133,
    "timestamp": 1779175646.7320125,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "bca65a1059f5381b",
    "trace_id": "9b3d68fc79fcb976c17eba47801fca71",
    "op": "test",
    "description": "long-input-llm-test",
    "start_timestamp": 1779175633.115,
    "timestamp": 1779175646.7368033,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "8e54dc35bc57701f",
    "trace_id": "9b3d68fc79fcb976c17eba47801fca71",
    "parent_span_id": "bca65a1059f5381b",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175633.117,
    "timestamp": 1779175646.7361693,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "chatcmpl-Dh99J6EkEz6PiuZUxSVsbsxBR6Vvv",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.output_tokens": 21,
      "gen_ai.usage.total_tokens": 5450,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"The text is a repetitive message stating that it is a test message designed to create a very long input.\"]"
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/openai :: Long Input LLM Test (blocking, responses)❗︎ 13475ms
checkChatSpanAttributes
79ddbf5agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
79ddbf5agen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "a6b78acc1f65963b",
    "trace_id": "8e9eb0218f90933f12b0b4276bc60ded",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "79ddbf5a64ffde8b",
    "start_timestamp": 1779175633.541,
    "timestamp": 1779175636.064737,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "00c47f7b9e9a6d74",
    "trace_id": "8e9eb0218f90933f12b0b4276bc60ded",
    "op": "test",
    "description": "long-input-llm-test",
    "start_timestamp": 1779175633.524,
    "timestamp": 1779175636.0698175,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "79ddbf5a64ffde8b",
    "trace_id": "8e9eb0218f90933f12b0b4276bc60ded",
    "parent_span_id": "00c47f7b9e9a6d74",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175633.526,
    "timestamp": 1779175636.0690954,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "resp_0076d7f6a5d1d827006a0c10d19ac481958aaa9665cf881a4c",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.output_tokens": 15,
      "gen_ai.usage.total_tokens": 5444,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "This message is a repeated test designed to generate a very long input."
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/openai :: Conversation ID LLM Test (streaming, chat)❗︎ 16113ms
checkAISpanCount(4)
checkChatSpanAttributes
5c4d01b0gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
5c4d01b0gen_ai.output.messagesMissing output messages attribute
c4f9976dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
c4f9976dgen_ai.output.messagesMissing output messages attribute
caa04f47gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
caa04f47gen_ai.output.messagesMissing output messages attribute
e3097577gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
e3097577gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(4 spans)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (9)
[
  {
    "span_id": "f40955a28141d04f",
    "trace_id": "a00ea55e29a51a02b57930794d2829a3",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "5c4d01b077da2076",
    "start_timestamp": 1779175633.999,
    "timestamp": 1779175634.5505686,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "76b4ce237a49e44f",
    "trace_id": "a00ea55e29a51a02b57930794d2829a3",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "c4f9976d4c38eeb3",
    "start_timestamp": 1779175634.555,
    "timestamp": 1779175636.5287094,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "bc9a62babfc9fb16",
    "trace_id": "a00ea55e29a51a02b57930794d2829a3",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "caa04f47bdb46779",
    "start_timestamp": 1779175636.531,
    "timestamp": 1779175637.4213862,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "120ff683b6f3af33",
    "trace_id": "a00ea55e29a51a02b57930794d2829a3",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "e30975776e87dd62",
    "start_timestamp": 1779175637.423,
    "timestamp": 1779175639.1658225,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "87f4c18288f4057a",
    "trace_id": "a00ea55e29a51a02b57930794d2829a3",
    "op": "test",
    "description": "conversation-id-llm-test",
    "start_timestamp": 1779175633.977,
    "timestamp": 1779175639.1666243,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "5c4d01b077da2076",
    "trace_id": "a00ea55e29a51a02b57930794d2829a3",
    "parent_span_id": "87f4c18288f4057a",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175633.98,
    "timestamp": 1779175634.5525458,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh9986KF6ovKSlczO8BwnHrcxTFwx",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 75,
      "gen_ai.usage.total_tokens": 98,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "Paris."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "c4f9976d4c38eeb3",
    "trace_id": "a00ea55e29a51a02b57930794d2829a3",
    "parent_span_id": "87f4c18288f4057a",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175634.554,
    "timestamp": 1779175636.5296423,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh998nVTW258PGerTxTtrbZ058XWX",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 299,
      "gen_ai.usage.total_tokens": 323,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "4. One quick way: start at 2 on a number line and move 2 steps to the right, ending at 4. Want to see another method?"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "caa04f47bdb46779",
    "trace_id": "a00ea55e29a51a02b57930794d2829a3",
    "parent_span_id": "87f4c18288f4057a",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175636.53,
    "timestamp": 1779175637.4218535,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh99Alt2Fjk8MJTDnQBbLKejJy8zc",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 80,
      "gen_ai.usage.total_tokens": 124,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "The capital of Germany is Berlin."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "e30975776e87dd62",
    "trace_id": "a00ea55e29a51a02b57930794d2829a3",
    "parent_span_id": "87f4c18288f4057a",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175637.422,
    "timestamp": 1779175639.1660266,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh99Bq6nzUvrKYwazLfTwNvHr0f6f",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 240,
      "gen_ai.usage.total_tokens": 290,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "3 + 3 equals 6.\n\nExplanation: Adding two sets of three items gives six items in total. If you’d like, I can show a quick number-line method or more examples."
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/openai :: Conversation ID LLM Test (streaming, responses)❗︎ 18638ms
checkAISpanCount(4)
checkChatSpanAttributes
76521159gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
76521159gen_ai.output.messagesMissing output messages attribute
f5dd0644gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
f5dd0644gen_ai.output.messagesMissing output messages attribute
7c14840egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
7c14840egen_ai.output.messagesMissing output messages attribute
032e27cdgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
032e27cdgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(4 spans)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (9)
[
  {
    "span_id": "3cf2343560fc6585",
    "trace_id": "5bec282f6096ff1ca1f25d35d31bd624",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "76521159b8931d10",
    "start_timestamp": 1779175634.358,
    "timestamp": 1779175635.7455451,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "9fb2565c81fc71de",
    "trace_id": "5bec282f6096ff1ca1f25d35d31bd624",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "f5dd064440db2cf2",
    "start_timestamp": 1779175635.749,
    "timestamp": 1779175638.9585695,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "a433416911cf358c",
    "trace_id": "5bec282f6096ff1ca1f25d35d31bd624",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "7c14840e632869a9",
    "start_timestamp": 1779175638.961,
    "timestamp": 1779175640.4710143,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "d90ea6619a0e3fa0",
    "trace_id": "5bec282f6096ff1ca1f25d35d31bd624",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "032e27cd7a9435fa",
    "start_timestamp": 1779175640.473,
    "timestamp": 1779175642.0373554,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "f95d838ab547c43f",
    "trace_id": "5bec282f6096ff1ca1f25d35d31bd624",
    "op": "test",
    "description": "conversation-id-llm-test",
    "start_timestamp": 1779175634.335,
    "timestamp": 1779175642.03816,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "76521159b8931d10",
    "trace_id": "5bec282f6096ff1ca1f25d35d31bd624",
    "parent_span_id": "f95d838ab547c43f",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175634.338,
    "timestamp": 1779175635.747333,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_002014b88cb67148006a0c10d270408194ad8d88b36f83277f",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 138,
      "gen_ai.usage.total_tokens": 161,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "Paris.",
      "gen_ai.response.tool_calls": "[{\"id\":\"rs_002014b88cb67148006a0c10d2d5fc819486c72243c7967425\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_002014b88cb67148006a0c10d3719c8194985b91f89b5ee754\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris.\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "f5dd064440db2cf2",
    "trace_id": "5bec282f6096ff1ca1f25d35d31bd624",
    "parent_span_id": "f95d838ab547c43f",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175635.748,
    "timestamp": 1779175638.959331,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_0e10e595a643786b006a0c10d3cc18819697c99513acaf1b36",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 522,
      "gen_ai.usage.total_tokens": 546,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "4\n\nIf you’d like, I can show a quick visualization (like a number line) or give you more practice with simple additions.",
      "gen_ai.response.tool_calls": "[{\"id\":\"rs_0e10e595a643786b006a0c10d441f08196b6c1dd8b51dd422d\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_0e10e595a643786b006a0c10d698908196affd64335041b542\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"4\\n\\nIf you’d like, I can show a quick visualization (like a number line) or give you more practice with simple additions.\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "7c14840e632869a9",
    "trace_id": "5bec282f6096ff1ca1f25d35d31bd624",
    "parent_span_id": "f95d838ab547c43f",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175638.96,
    "timestamp": 1779175640.4715796,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_07246491842166b3006a0c10d7045081938a667c0802696739",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 179,
      "gen_ai.usage.total_tokens": 223,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "Germany's capital is Berlin.",
      "gen_ai.response.tool_calls": "[{\"id\":\"rs_07246491842166b3006a0c10d7504c819385975c573bf23159\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_07246491842166b3006a0c10d823348193ba51172e4695469c\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Germany's capital is Berlin.\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "032e27cd7a9435fa",
    "trace_id": "5bec282f6096ff1ca1f25d35d31bd624",
    "parent_span_id": "f95d838ab547c43f",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175640.472,
    "timestamp": 1779175642.0378408,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_021c7f0e11441c78006a0c10d885708190a6ae3cbb83ad07ec",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 304,
      "gen_ai.usage.total_tokens": 354,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "3 + 3 = 6.\n\n(Adding three and three gives six. It’s also the same as doubling 3: 3 × 2 = 6.) Want to practice a few more?",
      "gen_ai.response.tool_calls": "[{\"id\":\"rs_021c7f0e11441c78006a0c10d8bf60819090749c18e1320df8\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_021c7f0e11441c78006a0c10d9a08c8190b9d8b10566fd1ec0\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"3 + 3 = 6.\\n\\n(Adding three and three gives six. It’s also the same as doubling 3: 3 × 2 = 6.) Want to practice a few more?\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/openai :: Conversation ID LLM Test (blocking, chat)❗︎ 18429ms
checkAISpanCount(4)
checkChatSpanAttributes
5c9c50ffgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
5c9c50ffgen_ai.output.messagesMissing output messages attribute
f3ecbfc0gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
f3ecbfc0gen_ai.output.messagesMissing output messages attribute
771ebe26gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
771ebe26gen_ai.output.messagesMissing output messages attribute
8829c5efgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8829c5efgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (9)
[
  {
    "span_id": "036d779e739720a8",
    "trace_id": "d215147ba208da6444ee526971ba3b2e",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "5c9c50ffe8a09183",
    "start_timestamp": 1779175634.935,
    "timestamp": 1779175636.6848214,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "c10491be74d1c7d5",
    "trace_id": "d215147ba208da6444ee526971ba3b2e",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "f3ecbfc04124a8fb",
    "start_timestamp": 1779175636.69,
    "timestamp": 1779175638.7192755,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "1605de2deb1791bd",
    "trace_id": "d215147ba208da6444ee526971ba3b2e",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "771ebe262359b588",
    "start_timestamp": 1779175638.721,
    "timestamp": 1779175640.1437545,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "0340f690ad7a48e8",
    "trace_id": "d215147ba208da6444ee526971ba3b2e",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "8829c5ef9155fae7",
    "start_timestamp": 1779175640.146,
    "timestamp": 1779175642.409389,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "ad83d4cc422b339b",
    "trace_id": "d215147ba208da6444ee526971ba3b2e",
    "op": "test",
    "description": "conversation-id-llm-test",
    "start_timestamp": 1779175634.918,
    "timestamp": 1779175642.4103181,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "5c9c50ffe8a09183",
    "trace_id": "d215147ba208da6444ee526971ba3b2e",
    "parent_span_id": "ad83d4cc422b339b",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175634.921,
    "timestamp": 1779175636.68784,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "chatcmpl-Dh999ZiuPVRHtPYn5u06A76W1Ht6p",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 139,
      "gen_ai.usage.total_tokens": 162,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris.\"]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "f3ecbfc04124a8fb",
    "trace_id": "d215147ba208da6444ee526971ba3b2e",
    "parent_span_id": "ad83d4cc422b339b",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175636.688,
    "timestamp": 1779175638.7195218,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "chatcmpl-Dh99AEy5L4omGpmZepU4akoJz7mho",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 296,
      "gen_ai.usage.total_tokens": 320,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"4\\n\\nExplanation: 2 + 2 means combining two and two, which gives four. For example, two apples plus two apples equals four apples.\"]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "771ebe262359b588",
    "trace_id": "d215147ba208da6444ee526971ba3b2e",
    "parent_span_id": "ad83d4cc422b339b",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175638.72,
    "timestamp": 1779175640.1446223,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.id": "chatcmpl-Dh99CiUwUPGLnCv5njv1dH9q1CZMr",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 208,
      "gen_ai.usage.total_tokens": 252,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"The capital of Germany is Berlin.\"]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8829c5ef9155fae7",
    "trace_id": "d215147ba208da6444ee526971ba3b2e",
    "parent_span_id": "ad83d4cc422b339b",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175640.145,
    "timestamp": 1779175642.4101746,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.id": "chatcmpl-Dh99ES7P9m3NXuXz5LeVrqf6ahVv0",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 291,
      "gen_ai.usage.total_tokens": 341,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"3 + 3 = 6.\\n\\nReason: adding two groups of three gives six. Want a few more problems for practice?\"]"
    },
    "status": "ok",
    "is_segment": false
  }
]
nextjs/openai :: Conversation ID LLM Test (blocking, responses)❗︎ 110435ms
checkAISpanCount(4)
checkChatSpanAttributes
882d5962gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
882d5962gen_ai.output.messagesMissing output messages attribute
32457033gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
32457033gen_ai.output.messagesMissing output messages attribute
d39e27f7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
d39e27f7gen_ai.output.messagesMissing output messages attribute
ac529c53gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ac529c53gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (9)
[
  {
    "span_id": "a709bbbc3d4889a7",
    "trace_id": "3551086973283f050bd72c9b58e34e40",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "882d596230ecdd90",
    "start_timestamp": 1779175635.557,
    "timestamp": 1779175636.6441665,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "466b52c71cca3f86",
    "trace_id": "3551086973283f050bd72c9b58e34e40",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "32457033bc134586",
    "start_timestamp": 1779175636.651,
    "timestamp": 1779175639.110065,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "81ded597c640376c",
    "trace_id": "3551086973283f050bd72c9b58e34e40",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "d39e27f7bbc00d12",
    "start_timestamp": 1779175639.112,
    "timestamp": 1779175640.7326667,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "fd075294c7ff689e",
    "trace_id": "3551086973283f050bd72c9b58e34e40",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "ac529c53c2bed15a",
    "start_timestamp": 1779175640.736,
    "timestamp": 1779175645.0264792,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "c5326b22c4e9cb9d",
    "trace_id": "3551086973283f050bd72c9b58e34e40",
    "op": "test",
    "description": "conversation-id-llm-test",
    "start_timestamp": 1779175635.54,
    "timestamp": 1779175645.028986,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "882d596230ecdd90",
    "trace_id": "3551086973283f050bd72c9b58e34e40",
    "parent_span_id": "c5326b22c4e9cb9d",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175635.542,
    "timestamp": 1779175636.6482298,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "resp_06e81ca1094c6e6c006a0c10d39eb081978c8d4aa1e1159f4a",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 128,
      "gen_ai.usage.total_tokens": 151,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "Paris."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "32457033bc134586",
    "trace_id": "3551086973283f050bd72c9b58e34e40",
    "parent_span_id": "c5326b22c4e9cb9d",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175636.649,
    "timestamp": 1779175639.1107452,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "resp_06ecdb245ddf8170006a0c10d4b3f8819491f7669fe8f53932",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 333,
      "gen_ai.usage.total_tokens": 357,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "4. Quick explanation: two groups of two objects total four objects.\n\nWould you like a quick practice or a short explanation of a related concept (like counting on a number line)?"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "d39e27f7bbc00d12",
    "trace_id": "3551086973283f050bd72c9b58e34e40",
    "parent_span_id": "c5326b22c4e9cb9d",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175639.111,
    "timestamp": 1779175640.7337186,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.id": "resp_07ac173d78b4d3c2006a0c10d728a48196b7c9e30042242791",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 177,
      "gen_ai.usage.total_tokens": 221,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "The capital of Germany is Berlin. If you want more details about Germany, I can share them."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "ac529c53c2bed15a",
    "trace_id": "3551086973283f050bd72c9b58e34e40",
    "parent_span_id": "c5326b22c4e9cb9d",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175640.735,
    "timestamp": 1779175645.0286598,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.id": "resp_0409126e13f35b11006a0c10d8c8848194abb6b9d3189eae2c",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 380,
      "gen_ai.usage.total_tokens": 430,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "3 + 3 = 6.\n\nIdea: two groups of three add up to six (e.g., three apples plus three apples equals six apples)."
    },
    "status": "ok",
    "is_segment": false
  }
]
node/anthropic :: Basic LLM Test (streaming)❗︎ 12090ms
checkAISpanCount(1)
checkChatSpanAttributes
3e0a6a89gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
3e0a6a89gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "68816677e49349b2",
    "trace_id": "0bc1d02672e20206161dc8de55569063",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "3e0a6a890603fec1",
    "start_timestamp": 1779175636.498,
    "timestamp": 1779175637.3101423,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "62907beb7a38b5fb",
    "trace_id": "0bc1d02672e20206161dc8de55569063",
    "op": "test",
    "description": "basic-llm-test",
    "start_timestamp": 1779175636.48,
    "timestamp": 1779175637.312159,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "3e0a6a890603fec1",
    "trace_id": "0bc1d02672e20206161dc8de55569063",
    "parent_span_id": "62907beb7a38b5fb",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175636.482,
    "timestamp": 1779175637.3075876,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_01WkqgYfpJaxqkBfhQmubo4h",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "gen_ai.response.text": "The capital of France is Paris."
    },
    "status": "ok",
    "is_segment": false
  }
]
node/anthropic :: Basic LLM Test (blocking)❗︎ 11830ms
checkAISpanCount(1)
checkChatSpanAttributes
66d552d7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
66d552d7gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "bcbe92b6997d2155",
    "trace_id": "6b9de16b5a8eef5cbfc9af1d67dbb105",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "66d552d7688d91f3",
    "start_timestamp": 1779175636.497,
    "timestamp": 1779175637.0586872,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "4169347c9f148883",
    "trace_id": "6b9de16b5a8eef5cbfc9af1d67dbb105",
    "op": "test",
    "description": "basic-llm-test",
    "start_timestamp": 1779175636.481,
    "timestamp": 1779175637.0629795,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "66d552d7688d91f3",
    "trace_id": "6b9de16b5a8eef5cbfc9af1d67dbb105",
    "parent_span_id": "4169347c9f148883",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175636.483,
    "timestamp": 1779175637.0623913,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.response.id": "msg_01P9MZxADZynpxzM8JwdCqdn",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30
    },
    "status": "ok",
    "is_segment": false
  }
]
node/anthropic :: Multi-Turn LLM Test (streaming)❗︎ 16560ms
checkAISpanCount(3)
checkChatSpanAttributes
c1c96dc4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
c1c96dc4gen_ai.output.messagesMissing output messages attribute
9f267641gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9f267641gen_ai.output.messagesMissing output messages attribute
252abd38gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
252abd38gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "span_id": "457fc580dd596814",
    "trace_id": "667607e2667e3794712998e2b536d544",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "c1c96dc4176d6d54",
    "start_timestamp": 1779175637.135,
    "timestamp": 1779175638.0496678,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "31e7cb6c54b4c484",
    "trace_id": "667607e2667e3794712998e2b536d544",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "9f267641a0b6b8ed",
    "start_timestamp": 1779175638.056,
    "timestamp": 1779175640.1138368,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "8d4ecc8eb17be1c1",
    "trace_id": "667607e2667e3794712998e2b536d544",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "252abd381697ce40",
    "start_timestamp": 1779175640.116,
    "timestamp": 1779175642.6103804,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "5d119ea1ca05fc36",
    "trace_id": "667607e2667e3794712998e2b536d544",
    "op": "test",
    "description": "multi-turn-llm-test",
    "start_timestamp": 1779175637.119,
    "timestamp": 1779175642.611233,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "c1c96dc4176d6d54",
    "trace_id": "667607e2667e3794712998e2b536d544",
    "parent_span_id": "5d119ea1ca05fc36",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175637.121,
    "timestamp": 1779175638.0480561,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_01Ko7zQqaY2w64F9BkMXbgST",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "gen_ai.response.text": "The capital of France is Paris."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9f267641a0b6b8ed",
    "trace_id": "667607e2667e3794712998e2b536d544",
    "parent_span_id": "5d119ea1ca05fc36",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175638.054,
    "timestamp": 1779175640.1122239,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_01Rn7F4hAfJp7RVQHUWpuswj",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 41,
      "gen_ai.usage.output_tokens": 93,
      "gen_ai.usage.total_tokens": 134,
      "gen_ai.response.text": "Paris has a population of approximately 2.1-2.2 million people within the city proper, making it the most populous city in France.\n\nHowever, the greater Paris metropolitan area (Île-de-France region) has a much larger population of around 12 million people, making it one of the largest metropolitan areas in Europe.\n\nThe exact figures can vary slightly depending on the source and how city boundaries are defined."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "252abd381697ce40",
    "trace_id": "667607e2667e3794712998e2b536d544",
    "parent_span_id": "5d119ea1ca05fc36",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175640.115,
    "timestamp": 1779175642.261263,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_01JNrKxQ4Xa17KQRmSneQkYu",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 71,
      "gen_ai.usage.output_tokens": 38,
      "gen_ai.usage.total_tokens": 109,
      "gen_ai.response.text": "The Paris metropolitan area (Île-de-France region) has a population of approximately 12 million people, making it one of the largest metropolitan areas in Europe."
    },
    "status": "ok",
    "is_segment": false
  }
]
node/anthropic :: Multi-Turn LLM Test (blocking)❗︎ 14975ms
checkAISpanCount(3)
checkChatSpanAttributes
090077b1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
090077b1gen_ai.output.messagesMissing output messages attribute
bd11f3acgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bd11f3acgen_ai.output.messagesMissing output messages attribute
f1305a2cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
f1305a2cgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "span_id": "79f095ee09fcb525",
    "trace_id": "0f32748585a3206555a261be70267f40",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "090077b16c6a425a",
    "start_timestamp": 1779175638.151,
    "timestamp": 1779175638.9045253,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "9744425a4a24b695",
    "trace_id": "0f32748585a3206555a261be70267f40",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "bd11f3ac2dfa7143",
    "start_timestamp": 1779175638.909,
    "timestamp": 1779175640.5057783,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "db644e2a462e14ca",
    "trace_id": "0f32748585a3206555a261be70267f40",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "f1305a2c362f27cc",
    "start_timestamp": 1779175640.508,
    "timestamp": 1779175642.0344546,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "f5ffab43b82a165a",
    "trace_id": "0f32748585a3206555a261be70267f40",
    "op": "test",
    "description": "multi-turn-llm-test",
    "start_timestamp": 1779175638.135,
    "timestamp": 1779175642.0357206,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "090077b16c6a425a",
    "trace_id": "0f32748585a3206555a261be70267f40",
    "parent_span_id": "f5ffab43b82a165a",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175638.136,
    "timestamp": 1779175638.906772,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.text": "The capital of France is **Paris**.",
      "gen_ai.response.id": "msg_01SP7iHjFV1NrQFNoPmTS2Zw",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 11,
      "gen_ai.usage.total_tokens": 31
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "bd11f3ac2dfa7143",
    "trace_id": "0f32748585a3206555a261be70267f40",
    "parent_span_id": "f5ffab43b82a165a",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175638.908,
    "timestamp": 1779175640.506859,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.text": "Paris has a population of approximately 2.1-2.2 million people within the city proper, making it one of the most populous cities in Europe.\n\nHowever, the larger metropolitan area (Île-de-France region) has a population of around 12 million people, which is significantly larger.\n\nThe exact figures can vary depending on the source and how city boundaries are defined, but these are the current approximate numbers.",
      "gen_ai.response.id": "msg_013UQWdxtNkdxu5ua4KdBc6d",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 41,
      "gen_ai.usage.output_tokens": 93,
      "gen_ai.usage.total_tokens": 134
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "f1305a2c362f27cc",
    "trace_id": "0f32748585a3206555a261be70267f40",
    "parent_span_id": "f5ffab43b82a165a",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175640.507,
    "timestamp": 1779175642.0350451,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.response.text": "The Paris metropolitan area (Île-de-France region) has a population of approximately 12 million people, making it one of the largest metropolitan areas in Europe.",
      "gen_ai.response.id": "msg_0112Gp5U7icBgZavqrgsW9A4",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 71,
      "gen_ai.usage.output_tokens": 38,
      "gen_ai.usage.total_tokens": 109
    },
    "status": "ok",
    "is_segment": false
  }
]
node/anthropic :: Vision LLM Test (streaming)❗︎ 11622ms
checkChatSpanAttributes
de76e8b6gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
de76e8b6gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "d43107b1ea05821d",
    "trace_id": "a66f6b2c3028ba458d2690363de04501",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "de76e8b63c0aaf3a",
    "start_timestamp": 1779175640.225,
    "timestamp": 1779175640.7850485,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "84b167abb4fc8458",
    "trace_id": "a66f6b2c3028ba458d2690363de04501",
    "op": "test",
    "description": "vision-llm-test",
    "start_timestamp": 1779175640.208,
    "timestamp": 1779175640.787688,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "de76e8b63c0aaf3a",
    "trace_id": "a66f6b2c3028ba458d2690363de04501",
    "parent_span_id": "84b167abb4fc8458",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175640.21,
    "timestamp": 1779175640.7820873,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":[{\"type\":\"text\",\"text\":\"What color is this image? Reply with just the color name.\"},{\"type\":\"image\",\"source\":{\"type\":\"base64\",\"media_type\":\"image/png\",\"data\":\"[Blob substitute]\"}}]}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_01W6jtYXpVur2MNq7qdXnEAG",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 38,
      "gen_ai.usage.output_tokens": 4,
      "gen_ai.usage.total_tokens": 42,
      "gen_ai.response.text": "Pink"
    },
    "status": "ok",
    "is_segment": false
  }
]
node/anthropic :: Vision LLM Test (blocking)❗︎ 11885ms
checkChatSpanAttributes
feebc149gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
feebc149gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "18078e99bc3b9847",
    "trace_id": "a4f1f1e9f37a706ac69dab22ff855f94",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "feebc149d323df73",
    "start_timestamp": 1779175640.786,
    "timestamp": 1779175641.6016626,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "32b46a89628d2a2f",
    "trace_id": "a4f1f1e9f37a706ac69dab22ff855f94",
    "op": "test",
    "description": "vision-llm-test",
    "start_timestamp": 1779175640.769,
    "timestamp": 1779175641.6048057,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "feebc149d323df73",
    "trace_id": "a4f1f1e9f37a706ac69dab22ff855f94",
    "parent_span_id": "32b46a89628d2a2f",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175640.771,
    "timestamp": 1779175641.6044626,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":[{\"type\":\"text\",\"text\":\"What color is this image? Reply with just the color name.\"},{\"type\":\"image\",\"source\":{\"type\":\"base64\",\"media_type\":\"image/png\",\"data\":\"[Blob substitute]\"}}]}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.text": "Pink",
      "gen_ai.response.id": "msg_01HXUS9hRZtvyCA8doUx2viV",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 38,
      "gen_ai.usage.output_tokens": 4,
      "gen_ai.usage.total_tokens": 42
    },
    "status": "ok",
    "is_segment": false
  }
]
node/anthropic :: Long Input LLM Test (streaming)❗︎ 12600ms
checkChatSpanAttributes
6e234a2dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
6e234a2dgen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "8361e8006adb81f0",
    "trace_id": "525ed0b8abf4fcb3aa2222a7a9a9cf50",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "6e234a2d92e83d37",
    "start_timestamp": 1779175641.851,
    "timestamp": 1779175643.3623683,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "ae0e126aa00887da",
    "trace_id": "525ed0b8abf4fcb3aa2222a7a9a9cf50",
    "op": "test",
    "description": "long-input-llm-test",
    "start_timestamp": 1779175641.834,
    "timestamp": 1779175643.3669136,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "6e234a2d92e83d37",
    "trace_id": "525ed0b8abf4fcb3aa2222a7a9a9cf50",
    "parent_span_id": "ae0e126aa00887da",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175641.836,
    "timestamp": 1779175643.3587532,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_01UFGuNwzUk78DQwYZdZfTB3",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 5426,
      "gen_ai.usage.output_tokens": 18,
      "gen_ai.usage.total_tokens": 5444,
      "gen_ai.response.text": "This message is a test sentence repeated many times to create a lengthy input."
    },
    "status": "ok",
    "is_segment": false
  }
]
node/anthropic :: Long Input LLM Test (blocking)❗︎ 11974ms
checkChatSpanAttributes
ecfad004gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ecfad004gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "93289cc618ce078e",
    "trace_id": "c2284257463d57d9c98b5e9b139de538",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "ecfad004bcd80166",
    "start_timestamp": 1779175642.729,
    "timestamp": 1779175643.5621197,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "8138b0c568a72370",
    "trace_id": "c2284257463d57d9c98b5e9b139de538",
    "op": "test",
    "description": "long-input-llm-test",
    "start_timestamp": 1779175642.705,
    "timestamp": 1779175643.5689082,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "ecfad004bcd80166",
    "trace_id": "c2284257463d57d9c98b5e9b139de538",
    "parent_span_id": "8138b0c568a72370",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175642.707,
    "timestamp": 1779175643.5659924,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.text": "A test message is repeated many times to create lengthy input.",
      "gen_ai.response.id": "msg_01JbCfEURPMaHF4kKnFwx5iK",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 5426,
      "gen_ai.usage.output_tokens": 15,
      "gen_ai.usage.total_tokens": 5441
    },
    "status": "ok",
    "is_segment": false
  }
]
node/anthropic :: Conversation ID LLM Test (streaming)❗︎ 14667ms
checkAISpanCount(4)
checkChatSpanAttributes
d7678c07gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
d7678c07gen_ai.output.messagesMissing output messages attribute
faf1b695gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
faf1b695gen_ai.output.messagesMissing output messages attribute
0da096b8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
0da096b8gen_ai.output.messagesMissing output messages attribute
1cac788cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
1cac788cgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (9)
[
  {
    "span_id": "323c9ca5d6afb45f",
    "trace_id": "820a561fde4d8782820571bc8cc5c3a1",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "d7678c07abd2d274",
    "start_timestamp": 1779175643.221,
    "timestamp": 1779175644.3196619,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "599944a8254c5dde",
    "trace_id": "820a561fde4d8782820571bc8cc5c3a1",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "faf1b6959e782764",
    "start_timestamp": 1779175644.341,
    "timestamp": 1779175644.932844,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "9c27faaae6261334",
    "trace_id": "820a561fde4d8782820571bc8cc5c3a1",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "0da096b8292dbee1",
    "start_timestamp": 1779175644.938,
    "timestamp": 1779175645.979316,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "d021cbf19a31edb0",
    "trace_id": "820a561fde4d8782820571bc8cc5c3a1",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "1cac788c5f6577cd",
    "start_timestamp": 1779175645.982,
    "timestamp": 1779175646.6815116,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "10ab92789d6feb18",
    "trace_id": "820a561fde4d8782820571bc8cc5c3a1",
    "op": "test",
    "description": "conversation-id-llm-test",
    "start_timestamp": 1779175643.197,
    "timestamp": 1779175646.6822743,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "d7678c07abd2d274",
    "trace_id": "820a561fde4d8782820571bc8cc5c3a1",
    "parent_span_id": "10ab92789d6feb18",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175643.2,
    "timestamp": 1779175644.330884,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_012an2qDLGb5RfmYT3Vy5hY9",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 64,
      "gen_ai.usage.total_tokens": 84,
      "gen_ai.response.text": "The capital of France is **Paris**. It is located in the north-central part of the country along the Seine River and is the largest city in France. Paris is known for its iconic landmarks such as the Eiffel Tower, Notre-Dame Cathedral, and the Louvre Museum."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "faf1b6959e782764",
    "trace_id": "820a561fde4d8782820571bc8cc5c3a1",
    "parent_span_id": "10ab92789d6feb18",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175644.339,
    "timestamp": 1779175644.931631,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_0145WzRSvvfVGfnSvaC1otU7",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 25,
      "gen_ai.usage.total_tokens": 48,
      "gen_ai.response.text": "2 + 2 = **4**\n\nIs there anything else you'd like help with?"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "0da096b8292dbee1",
    "trace_id": "820a561fde4d8782820571bc8cc5c3a1",
    "parent_span_id": "10ab92789d6feb18",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175644.935,
    "timestamp": 1779175645.9405596,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_01GsnfaEVXCRYibgn6nZDKiu",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 37,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 47,
      "gen_ai.response.text": "The capital of Germany is Berlin."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "1cac788c5f6577cd",
    "trace_id": "820a561fde4d8782820571bc8cc5c3a1",
    "parent_span_id": "10ab92789d6feb18",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175645.98,
    "timestamp": 1779175646.679695,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "msg_01C1XEbA9vXJ6tyCZdkhesoL",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 49,
      "gen_ai.usage.output_tokens": 14,
      "gen_ai.usage.total_tokens": 63,
      "gen_ai.response.text": "3 + 3 equals 6."
    },
    "status": "ok",
    "is_segment": false
  }
]
node/anthropic :: Conversation ID LLM Test (blocking)❗︎ 14758ms
checkAISpanCount(4)
checkChatSpanAttributes
504c9fb7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
504c9fb7gen_ai.output.messagesMissing output messages attribute
14bc4967gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
14bc4967gen_ai.output.messagesMissing output messages attribute
f8b0eae4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
f8b0eae4gen_ai.output.messagesMissing output messages attribute
4197f30fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
4197f30fgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (9)
[
  {
    "span_id": "3bfcf266821a533c",
    "trace_id": "0a2731bc4caf0a350cb12a941ba5f2b7",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "504c9fb72f43738f",
    "start_timestamp": 1779175643.283,
    "timestamp": 1779175644.355294,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "33128f058f1c72f1",
    "trace_id": "0a2731bc4caf0a350cb12a941ba5f2b7",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "14bc49677531b330",
    "start_timestamp": 1779175644.379,
    "timestamp": 1779175645.2121646,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "067bac04aa59e816",
    "trace_id": "0a2731bc4caf0a350cb12a941ba5f2b7",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "f8b0eae4a3660d53",
    "start_timestamp": 1779175645.215,
    "timestamp": 1779175646.2029953,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "fb6a180680719eb8",
    "trace_id": "0a2731bc4caf0a350cb12a941ba5f2b7",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "4197f30fdf2bc3cf",
    "start_timestamp": 1779175646.208,
    "timestamp": 1779175646.7790735,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "88172fa15c6d5ec9",
    "trace_id": "0a2731bc4caf0a350cb12a941ba5f2b7",
    "op": "test",
    "description": "conversation-id-llm-test",
    "start_timestamp": 1779175643.264,
    "timestamp": 1779175646.7807403,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "504c9fb72f43738f",
    "trace_id": "0a2731bc4caf0a350cb12a941ba5f2b7",
    "parent_span_id": "88172fa15c6d5ec9",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175643.267,
    "timestamp": 1779175644.370071,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.text": "The capital of France is **Paris**. It is located in the north-central part of the country along the Seine River and is the largest city in France. Paris is known for its historic landmarks, culture, art, and cuisine.",
      "gen_ai.response.id": "msg_01Pjv4K5Jo4JwLAnCpTeU897",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 51,
      "gen_ai.usage.total_tokens": 71
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "14bc49677531b330",
    "trace_id": "0a2731bc4caf0a350cb12a941ba5f2b7",
    "parent_span_id": "88172fa15c6d5ec9",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175644.371,
    "timestamp": 1779175645.2130835,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.text": "2 + 2 = **4**\n\nThis is one of the fundamental addition facts in arithmetic. Is there anything else you'd like help with?",
      "gen_ai.response.id": "msg_01FUy5gqYn4dKCX19tMmHuot",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 36,
      "gen_ai.usage.total_tokens": 59
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "f8b0eae4a3660d53",
    "trace_id": "0a2731bc4caf0a350cb12a941ba5f2b7",
    "parent_span_id": "88172fa15c6d5ec9",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175645.214,
    "timestamp": 1779175646.2072387,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.text": "The capital of Germany is Berlin.",
      "gen_ai.response.id": "msg_014LYZniWyz2avQgcqmCYkbW",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 37,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 47
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "4197f30fdf2bc3cf",
    "trace_id": "0a2731bc4caf0a350cb12a941ba5f2b7",
    "parent_span_id": "88172fa15c6d5ec9",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175646.207,
    "timestamp": 1779175646.7800496,
    "data": {
      "sentry.origin": "auto.ai.anthropic",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.text": "3 + 3 equals 6.",
      "gen_ai.response.id": "msg_012KNibaF53SZUpiPvi46X1s",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.usage.input_tokens": 49,
      "gen_ai.usage.output_tokens": 14,
      "gen_ai.usage.total_tokens": 63
    },
    "status": "ok",
    "is_segment": false
  }
]
node/google-genai :: Basic LLM Test (streaming)❗︎ 112918ms
checkAISpanCount(1)
checkChatSpanAttributes
a5b402d9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a5b402d9gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "0cd98af245fd07cd",
    "trace_id": "3ea5215ecd5c8dbcd70e084975aa32df",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "url.query": "?alt=sse",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "142.251.16.95",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "parent_span_id": "a5b402d9da5adca8",
    "start_timestamp": 1779175644.463,
    "timestamp": 1779175655.2849793,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "bc3a0b782d937942",
    "trace_id": "3ea5215ecd5c8dbcd70e084975aa32df",
    "op": "test",
    "description": "basic-llm-test",
    "start_timestamp": 1779175644.424,
    "timestamp": 1779175655.2988,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "a5b402d9da5adca8",
    "trace_id": "3ea5215ecd5c8dbcd70e084975aa32df",
    "parent_span_id": "bc3a0b782d937942",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175644.426,
    "timestamp": 1779175655.2941113,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is the capital of France?\"}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "3BAMaufYJa6wjMcP-Kez4AY",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "The capital of France is **Paris**."
    },
    "status": "ok",
    "is_segment": false
  }
]
node/google-genai :: Basic LLM Test (blocking)❗︎ 1 1⚠︎ 13071ms
checkAISpanCount(1)
checkChatSpanAttributes
d3b68e0bgen_ai.usage.input_tokensSpan d3b68e0b: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
d3b68e0bgen_ai.usage.output_tokensSpan d3b68e0b: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkValidTokenUsage
d3b68e0bgen_ai.usage.input_tokensinput_tokens must exist
d3b68e0bgen_ai.usage.output_tokensoutput_tokens must exist
d3b68e0bgen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
d3b68e0bgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "b91ac514dc627947",
    "trace_id": "0bcd4a05e1850539d95e406658dfb0c0",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "172.253.63.95",
      "network.peer.port": 443,
      "http.response.status_code": 503,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "parent_span_id": "d3b68e0bf5e0fd3b",
    "start_timestamp": 1779175644.475,
    "timestamp": 1779175645.6616328,
    "status": "unavailable",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "7f9b6dfc76ad2b07",
    "trace_id": "0bcd4a05e1850539d95e406658dfb0c0",
    "op": "test",
    "description": "basic-llm-test",
    "start_timestamp": 1779175644.435,
    "timestamp": 1779175645.6739092,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "d3b68e0bf5e0fd3b",
    "trace_id": "0bcd4a05e1850539d95e406658dfb0c0",
    "parent_span_id": "7f9b6dfc76ad2b07",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175644.439,
    "timestamp": 1779175645.670753,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is the capital of France?\"}]}]"
    },
    "status": "error",
    "is_segment": false
  }
]
node/google-genai :: Multi-Turn LLM Test (streaming)❗︎ 120402ms
checkAISpanCount(3)
checkChatSpanAttributes
38e0ec24gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
38e0ec24gen_ai.output.messagesMissing output messages attribute
a15f8130gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a15f8130gen_ai.output.messagesMissing output messages attribute
a6188a48gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a6188a48gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "span_id": "910f371fa82968ed",
    "trace_id": "1c8bdd9377b4dadd5773a478584d32f1",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "url.query": "?alt=sse",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "142.251.111.95",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "parent_span_id": "38e0ec245100f565",
    "start_timestamp": 1779175644.505,
    "timestamp": 1779175652.4626927,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "064691208460ec53",
    "trace_id": "1c8bdd9377b4dadd5773a478584d32f1",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "url.query": "?alt=sse",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "172.253.63.95",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "parent_span_id": "a15f81303d990a69",
    "start_timestamp": 1779175652.483,
    "timestamp": 1779175661.0702777,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "d6941bac02625dfe",
    "trace_id": "1c8bdd9377b4dadd5773a478584d32f1",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "url.query": "?alt=sse",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "172.253.62.95",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "parent_span_id": "a6188a482b287412",
    "start_timestamp": 1779175661.072,
    "timestamp": 1779175663.1842024,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "d0a44236058a4136",
    "trace_id": "1c8bdd9377b4dadd5773a478584d32f1",
    "op": "test",
    "description": "multi-turn-llm-test",
    "start_timestamp": 1779175644.488,
    "timestamp": 1779175663.1855476,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "38e0ec245100f565",
    "trace_id": "1c8bdd9377b4dadd5773a478584d32f1",
    "parent_span_id": "d0a44236058a4136",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175644.491,
    "timestamp": 1779175652.4769883,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is the capital of France?\"}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "3BAMapiwJsW8_uMP1fOykAo",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "The capital of France is **Paris**."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a15f81303d990a69",
    "trace_id": "1c8bdd9377b4dadd5773a478584d32f1",
    "parent_span_id": "d0a44236058a4136",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175652.481,
    "timestamp": 1779175661.070939,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is the population of that city?\"}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "5BAMaoCmI_6__uMPo5_K6A8",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 32,
      "gen_ai.usage.output_tokens": 71,
      "gen_ai.usage.total_tokens": 103,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "The population of Paris is approximately **2.1 million** as of the most recent estimates (around 2022-2023).\n\nIt's important to note that this figure usually refers to the *city proper* (Ville de Paris) and doesn't include the larger metropolitan area, which has a much higher population."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a6188a482b287412",
    "trace_id": "1c8bdd9377b4dadd5773a478584d32f1",
    "parent_span_id": "d0a44236058a4136",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175661.071,
    "timestamp": 1779175663.184772,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What about the metropolitan area?\"}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "7RAMapbsCdaQ1MkP1fLB6AI",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 57,
      "gen_ai.usage.output_tokens": 57,
      "gen_ai.usage.total_tokens": 114,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "The population of the **Paris metropolitan area** is significantly larger. It's estimated to be around **11.2 million people**.\n\nThis figure includes the city of Paris itself, as well as its surrounding suburbs and commuter towns that are economically and socially integrated with the city."
    },
    "status": "ok",
    "is_segment": false
  }
]
node/google-genai :: Multi-Turn LLM Test (blocking)❗︎ 17590ms
checkAISpanCount(3)
checkChatSpanAttributes
61bf56c5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
61bf56c5gen_ai.output.messagesMissing output messages attribute
285aa444gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
285aa444gen_ai.output.messagesMissing output messages attribute
448e870bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
448e870bgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "span_id": "8ee3bda484c8e07d",
    "trace_id": "817d64c0f42e6c4fbf1c79941c9e6aaf",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "192.178.218.95",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "parent_span_id": "61bf56c5681a08c7",
    "start_timestamp": 1779175645.169,
    "timestamp": 1779175648.482394,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "21f3290ee0e515d6",
    "trace_id": "817d64c0f42e6c4fbf1c79941c9e6aaf",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "192.178.218.95",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "parent_span_id": "285aa4448cfb6040",
    "start_timestamp": 1779175648.494,
    "timestamp": 1779175650.2658055,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "8be6bf3b60d9bd89",
    "trace_id": "817d64c0f42e6c4fbf1c79941c9e6aaf",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "192.178.218.95",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "parent_span_id": "448e870b39b3653b",
    "start_timestamp": 1779175650.272,
    "timestamp": 1779175650.9511223,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "b38335f052e7e457",
    "trace_id": "817d64c0f42e6c4fbf1c79941c9e6aaf",
    "op": "test",
    "description": "multi-turn-llm-test",
    "start_timestamp": 1779175645.153,
    "timestamp": 1779175650.9527838,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "61bf56c5681a08c7",
    "trace_id": "817d64c0f42e6c4fbf1c79941c9e6aaf",
    "parent_span_id": "b38335f052e7e457",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175645.155,
    "timestamp": 1779175648.4899933,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is the capital of France?\"}]}]",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "gen_ai.response.text": "The capital of France is **Paris**."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "285aa4448cfb6040",
    "trace_id": "817d64c0f42e6c4fbf1c79941c9e6aaf",
    "parent_span_id": "b38335f052e7e457",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175648.492,
    "timestamp": 1779175650.2684202,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is the population of that city?\"}]}]",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 32,
      "gen_ai.usage.output_tokens": 59,
      "gen_ai.usage.total_tokens": 91,
      "gen_ai.response.text": "The population of Paris is approximately **2.1 million people** within the administrative city limits.\n\nHowever, if you consider the larger **metropolitan area** of Paris (which includes the suburbs), the population is much larger, estimated to be around **11-12 million people**."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "448e870b39b3653b",
    "trace_id": "817d64c0f42e6c4fbf1c79941c9e6aaf",
    "parent_span_id": "b38335f052e7e457",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175650.269,
    "timestamp": 1779175650.9524555,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What about the metropolitan area?\"}]}]",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 57,
      "gen_ai.usage.output_tokens": 25,
      "gen_ai.usage.total_tokens": 82,
      "gen_ai.response.text": "The population of the **Paris metropolitan area** is significantly larger. It is estimated to be around **11 million people**."
    },
    "status": "ok",
    "is_segment": false
  }
]
node/google-genai :: Vision LLM Test (streaming)❗︎ 17806ms
checkChatSpanAttributes
f9ccb2a8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
f9ccb2a8gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "177eb99555bc428e",
    "trace_id": "da626dc8873088febdd2efc1b58c4b1e",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "url.query": "?alt=sse",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "64.233.180.95",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "parent_span_id": "f9ccb2a8d83f96cd",
    "start_timestamp": 1779175646.415,
    "timestamp": 1779175652.798418,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "1c2cb123222349b2",
    "trace_id": "da626dc8873088febdd2efc1b58c4b1e",
    "op": "test",
    "description": "vision-llm-test",
    "start_timestamp": 1779175646.399,
    "timestamp": 1779175652.8053641,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "f9ccb2a8d83f96cd",
    "trace_id": "da626dc8873088febdd2efc1b58c4b1e",
    "parent_span_id": "1c2cb123222349b2",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175646.402,
    "timestamp": 1779175652.8048444,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What color is this image? Reply with just the color name.\"},{\"inlineData\":{\"mimeType\":\"image/png\",\"data\":\"[Blob substitute]\"}}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "3hAMaoHnIPStsOIPrLSWmQ8",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 286,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 287,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "Coral"
    },
    "status": "ok",
    "is_segment": false
  }
]
node/google-genai :: Vision LLM Test (blocking)❗︎ 12222ms
checkChatSpanAttributes
8fbe9728gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8fbe9728gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "c7be9488a669b05a",
    "trace_id": "e62402b698c04a1b889441ec9812fd10",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "172.253.122.95",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "parent_span_id": "8fbe9728cf7ae71a",
    "start_timestamp": 1779175646.886,
    "timestamp": 1779175647.5177262,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "ce259f187356bd02",
    "trace_id": "e62402b698c04a1b889441ec9812fd10",
    "op": "test",
    "description": "vision-llm-test",
    "start_timestamp": 1779175646.866,
    "timestamp": 1779175647.5234718,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "8fbe9728cf7ae71a",
    "trace_id": "e62402b698c04a1b889441ec9812fd10",
    "parent_span_id": "ce259f187356bd02",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175646.869,
    "timestamp": 1779175647.5226984,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What color is this image? Reply with just the color name.\"},{\"inlineData\":{\"mimeType\":\"image/png\",\"data\":\"[Blob substitute]\"}}]}]",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 286,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 287,
      "gen_ai.response.text": "Coral"
    },
    "status": "ok",
    "is_segment": false
  }
]
node/google-genai :: Long Input LLM Test (streaming)❗︎ 12263ms
checkChatSpanAttributes
411bdf21gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
411bdf21gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "ff110a7b2f9c63bc",
    "trace_id": "0a72f522487041c4297700d6003b7cc2",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "url.query": "?alt=sse",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "142.251.163.95",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "parent_span_id": "411bdf21cc316311",
    "start_timestamp": 1779175647.185,
    "timestamp": 1779175647.838127,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "3b673921a06fbf7f",
    "trace_id": "0a72f522487041c4297700d6003b7cc2",
    "op": "test",
    "description": "long-input-llm-test",
    "start_timestamp": 1779175647.168,
    "timestamp": 1779175647.8431795,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "411bdf21cc316311",
    "trace_id": "0a72f522487041c4297700d6003b7cc2",
    "parent_span_id": "3b673921a06fbf7f",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175647.17,
    "timestamp": 1779175647.8422382,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be rep\"}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "3xAMaujbEsP1jMcPlteniQQ",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 5419,
      "gen_ai.usage.output_tokens": 17,
      "gen_ai.usage.total_tokens": 5436,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "This input consists of a repeated test message intended to create a very long input."
    },
    "status": "ok",
    "is_segment": false
  }
]
node/google-genai :: Long Input LLM Test (blocking)❗︎ 12328ms
checkChatSpanAttributes
2ae7cd72gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
2ae7cd72gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "1366cb88e0db7da6",
    "trace_id": "69e5e0fc6790978539406a6e27f8aef2",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "172.253.62.95",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "parent_span_id": "2ae7cd72f7e1b894",
    "start_timestamp": 1779175647.249,
    "timestamp": 1779175647.9350116,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "db425085ccc06db9",
    "trace_id": "69e5e0fc6790978539406a6e27f8aef2",
    "op": "test",
    "description": "long-input-llm-test",
    "start_timestamp": 1779175647.237,
    "timestamp": 1779175647.952061,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "2ae7cd72f7e1b894",
    "trace_id": "69e5e0fc6790978539406a6e27f8aef2",
    "parent_span_id": "db425085ccc06db9",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175647.239,
    "timestamp": 1779175647.9496133,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be rep\"}]}]",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 5419,
      "gen_ai.usage.output_tokens": 18,
      "gen_ai.usage.total_tokens": 5437,
      "gen_ai.response.text": "This is a test message that has been repeated many times to create a very long input."
    },
    "status": "ok",
    "is_segment": false
  }
]
node/google-genai :: Conversation ID LLM Test (streaming)❗︎ 111090ms
checkAISpanCount(4)
checkChatSpanAttributes
c7d1fd75gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
c7d1fd75gen_ai.output.messagesMissing output messages attribute
eee3e0edgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
eee3e0edgen_ai.output.messagesMissing output messages attribute
e856b91agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
e856b91agen_ai.output.messagesMissing output messages attribute
4d5b5553gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
4d5b5553gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (9)
[
  {
    "span_id": "2ef14938b6ac8b0e",
    "trace_id": "904906c164c7f471dc5518511bdb6946",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "url.query": "?alt=sse",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "192.178.218.95",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "parent_span_id": "c7d1fd75adecb84e",
    "start_timestamp": 1779175648.285,
    "timestamp": 1779175648.9417038,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "4da6467528a44a76",
    "trace_id": "904906c164c7f471dc5518511bdb6946",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "url.query": "?alt=sse",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "172.253.115.95",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "parent_span_id": "eee3e0ed294414e2",
    "start_timestamp": 1779175648.96,
    "timestamp": 1779175650.4548452,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "74ffbd199051212a",
    "trace_id": "904906c164c7f471dc5518511bdb6946",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "url.query": "?alt=sse",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "192.178.218.95",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "parent_span_id": "e856b91a89c81092",
    "start_timestamp": 1779175650.458,
    "timestamp": 1779175657.3056476,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "43e2efbc4c067282",
    "trace_id": "904906c164c7f471dc5518511bdb6946",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent?alt=sse",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "url.query": "?alt=sse",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "142.251.111.95",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "parent_span_id": "4d5b5553d355e81c",
    "start_timestamp": 1779175657.312,
    "timestamp": 1779175657.7686636,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "3cd9378dcc75a1a4",
    "trace_id": "904906c164c7f471dc5518511bdb6946",
    "op": "test",
    "description": "conversation-id-llm-test",
    "start_timestamp": 1779175648.266,
    "timestamp": 1779175657.7692683,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "c7d1fd75adecb84e",
    "trace_id": "904906c164c7f471dc5518511bdb6946",
    "parent_span_id": "3cd9378dcc75a1a4",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175648.269,
    "timestamp": 1779175648.950005,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is the capital of France?\"}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "4BAMatOKGaXK_uMP-MuqqAI",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "The capital of France is **Paris**."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "eee3e0ed294414e2",
    "trace_id": "904906c164c7f471dc5518511bdb6946",
    "parent_span_id": "3cd9378dcc75a1a4",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175648.951,
    "timestamp": 1779175650.4550734,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is 2 + 2?\"}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "4RAMatCzC_SZ9MoPuOOz-As",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 16,
      "gen_ai.usage.output_tokens": 17,
      "gen_ai.usage.total_tokens": 33,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "That's a fundamental math question!\n\n2 + 2 equals **4**."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "e856b91a89c81092",
    "trace_id": "904906c164c7f471dc5518511bdb6946",
    "parent_span_id": "3cd9378dcc75a1a4",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175650.456,
    "timestamp": 1779175657.3063145,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What about Germany?\"}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "4hAMaoa4IPud_uMP8qHlsAY",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 28,
      "gen_ai.usage.output_tokens": 7,
      "gen_ai.usage.total_tokens": 35,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "The capital of Germany is Berlin."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "4d5b5553d355e81c",
    "trace_id": "904906c164c7f471dc5518511bdb6946",
    "parent_span_id": "3cd9378dcc75a1a4",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175657.307,
    "timestamp": 1779175657.7694356,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What about 3 + 3?\"}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "6RAMaqTkIKWc1MkPuszDiAg",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 34,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 42,
      "gen_ai.response.finish_reasons": "[\"STOP\"]",
      "gen_ai.response.text": "3 + 3 equals 6."
    },
    "status": "ok",
    "is_segment": false
  }
]
node/google-genai :: Conversation ID LLM Test (blocking)❗︎ 119629ms
checkAISpanCount(4)
checkChatSpanAttributes
96559815gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
96559815gen_ai.output.messagesMissing output messages attribute
981f85eagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
981f85eagen_ai.output.messagesMissing output messages attribute
66817b0egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
66817b0egen_ai.output.messagesMissing output messages attribute
bd9d7a5cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bd9d7a5cgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (9)
[
  {
    "span_id": "089f5ade65e132ee",
    "trace_id": "507810017e318fd10190aa5ffe588b03",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "172.253.122.95",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "parent_span_id": "965598157d9b10e1",
    "start_timestamp": 1779175648.347,
    "timestamp": 1779175653.1599452,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "f26940ee138f5ee7",
    "trace_id": "507810017e318fd10190aa5ffe588b03",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "172.253.122.95",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "parent_span_id": "981f85ea17302dd5",
    "start_timestamp": 1779175653.172,
    "timestamp": 1779175659.642601,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "d171a3fe42e23fa7",
    "trace_id": "507810017e318fd10190aa5ffe588b03",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "172.253.122.95",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "parent_span_id": "66817b0e6e35e836",
    "start_timestamp": 1779175659.647,
    "timestamp": 1779175660.2550979,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "11eb0fff2e5c9e15",
    "trace_id": "507810017e318fd10190aa5ffe588b03",
    "data": {
      "sentry.origin": "auto.http.otel.node_fetch",
      "sentry.op": "http.client",
      "http.request.method": "POST",
      "http.request.method_original": "POST",
      "url.full": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.path": "/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "url.query": "",
      "url.scheme": "https",
      "server.address": "generativelanguage.googleapis.com",
      "server.port": 443,
      "user_agent.original": "google-genai-sdk/1.38.0 gl-node/v24.15.0",
      "network.peer.address": "172.253.122.95",
      "network.peer.port": 443,
      "http.response.status_code": 200,
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "otel.kind": "CLIENT"
    },
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "parent_span_id": "bd9d7a5cdb0ae248",
    "start_timestamp": 1779175660.271,
    "timestamp": 1779175666.365026,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.otel.node_fetch"
  },
  {
    "span_id": "962e854cc6d3a5a8",
    "trace_id": "507810017e318fd10190aa5ffe588b03",
    "op": "test",
    "description": "conversation-id-llm-test",
    "start_timestamp": 1779175648.336,
    "timestamp": 1779175666.3669128,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "965598157d9b10e1",
    "trace_id": "507810017e318fd10190aa5ffe588b03",
    "parent_span_id": "962e854cc6d3a5a8",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175648.338,
    "timestamp": 1779175653.1697142,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is the capital of France?\"}]}]",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "gen_ai.response.text": "The capital of France is **Paris**."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "981f85ea17302dd5",
    "trace_id": "507810017e318fd10190aa5ffe588b03",
    "parent_span_id": "962e854cc6d3a5a8",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175653.171,
    "timestamp": 1779175659.6447508,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What is 2 + 2?\"}]}]",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 16,
      "gen_ai.usage.output_tokens": 21,
      "gen_ai.usage.total_tokens": 37,
      "gen_ai.response.text": "That's a great question to start with!\n\n2 + 2 is equal to **4**."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "66817b0e6e35e836",
    "trace_id": "507810017e318fd10190aa5ffe588b03",
    "parent_span_id": "962e854cc6d3a5a8",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175659.645,
    "timestamp": 1779175660.2653348,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What about Germany?\"}]}]",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 28,
      "gen_ai.usage.output_tokens": 7,
      "gen_ai.usage.total_tokens": 35,
      "gen_ai.response.text": "The capital of Germany is Berlin."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "bd9d7a5cdb0ae248",
    "trace_id": "507810017e318fd10190aa5ffe588b03",
    "parent_span_id": "962e854cc6d3a5a8",
    "op": "gen_ai.generate_content",
    "description": "generate_content gemini-2.5-flash-lite",
    "start_timestamp": 1779175660.266,
    "timestamp": 1779175666.3666556,
    "data": {
      "sentry.origin": "auto.ai.google_genai",
      "sentry.op": "gen_ai.generate_content",
      "gen_ai.system": "google_genai",
      "gen_ai.operation.name": "generate_content",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"parts\":[{\"text\":\"What about 3 + 3?\"}]}]",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 34,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 42,
      "gen_ai.response.text": "3 + 3 equals 6."
    },
    "status": "ok",
    "is_segment": false
  }
]
node/langchain :: Basic LLM Test (streaming, openai)❗︎ 1⚠︎ 13847ms
checkAISpanCount(1)
checkChatSpanAttributes
277a7b32gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
277a7b32gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
277a7b32gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(1 span)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (3)
[
  {
    "span_id": "9b6db2c4c2f3d0d3",
    "trace_id": "d7a5913a37a22d81b4dc40a9cb5f8090",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.104.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "6a3c179020db4199",
    "start_timestamp": 1779175649.658,
    "timestamp": 1779175650.6344476,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "6a3c179020db4199",
    "trace_id": "d7a5913a37a22d81b4dc40a9cb5f8090",
    "op": "test",
    "description": "basic-llm-test",
    "start_timestamp": 1779175649.599,
    "timestamp": 1779175650.6405969,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "277a7b323805d0e4",
    "trace_id": "d7a5913a37a22d81b4dc40a9cb5f8090",
    "parent_span_id": "6a3c179020db4199",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175649.614,
    "timestamp": 1779175650.6369655,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris.\"]",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 139,
      "gen_ai.usage.total_tokens": 162,
      "gen_ai.response.id": "chatcmpl-Dh99NvPeyboiRPMJgc7Jb2cEUrb6B",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
node/langchain :: Basic LLM Test (streaming, anthropic)❗︎ 1 1⚠︎ 12266ms
checkAISpanCount(1)
checkChatSpanAttributes
a35699f3gen_ai.usage.input_tokensSpan a35699f3: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
a35699f3gen_ai.usage.output_tokensSpan a35699f3: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkValidTokenUsage
a35699f3gen_ai.usage.input_tokensinput_tokens must exist
a35699f3gen_ai.usage.output_tokensoutput_tokens must exist
a35699f3gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
a35699f3gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "517b298b6d37627a",
    "trace_id": "faf83d6a38e6075556a10729d135917e",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 400,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "BAD REQUEST",
      "http.status_code": 400,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "2776fac668f8fb67",
    "start_timestamp": 1779175649.657,
    "timestamp": 1779175649.7871401,
    "status": "invalid_argument",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "2776fac668f8fb67",
    "trace_id": "faf83d6a38e6075556a10729d135917e",
    "op": "test",
    "description": "basic-llm-test",
    "start_timestamp": 1779175649.6,
    "timestamp": 1779175649.8017554,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "a35699f344ba29bf",
    "trace_id": "faf83d6a38e6075556a10729d135917e",
    "parent_span_id": "2776fac668f8fb67",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175649.611,
    "timestamp": 1779175649.7931983,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]"
    },
    "status": "error",
    "is_segment": false
  }
]
node/langchain :: Basic LLM Test (blocking, openai)❗︎ 1⚠︎ 13223ms
checkAISpanCount(1)
checkChatSpanAttributes
8a2b91d7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8a2b91d7gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
8a2b91d7gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(1 span)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (3)
[
  {
    "span_id": "2ac821406b19a51d",
    "trace_id": "e1780de61f34b850b69b56918775685d",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.104.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "c412041dd61fc453",
    "start_timestamp": 1779175650.016,
    "timestamp": 1779175651.0717897,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "c412041dd61fc453",
    "trace_id": "e1780de61f34b850b69b56918775685d",
    "op": "test",
    "description": "basic-llm-test",
    "start_timestamp": 1779175649.985,
    "timestamp": 1779175651.077287,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "8a2b91d7e0be89b1",
    "trace_id": "e1780de61f34b850b69b56918775685d",
    "parent_span_id": "c412041dd61fc453",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175649.993,
    "timestamp": 1779175651.0768385,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris.\"]",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 139,
      "gen_ai.usage.total_tokens": 162,
      "gen_ai.response.id": "chatcmpl-Dh99Ots3o7rad8REcXDsGtHn3jNkZ",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
node/langchain :: Basic LLM Test (blocking, anthropic)❗︎ 1 1⚠︎ 12245ms
checkAISpanCount(1)
checkChatSpanAttributes
f516f80cgen_ai.usage.input_tokensSpan f516f80c: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
f516f80cgen_ai.usage.output_tokensSpan f516f80c: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkValidTokenUsage
f516f80cgen_ai.usage.input_tokensinput_tokens must exist
f516f80cgen_ai.usage.output_tokensoutput_tokens must exist
f516f80cgen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
f516f80cgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "ffb2ab580ac2fd8b",
    "trace_id": "de9886c4a8ad3adbbf786b92c221d9ab",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 400,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "BAD REQUEST",
      "http.status_code": 400,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "a754c62c1bf5df6c",
    "start_timestamp": 1779175650.125,
    "timestamp": 1779175650.239827,
    "status": "invalid_argument",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "a754c62c1bf5df6c",
    "trace_id": "de9886c4a8ad3adbbf786b92c221d9ab",
    "op": "test",
    "description": "basic-llm-test",
    "start_timestamp": 1779175650.098,
    "timestamp": 1779175650.2536287,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "f516f80c18c13f82",
    "trace_id": "de9886c4a8ad3adbbf786b92c221d9ab",
    "parent_span_id": "a754c62c1bf5df6c",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175650.105,
    "timestamp": 1779175650.2451127,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]"
    },
    "status": "error",
    "is_segment": false
  }
]
node/langchain :: Multi-Turn LLM Test (streaming, openai)❗︎ 1⚠︎ 117673ms
checkAISpanCount(3)
checkChatSpanAttributes
eb74215dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
eb74215dgen_ai.output.messagesMissing output messages attribute
341d7dbegen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
341d7dbegen_ai.output.messagesMissing output messages attribute
76886c3fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
76886c3fgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
eb74215dgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
341d7dbegen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
76886c3fgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(3 spans)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (7)
[
  {
    "span_id": "039b743f2be91c88",
    "trace_id": "caf0d0f3a62473df6cebf000b34a64f3",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.104.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "304c7e438375b61e",
    "start_timestamp": 1779175650.564,
    "timestamp": 1779175651.4093218,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "2887c641d3191310",
    "trace_id": "caf0d0f3a62473df6cebf000b34a64f3",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.104.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "304c7e438375b61e",
    "start_timestamp": 1779175651.439,
    "timestamp": 1779175657.584661,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "c23b1ff356125ce7",
    "trace_id": "caf0d0f3a62473df6cebf000b34a64f3",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.104.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "304c7e438375b61e",
    "start_timestamp": 1779175657.589,
    "timestamp": 1779175666.086502,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "304c7e438375b61e",
    "trace_id": "caf0d0f3a62473df6cebf000b34a64f3",
    "op": "test",
    "description": "multi-turn-llm-test",
    "start_timestamp": 1779175650.542,
    "timestamp": 1779175666.0875463,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "eb74215de2ad7c5f",
    "trace_id": "caf0d0f3a62473df6cebf000b34a64f3",
    "parent_span_id": "304c7e438375b61e",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175650.547,
    "timestamp": 1779175651.4230862,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"The capital of France is Paris.\"]",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 144,
      "gen_ai.usage.total_tokens": 167,
      "gen_ai.response.id": "chatcmpl-Dh99OimNLLPMXXijWK3h06EPnNoQw",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "341d7dbe24e3e0d9",
    "trace_id": "caf0d0f3a62473df6cebf000b34a64f3",
    "parent_span_id": "304c7e438375b61e",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175651.437,
    "timestamp": 1779175657.5861635,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris, the capital of France, has about 2.1 million people in the city proper (the administrative commune).\\n\\nThe wider Paris metropolitan area is much larger — roughly 12 million people in the urban area, and about 12–13 million in the Île-de-France region overall.\\n\\nWhich figure would you like, city proper or the metro/urban area? I can give a precise figure if you specify the definition and year.\"]",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 929,
      "gen_ai.usage.total_tokens": 977,
      "gen_ai.response.id": "chatcmpl-Dh99PAhBhuvOcudsU9JOWCoFP5y2W",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "76886c3f1ca36b52",
    "trace_id": "caf0d0f3a62473df6cebf000b34a64f3",
    "parent_span_id": "304c7e438375b61e",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175657.588,
    "timestamp": 1779175666.0875685,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"If you mean the Paris urban area (the urban/metro area around the city), it has about 12 million inhabitants — far larger than the 2.2 million in the city proper.\\n\\nIf you mean the wider Île-de-France region (the whole metro region around Paris), that’s roughly 12–13 million.\\n\\nNote: several definitions exist (e.g., Métropole du Grand Paris), which cover different areas and populations (about 7–7.5 million for the Grand Paris intercommunal area). If you tell me which definition or year you want, I can give a more precise figure.\"]",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 1414,
      "gen_ai.usage.total_tokens": 1495,
      "gen_ai.response.id": "chatcmpl-Dh99V9Oe5ep5OOegkzrrfumrgrYGW",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
node/langchain :: Multi-Turn LLM Test (streaming, anthropic)❗︎ 1 1⚠︎ 12223ms
checkAISpanCount(3)
checkChatSpanAttributes
7e849502gen_ai.usage.input_tokensSpan 7e849502: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
7e849502gen_ai.usage.output_tokensSpan 7e849502: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
9d6c0f63gen_ai.usage.input_tokensSpan 9d6c0f63: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
9d6c0f63gen_ai.usage.output_tokensSpan 9d6c0f63: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
83cda790gen_ai.usage.input_tokensSpan 83cda790: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
83cda790gen_ai.usage.output_tokensSpan 83cda790: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkValidTokenUsage
7e849502gen_ai.usage.input_tokensinput_tokens must exist
7e849502gen_ai.usage.output_tokensoutput_tokens must exist
7e849502gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
7e849502gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
9d6c0f63gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
83cda790gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "span_id": "b18ac2e49775ceec",
    "trace_id": "4bf67f30bb23ace1a39f80a6a36b3177",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 400,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "BAD REQUEST",
      "http.status_code": 400,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "53c01b11807ab02b",
    "start_timestamp": 1779175650.472,
    "timestamp": 1779175650.579527,
    "status": "invalid_argument",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "262322f11c026165",
    "trace_id": "4bf67f30bb23ace1a39f80a6a36b3177",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 400,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "BAD REQUEST",
      "http.status_code": 400,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "53c01b11807ab02b",
    "start_timestamp": 1779175650.592,
    "timestamp": 1779175650.6785371,
    "status": "invalid_argument",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "251920002c9ca56c",
    "trace_id": "4bf67f30bb23ace1a39f80a6a36b3177",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 400,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "BAD REQUEST",
      "http.status_code": 400,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "53c01b11807ab02b",
    "start_timestamp": 1779175650.684,
    "timestamp": 1779175650.7724383,
    "status": "invalid_argument",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "53c01b11807ab02b",
    "trace_id": "4bf67f30bb23ace1a39f80a6a36b3177",
    "op": "test",
    "description": "multi-turn-llm-test",
    "start_timestamp": 1779175650.442,
    "timestamp": 1779175650.7749574,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "7e849502b7c34d5a",
    "trace_id": "4bf67f30bb23ace1a39f80a6a36b3177",
    "parent_span_id": "53c01b11807ab02b",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175650.453,
    "timestamp": 1779175650.5824246,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "9d6c0f634671ec84",
    "trace_id": "4bf67f30bb23ace1a39f80a6a36b3177",
    "parent_span_id": "53c01b11807ab02b",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175650.591,
    "timestamp": 1779175650.679985,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "83cda7906456d5ab",
    "trace_id": "4bf67f30bb23ace1a39f80a6a36b3177",
    "parent_span_id": "53c01b11807ab02b",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175650.683,
    "timestamp": 1779175650.773356,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]"
    },
    "status": "error",
    "is_segment": false
  }
]
node/langchain :: Multi-Turn LLM Test (blocking, openai)❗︎ 1⚠︎ 122364ms
checkAISpanCount(3)
checkChatSpanAttributes
88bde6a8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
88bde6a8gen_ai.output.messagesMissing output messages attribute
31b04c0bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
31b04c0bgen_ai.output.messagesMissing output messages attribute
5b37806fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
5b37806fgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
88bde6a8gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
31b04c0bgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
5b37806fgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(3 spans)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (7)
[
  {
    "span_id": "3b63a31505931028",
    "trace_id": "1fc63bbcb77e6075dea372ecb82bada3",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.104.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "53f61926922595d8",
    "start_timestamp": 1779175651.486,
    "timestamp": 1779175652.5498362,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "55c31d49ecded557",
    "trace_id": "1fc63bbcb77e6075dea372ecb82bada3",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.104.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "53f61926922595d8",
    "start_timestamp": 1779175652.568,
    "timestamp": 1779175664.338054,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "68fa67a0ff1547fa",
    "trace_id": "1fc63bbcb77e6075dea372ecb82bada3",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.104.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "53f61926922595d8",
    "start_timestamp": 1779175664.36,
    "timestamp": 1779175672.206885,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "53f61926922595d8",
    "trace_id": "1fc63bbcb77e6075dea372ecb82bada3",
    "op": "test",
    "description": "multi-turn-llm-test",
    "start_timestamp": 1779175651.454,
    "timestamp": 1779175672.209004,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "88bde6a84ef5e6b7",
    "trace_id": "1fc63bbcb77e6075dea372ecb82bada3",
    "parent_span_id": "53f61926922595d8",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175651.462,
    "timestamp": 1779175652.560093,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris.\"]",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 203,
      "gen_ai.usage.total_tokens": 226,
      "gen_ai.response.id": "chatcmpl-Dh99P8cFd37qiSlJ3Rn5hzeoiPVyV",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "31b04c0b5ed9fbb2",
    "trace_id": "1fc63bbcb77e6075dea372ecb82bada3",
    "parent_span_id": "53f61926922595d8",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175652.563,
    "timestamp": 1779175664.3548374,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"There are a few different ways to measure it:\\n\\n- Paris city proper (the commune of Paris): about 2.1 million people.\\n- Paris metropolitan area (the urban area, or aire urbaine): about 12 million people.\\n- Île-de-France region (Paris and surrounding départements): about 12–13 million people.\\n\\nIf you tell me which definition and year you want, I can give a precise figure.\"]",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 1697,
      "gen_ai.usage.total_tokens": 1745,
      "gen_ai.response.id": "chatcmpl-Dh99RYRp1mBebJCvATRUuYTHkDACa",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "5b37806f5f78dfd2",
    "trace_id": "1fc63bbcb77e6075dea372ecb82bada3",
    "parent_span_id": "53f61926922595d8",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175664.359,
    "timestamp": 1779175672.208118,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"“Metropolitan area” can mean different things. Here are the main definitions and rough numbers:\\n\\n- Paris urban area (aire urbaine): about 12 million people (roughly 12.0–12.7 million depending on year and method).\\n- Île-de-France region (the wider metropolitan region around Paris): about 12–13 million people (roughly ~12.3–12.5 million in recent years).\\n- Métropole du Grand Paris (the intercommunal entity around Paris, 131 municipalities): about 7 million people.\\n\\nIf you have a specific definition or year in mind, tell me and I can give a precise figure.\"]",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 1296,
      "gen_ai.usage.total_tokens": 1377,
      "gen_ai.response.id": "chatcmpl-Dh99caW6n0fXN69BY75X5FLdrmjqL",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
node/langchain :: Multi-Turn LLM Test (blocking, anthropic)❗︎ 1 1⚠︎ 12186ms
checkAISpanCount(3)
checkChatSpanAttributes
d2b51036gen_ai.usage.input_tokensSpan d2b51036: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
d2b51036gen_ai.usage.output_tokensSpan d2b51036: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
7a6f1cd1gen_ai.usage.input_tokensSpan 7a6f1cd1: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
7a6f1cd1gen_ai.usage.output_tokensSpan 7a6f1cd1: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
b665e2c1gen_ai.usage.input_tokensSpan b665e2c1: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
b665e2c1gen_ai.usage.output_tokensSpan b665e2c1: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkValidTokenUsage
d2b51036gen_ai.usage.input_tokensinput_tokens must exist
d2b51036gen_ai.usage.output_tokensoutput_tokens must exist
d2b51036gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
d2b51036gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
7a6f1cd1gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
b665e2c1gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "span_id": "89e8fffcaa797e8a",
    "trace_id": "b65343102850b5d5157591162d664c20",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 400,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "BAD REQUEST",
      "http.status_code": 400,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "4aa3c67474d8ae05",
    "start_timestamp": 1779175652.011,
    "timestamp": 1779175652.1555603,
    "status": "invalid_argument",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "2e24500e4f39f229",
    "trace_id": "b65343102850b5d5157591162d664c20",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 400,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "BAD REQUEST",
      "http.status_code": 400,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "4aa3c67474d8ae05",
    "start_timestamp": 1779175652.183,
    "timestamp": 1779175652.2782388,
    "status": "invalid_argument",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "528e84cb77b29490",
    "trace_id": "b65343102850b5d5157591162d664c20",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 400,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "BAD REQUEST",
      "http.status_code": 400,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "4aa3c67474d8ae05",
    "start_timestamp": 1779175652.292,
    "timestamp": 1779175652.3941169,
    "status": "invalid_argument",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "4aa3c67474d8ae05",
    "trace_id": "b65343102850b5d5157591162d664c20",
    "op": "test",
    "description": "multi-turn-llm-test",
    "start_timestamp": 1779175651.962,
    "timestamp": 1779175652.4021418,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "d2b510369061a84e",
    "trace_id": "b65343102850b5d5157591162d664c20",
    "parent_span_id": "4aa3c67474d8ae05",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175651.971,
    "timestamp": 1779175652.1631446,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "7a6f1cd1f0827938",
    "trace_id": "b65343102850b5d5157591162d664c20",
    "parent_span_id": "4aa3c67474d8ae05",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175652.181,
    "timestamp": 1779175652.2814555,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "b665e2c1665eddd5",
    "trace_id": "b65343102850b5d5157591162d664c20",
    "parent_span_id": "4aa3c67474d8ae05",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175652.291,
    "timestamp": 1779175652.3980525,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]"
    },
    "status": "error",
    "is_segment": false
  }
]
node/langchain :: Vision LLM Test (streaming, openai)❗︎ 1⚠︎ 12448ms
checkChatSpanAttributes
a7ffb34agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a7ffb34agen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
a7ffb34agen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(1 span)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (3)
[
  {
    "span_id": "2d64545b50ebeecf",
    "trace_id": "5e023fe38e1991c4c8eb6431dfff4332",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.104.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "9dc8a24b3255aca2",
    "start_timestamp": 1779175654.305,
    "timestamp": 1779175654.8261876,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "9dc8a24b3255aca2",
    "trace_id": "5e023fe38e1991c4c8eb6431dfff4332",
    "op": "test",
    "description": "vision-llm-test",
    "start_timestamp": 1779175654.273,
    "timestamp": 1779175654.8494413,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "a7ffb34aa93f6ede",
    "trace_id": "5e023fe38e1991c4c8eb6431dfff4332",
    "parent_span_id": "9dc8a24b3255aca2",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175654.282,
    "timestamp": 1779175654.839053,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"What color is this image? Reply with just the color name.\\\"},{\\\"type\\\":\\\"image_url\\\",\\\"image_url\\\":{\\\"url\\\":\\\"[Blob substitute]\\\"}}]\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Red\"]",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 8538,
      "gen_ai.response.id": "chatcmpl-Dh99SUlbV7fMZF69I2uiRpyhkYqUx",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
node/langchain :: Vision LLM Test (streaming, anthropic)❗︎ 1 1⚠︎ 12345ms
checkChatSpanAttributes
91955a1dgen_ai.usage.input_tokensSpan 91955a1d: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
91955a1dgen_ai.usage.output_tokensSpan 91955a1d: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkValidTokenUsage
91955a1dgen_ai.usage.input_tokensinput_tokens must exist
91955a1dgen_ai.usage.output_tokensoutput_tokens must exist
91955a1dgen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
91955a1dgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "89fb52266b58f8fd",
    "trace_id": "34382399f52b6e86a3863ac55693d000",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 400,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "BAD REQUEST",
      "http.status_code": 400,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "7ae9d9ab8240e651",
    "start_timestamp": 1779175654.923,
    "timestamp": 1779175655.1185336,
    "status": "invalid_argument",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "7ae9d9ab8240e651",
    "trace_id": "34382399f52b6e86a3863ac55693d000",
    "op": "test",
    "description": "vision-llm-test",
    "start_timestamp": 1779175654.849,
    "timestamp": 1779175655.142466,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "91955a1deeab4ead",
    "trace_id": "34382399f52b6e86a3863ac55693d000",
    "parent_span_id": "7ae9d9ab8240e651",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175654.868,
    "timestamp": 1779175655.12654,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"What color is this image? Reply with just the color name.\\\"},{\\\"type\\\":\\\"image_url\\\",\\\"image_url\\\":{\\\"url\\\":\\\"[Blob substitute]\\\"}}]\"}]"
    },
    "status": "error",
    "is_segment": false
  }
]
node/langchain :: Vision LLM Test (blocking, openai)❗︎ 1⚠︎ 15255ms
checkChatSpanAttributes
38b9db2dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
38b9db2dgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
38b9db2dgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(1 span)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (3)
[
  {
    "span_id": "f8e5f880ef08d62f",
    "trace_id": "6fc03e4450842d9347e568f18e118532",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.104.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "bb1fbebcf6ddedf6",
    "start_timestamp": 1779175655.372,
    "timestamp": 1779175658.107371,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "bb1fbebcf6ddedf6",
    "trace_id": "6fc03e4450842d9347e568f18e118532",
    "op": "test",
    "description": "vision-llm-test",
    "start_timestamp": 1779175655.326,
    "timestamp": 1779175658.1139133,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "38b9db2d2dd32ea0",
    "trace_id": "6fc03e4450842d9347e568f18e118532",
    "parent_span_id": "bb1fbebcf6ddedf6",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175655.343,
    "timestamp": 1779175658.112392,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"What color is this image? Reply with just the color name.\\\"},{\\\"type\\\":\\\"image_url\\\",\\\"image_url\\\":{\\\"url\\\":\\\"[Blob substitute]\\\"}}]\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Red\"]",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 8538,
      "gen_ai.response.id": "chatcmpl-Dh99VjMFidULgggQXynKZHjXE4l0u",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
node/langchain :: Vision LLM Test (blocking, anthropic)❗︎ 1 1⚠︎ 12442ms
checkChatSpanAttributes
5eefe808gen_ai.usage.input_tokensSpan 5eefe808: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
5eefe808gen_ai.usage.output_tokensSpan 5eefe808: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkValidTokenUsage
5eefe808gen_ai.usage.input_tokensinput_tokens must exist
5eefe808gen_ai.usage.output_tokensoutput_tokens must exist
5eefe808gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
5eefe808gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "0bd6886fcc4a44a9",
    "trace_id": "2bd6651d6138237eb31117f38ff27abb",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 400,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "BAD REQUEST",
      "http.status_code": 400,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "50d2ad71f5c5f51f",
    "start_timestamp": 1779175655.168,
    "timestamp": 1779175655.3036332,
    "status": "invalid_argument",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "50d2ad71f5c5f51f",
    "trace_id": "2bd6651d6138237eb31117f38ff27abb",
    "op": "test",
    "description": "vision-llm-test",
    "start_timestamp": 1779175655.132,
    "timestamp": 1779175655.3289242,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "5eefe808e616f482",
    "trace_id": "2bd6651d6138237eb31117f38ff27abb",
    "parent_span_id": "50d2ad71f5c5f51f",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175655.141,
    "timestamp": 1779175655.313933,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"What color is this image? Reply with just the color name.\\\"},{\\\"type\\\":\\\"image_url\\\",\\\"image_url\\\":{\\\"url\\\":\\\"[Blob substitute]\\\"}}]\"}]"
    },
    "status": "error",
    "is_segment": false
  }
]
node/langchain :: Long Input LLM Test (streaming, openai)❗︎ 1⚠︎ 13390ms
checkChatSpanAttributes
cff91cc0gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
cff91cc0gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
cff91cc0gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(1 span)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (3)
[
  {
    "span_id": "8cc817f87d01079a",
    "trace_id": "4cf238dec0164442719e6ffa710c4d81",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.104.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "8e4e4f22adfd3214",
    "start_timestamp": 1779175655.532,
    "timestamp": 1779175656.5407622,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "8e4e4f22adfd3214",
    "trace_id": "4cf238dec0164442719e6ffa710c4d81",
    "op": "test",
    "description": "long-input-llm-test",
    "start_timestamp": 1779175655.511,
    "timestamp": 1779175656.5594628,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "cff91cc04cf077a8",
    "trace_id": "4cf238dec0164442719e6ffa710c4d81",
    "parent_span_id": "8e4e4f22adfd3214",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175655.517,
    "timestamp": 1779175656.551676,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"This test message will be repeatedly used to generate a very long input.\"]",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.output_tokens": 14,
      "gen_ai.usage.total_tokens": 5443,
      "gen_ai.response.id": "chatcmpl-Dh99TZP0FaZ90GrEaXnkUarSg0JhU",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
node/langchain :: Long Input LLM Test (streaming, anthropic)❗︎ 1⚠︎ 12348ms
checkChatSpanAttributes
16d6b3c4gen_ai.usage.input_tokensSpan 16d6b3c4: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
16d6b3c4gen_ai.usage.output_tokensSpan 16d6b3c4: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkInputMessagesSchema
checkResponseModel
16d6b3c4gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "b357ae760eda0606",
    "trace_id": "05bfd14d6b43ca917068c63d465c28ba",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 400,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "BAD REQUEST",
      "http.status_code": 400,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "850f77012600188d",
    "start_timestamp": 1779175655.438,
    "timestamp": 1779175655.5540988,
    "status": "invalid_argument",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "850f77012600188d",
    "trace_id": "05bfd14d6b43ca917068c63d465c28ba",
    "op": "test",
    "description": "long-input-llm-test",
    "start_timestamp": 1779175655.407,
    "timestamp": 1779175655.566876,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "16d6b3c479d069d0",
    "trace_id": "05bfd14d6b43ca917068c63d465c28ba",
    "parent_span_id": "850f77012600188d",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175655.416,
    "timestamp": 1779175655.5582383,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]"
    },
    "status": "error",
    "is_segment": false
  }
]
node/langchain :: Long Input LLM Test (blocking, openai)❗︎ 1⚠︎ 12719ms
checkChatSpanAttributes
0adda4fegen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
0adda4fegen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
0adda4fegen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(1 span)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (3)
[
  {
    "span_id": "af1f45bd4fc924e6",
    "trace_id": "faf3f6bb4b4a2bca736445854a91fee5",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.104.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "f3a545fa54879f57",
    "start_timestamp": 1779175656.826,
    "timestamp": 1779175657.6103735,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "f3a545fa54879f57",
    "trace_id": "faf3f6bb4b4a2bca736445854a91fee5",
    "op": "test",
    "description": "long-input-llm-test",
    "start_timestamp": 1779175656.785,
    "timestamp": 1779175657.617291,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "0adda4fec12185ec",
    "trace_id": "faf3f6bb4b4a2bca736445854a91fee5",
    "parent_span_id": "f3a545fa54879f57",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175656.8,
    "timestamp": 1779175657.6162996,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"This message is a repeated test that aims to generate a lengthy input.\"]",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.output_tokens": 14,
      "gen_ai.usage.total_tokens": 5443,
      "gen_ai.response.id": "chatcmpl-Dh99UxOaYOuB9LtO0UYAwXoohEJkb",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
node/langchain :: Long Input LLM Test (blocking, anthropic)❗︎ 1⚠︎ 12269ms
checkChatSpanAttributes
2cc21dc8gen_ai.usage.input_tokensSpan 2cc21dc8: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
2cc21dc8gen_ai.usage.output_tokensSpan 2cc21dc8: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkInputMessagesSchema
checkResponseModel
2cc21dc8gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "2df8eb99d3aff5ba",
    "trace_id": "4b82e7f39837fd55d473280fe3af075f",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 400,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "BAD REQUEST",
      "http.status_code": 400,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "cb260f5179641ad3",
    "start_timestamp": 1779175657.269,
    "timestamp": 1779175657.4064932,
    "status": "invalid_argument",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "cb260f5179641ad3",
    "trace_id": "4b82e7f39837fd55d473280fe3af075f",
    "op": "test",
    "description": "long-input-llm-test",
    "start_timestamp": 1779175657.201,
    "timestamp": 1779175657.4310234,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "2cc21dc8efcccef8",
    "trace_id": "4b82e7f39837fd55d473280fe3af075f",
    "parent_span_id": "cb260f5179641ad3",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175657.219,
    "timestamp": 1779175657.4150445,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]"
    },
    "status": "error",
    "is_segment": false
  }
]
node/langchain :: Conversation ID LLM Test (streaming, openai)❗︎ 1⚠︎ 19618ms
checkAISpanCount(4)
checkChatSpanAttributes
0a39b01egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
0a39b01egen_ai.output.messagesMissing output messages attribute
aab924dagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
aab924dagen_ai.output.messagesMissing output messages attribute
89ede546gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
89ede546gen_ai.output.messagesMissing output messages attribute
18059dd5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
18059dd5gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
0a39b01egen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
aab924dagen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
89ede546gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
18059dd5gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(4 spans)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (9)
[
  {
    "span_id": "cf07d95286871eec",
    "trace_id": "de3fad7e161acbf25be93927a71977d5",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.104.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "5031c8d83145e0e3",
    "start_timestamp": 1779175657.47,
    "timestamp": 1779175658.951661,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "1ce0991bd9ef92c5",
    "trace_id": "de3fad7e161acbf25be93927a71977d5",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.104.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "5031c8d83145e0e3",
    "start_timestamp": 1779175658.976,
    "timestamp": 1779175661.7247763,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "240fa3d73c1f4e14",
    "trace_id": "de3fad7e161acbf25be93927a71977d5",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.104.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "5031c8d83145e0e3",
    "start_timestamp": 1779175661.728,
    "timestamp": 1779175663.243239,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "fa02e073cf88928e",
    "trace_id": "de3fad7e161acbf25be93927a71977d5",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.104.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "5031c8d83145e0e3",
    "start_timestamp": 1779175663.246,
    "timestamp": 1779175664.9510245,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "5031c8d83145e0e3",
    "trace_id": "de3fad7e161acbf25be93927a71977d5",
    "op": "test",
    "description": "conversation-id-llm-test",
    "start_timestamp": 1779175657.429,
    "timestamp": 1779175664.9516087,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "0a39b01e67eec1c6",
    "trace_id": "de3fad7e161acbf25be93927a71977d5",
    "parent_span_id": "5031c8d83145e0e3",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175657.444,
    "timestamp": 1779175658.9615061,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris.\"]",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 139,
      "gen_ai.usage.total_tokens": 162,
      "gen_ai.response.id": "chatcmpl-Dh99VDfyxQNgYrYMjoEzlrvz58b2P",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "aab924dabc25f97c",
    "trace_id": "de3fad7e161acbf25be93927a71977d5",
    "parent_span_id": "5031c8d83145e0e3",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175658.974,
    "timestamp": 1779175661.7253842,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"4. Explanation: 2 + 2 equals 4 (e.g., two apples plus two apples make four apples). If you count on your fingers: start at 2 and count two more: 3, 4. Want more practice or a quick trick?\"]",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 384,
      "gen_ai.usage.total_tokens": 408,
      "gen_ai.response.id": "chatcmpl-Dh99XZCyUoUuU6U0udl96lzhdHL9P",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "89ede5465e6071f1",
    "trace_id": "de3fad7e161acbf25be93927a71977d5",
    "parent_span_id": "5031c8d83145e0e3",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175661.726,
    "timestamp": 1779175663.2431026,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"The capital of Germany is Berlin.\"]",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 144,
      "gen_ai.usage.total_tokens": 188,
      "gen_ai.response.id": "chatcmpl-Dh99ZzScIKA5XdMvZ3NnygIYf7oMQ",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "18059dd520a4b79c",
    "trace_id": "de3fad7e161acbf25be93927a71977d5",
    "parent_span_id": "5031c8d83145e0e3",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175663.245,
    "timestamp": 1779175664.951692,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"6. (That's 3 plus 3, i.e., twice 3.)\"]",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 218,
      "gen_ai.usage.total_tokens": 268,
      "gen_ai.response.id": "chatcmpl-Dh99b81keCzQVCWFo9Z6jsW0JpKHa",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
node/langchain :: Conversation ID LLM Test (streaming, anthropic)❗︎ 1 1⚠︎ 12534ms
checkAISpanCount(4)
checkChatSpanAttributes
57607c43gen_ai.usage.input_tokensSpan 57607c43: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
57607c43gen_ai.usage.output_tokensSpan 57607c43: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
a66efcecgen_ai.usage.input_tokensSpan a66efcec: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
a66efcecgen_ai.usage.output_tokensSpan a66efcec: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
33ad04edgen_ai.usage.input_tokensSpan 33ad04ed: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
33ad04edgen_ai.usage.output_tokensSpan 33ad04ed: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
e8e7a716gen_ai.usage.input_tokensSpan e8e7a716: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
e8e7a716gen_ai.usage.output_tokensSpan e8e7a716: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
57607c43gen_ai.usage.input_tokensinput_tokens must exist
57607c43gen_ai.usage.output_tokensoutput_tokens must exist
57607c43gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
57607c43gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
a66efcecgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
33ad04edgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
e8e7a716gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (9)
[
  {
    "span_id": "9e799af67375ece2",
    "trace_id": "a4b16fd33a83b81640227dbc3c875e8c",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 400,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "BAD REQUEST",
      "http.status_code": 400,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "d813609495523927",
    "start_timestamp": 1779175657.417,
    "timestamp": 1779175657.5590749,
    "status": "invalid_argument",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "ea4574c1288412aa",
    "trace_id": "a4b16fd33a83b81640227dbc3c875e8c",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 400,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "BAD REQUEST",
      "http.status_code": 400,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "d813609495523927",
    "start_timestamp": 1779175657.572,
    "timestamp": 1779175657.672393,
    "status": "invalid_argument",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "9e3f4cfc01b4e255",
    "trace_id": "a4b16fd33a83b81640227dbc3c875e8c",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 400,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "BAD REQUEST",
      "http.status_code": 400,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "d813609495523927",
    "start_timestamp": 1779175657.678,
    "timestamp": 1779175657.7884629,
    "status": "invalid_argument",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "8d88538bfc728083",
    "trace_id": "a4b16fd33a83b81640227dbc3c875e8c",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 400,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "BAD REQUEST",
      "http.status_code": 400,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "d813609495523927",
    "start_timestamp": 1779175657.794,
    "timestamp": 1779175657.8917968,
    "status": "invalid_argument",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "d813609495523927",
    "trace_id": "a4b16fd33a83b81640227dbc3c875e8c",
    "op": "test",
    "description": "conversation-id-llm-test",
    "start_timestamp": 1779175657.38,
    "timestamp": 1779175657.8948364,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "57607c4314b6de57",
    "trace_id": "a4b16fd33a83b81640227dbc3c875e8c",
    "parent_span_id": "d813609495523927",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175657.387,
    "timestamp": 1779175657.561667,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.conversation.id": "conv-a"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "a66efcec068b0abc",
    "trace_id": "a4b16fd33a83b81640227dbc3c875e8c",
    "parent_span_id": "d813609495523927",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175657.57,
    "timestamp": 1779175657.6732886,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "gen_ai.conversation.id": "conv-b"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "33ad04edab7b981e",
    "trace_id": "a4b16fd33a83b81640227dbc3c875e8c",
    "parent_span_id": "d813609495523927",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175657.677,
    "timestamp": 1779175657.7897496,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "gen_ai.conversation.id": "conv-a"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "e8e7a716825efce4",
    "trace_id": "a4b16fd33a83b81640227dbc3c875e8c",
    "parent_span_id": "d813609495523927",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175657.793,
    "timestamp": 1779175657.8926353,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "gen_ai.conversation.id": "conv-b"
    },
    "status": "error",
    "is_segment": false
  }
]
node/langchain :: Conversation ID LLM Test (blocking, openai)❗︎ 1⚠︎ 112616ms
checkAISpanCount(4)
checkChatSpanAttributes
1807d2b5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
1807d2b5gen_ai.output.messagesMissing output messages attribute
5edb705cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
5edb705cgen_ai.output.messagesMissing output messages attribute
8832f521gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8832f521gen_ai.output.messagesMissing output messages attribute
f90e0c41gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
f90e0c41gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
1807d2b5gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
5edb705cgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
8832f521gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
f90e0c41gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.response.stop_reason(4 spans)
Attribute "gen_ai.response.stop_reason" is not defined in sentry-conventions
{}Captured Spans (9)
[
  {
    "span_id": "b70777cf86b24235",
    "trace_id": "c8c15892b251fcc59b2c97c363bdce95",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.104.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "99d869e71835868d",
    "start_timestamp": 1779175657.784,
    "timestamp": 1779175659.4375887,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "41a874eaefaaeaeb",
    "trace_id": "c8c15892b251fcc59b2c97c363bdce95",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.104.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "99d869e71835868d",
    "start_timestamp": 1779175659.444,
    "timestamp": 1779175662.63301,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "6041f7d56d4963fe",
    "trace_id": "c8c15892b251fcc59b2c97c363bdce95",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.104.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "99d869e71835868d",
    "start_timestamp": 1779175662.636,
    "timestamp": 1779175666.4235215,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "a51e9e0213f80b10",
    "trace_id": "c8c15892b251fcc59b2c97c363bdce95",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.104.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "99d869e71835868d",
    "start_timestamp": 1779175666.427,
    "timestamp": 1779175668.182643,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "99d869e71835868d",
    "trace_id": "c8c15892b251fcc59b2c97c363bdce95",
    "op": "test",
    "description": "conversation-id-llm-test",
    "start_timestamp": 1779175657.761,
    "timestamp": 1779175668.1831293,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "1807d2b56e9d7b17",
    "trace_id": "c8c15892b251fcc59b2c97c363bdce95",
    "parent_span_id": "99d869e71835868d",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175657.766,
    "timestamp": 1779175659.4406593,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris.\"]",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 139,
      "gen_ai.usage.total_tokens": 162,
      "gen_ai.response.id": "chatcmpl-Dh99WoEmywT4kofmXftFP8XRr1s8V",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "5edb705cd96c4bb0",
    "trace_id": "c8c15892b251fcc59b2c97c363bdce95",
    "parent_span_id": "99d869e71835868d",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175659.442,
    "timestamp": 1779175662.6338596,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"4. Explanation: 2 + 2 equals 4 because combining two and two makes four. For example, 2 fingers plus 2 fingers is 4 fingers, or on a number line from 2 move two steps to the right to land on 4. Want to see another way to think about it or a related problem?\"]",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 398,
      "gen_ai.usage.total_tokens": 422,
      "gen_ai.response.id": "chatcmpl-Dh99Xrkqh2GxxQ8Njbrc9hGr0G1SP",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8832f5214b6d487a",
    "trace_id": "c8c15892b251fcc59b2c97c363bdce95",
    "parent_span_id": "99d869e71835868d",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175662.635,
    "timestamp": 1779175666.4247165,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"The capital of Germany is Berlin. Would you like more details about Germany?\"]",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 216,
      "gen_ai.usage.total_tokens": 260,
      "gen_ai.response.id": "chatcmpl-Dh99aZm6OxUs1FvoeWejxJqy02Vpj",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "f90e0c4142e3cac3",
    "trace_id": "c8c15892b251fcc59b2c97c363bdce95",
    "parent_span_id": "99d869e71835868d",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175666.426,
    "timestamp": 1779175668.1834097,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.temperature": 1,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"3 + 3 = 6. It’s the sum of two threes—twice 3 equals 6.\"]",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 226,
      "gen_ai.usage.total_tokens": 276,
      "gen_ai.response.id": "chatcmpl-Dh99ekhgJrZ4UpG2jvYbZ97ugdCjh",
      "gen_ai.response.stop_reason": "stop"
    },
    "status": "ok",
    "is_segment": false
  }
]
node/langchain :: Conversation ID LLM Test (blocking, anthropic)❗︎ 1 1⚠︎ 12041ms
checkAISpanCount(4)
checkChatSpanAttributes
4a268d21gen_ai.usage.input_tokensSpan 4a268d21: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
4a268d21gen_ai.usage.output_tokensSpan 4a268d21: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
009e95bdgen_ai.usage.input_tokensSpan 009e95bd: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
009e95bdgen_ai.usage.output_tokensSpan 009e95bd: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
53d9cca3gen_ai.usage.input_tokensSpan 53d9cca3: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
53d9cca3gen_ai.usage.output_tokensSpan 53d9cca3: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
5ca2144fgen_ai.usage.input_tokensSpan 5ca2144f: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
5ca2144fgen_ai.usage.output_tokensSpan 5ca2144f: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
4a268d21gen_ai.usage.input_tokensinput_tokens must exist
4a268d21gen_ai.usage.output_tokensoutput_tokens must exist
4a268d21gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
4a268d21gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
009e95bdgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
53d9cca3gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
5ca2144fgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (9)
[
  {
    "span_id": "161e2103de43ab1f",
    "trace_id": "321e7972ee8fb3f2384165c90d7b53b7",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 400,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "BAD REQUEST",
      "http.status_code": 400,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "aee0b62725a2d696",
    "start_timestamp": 1779175658.179,
    "timestamp": 1779175658.2903473,
    "status": "invalid_argument",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "fec376973303d52e",
    "trace_id": "321e7972ee8fb3f2384165c90d7b53b7",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 400,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "BAD REQUEST",
      "http.status_code": 400,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "aee0b62725a2d696",
    "start_timestamp": 1779175658.305,
    "timestamp": 1779175658.4002552,
    "status": "invalid_argument",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "90e48e2559703b78",
    "trace_id": "321e7972ee8fb3f2384165c90d7b53b7",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 400,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "BAD REQUEST",
      "http.status_code": 400,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "aee0b62725a2d696",
    "start_timestamp": 1779175658.408,
    "timestamp": 1779175658.5003982,
    "status": "invalid_argument",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "61c16f9d5eb329fb",
    "trace_id": "321e7972ee8fb3f2384165c90d7b53b7",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.anthropic.com/v1/messages",
      "http.method": "POST",
      "http.target": "/v1/messages",
      "net.peer.name": "api.anthropic.com",
      "http.host": "api.anthropic.com",
      "user_agent.original": [
        "Anthropic/JS 0.39.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/messages",
      "url.full": "https://api.anthropic.com/v1/messages",
      "url.scheme": "https:",
      "url.domain": "api.anthropic.com",
      "http.response.status_code": 400,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "BAD REQUEST",
      "http.status_code": 400,
      "network.peer.address": "160.79.104.10",
      "network.peer.port": 443,
      "net.peer.ip": "160.79.104.10",
      "net.peer.port": 443,
      "url": "https://api.anthropic.com/v1/messages"
    },
    "description": "POST https://api.anthropic.com/v1/messages",
    "parent_span_id": "aee0b62725a2d696",
    "start_timestamp": 1779175658.507,
    "timestamp": 1779175658.597387,
    "status": "invalid_argument",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "aee0b62725a2d696",
    "trace_id": "321e7972ee8fb3f2384165c90d7b53b7",
    "op": "test",
    "description": "conversation-id-llm-test",
    "start_timestamp": 1779175658.157,
    "timestamp": 1779175658.6027298,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "4a268d21b23b4746",
    "trace_id": "321e7972ee8fb3f2384165c90d7b53b7",
    "parent_span_id": "aee0b62725a2d696",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175658.162,
    "timestamp": 1779175658.2941358,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "gen_ai.conversation.id": "conv-a"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "009e95bd65ab6a82",
    "trace_id": "321e7972ee8fb3f2384165c90d7b53b7",
    "parent_span_id": "aee0b62725a2d696",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175658.304,
    "timestamp": 1779175658.4026554,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "gen_ai.conversation.id": "conv-b"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "53d9cca3ec46b9d0",
    "trace_id": "321e7972ee8fb3f2384165c90d7b53b7",
    "parent_span_id": "aee0b62725a2d696",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175658.407,
    "timestamp": 1779175658.5020475,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "gen_ai.conversation.id": "conv-a"
    },
    "status": "error",
    "is_segment": false
  },
  {
    "span_id": "5ca2144f415698a1",
    "trace_id": "321e7972ee8fb3f2384165c90d7b53b7",
    "parent_span_id": "aee0b62725a2d696",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175658.506,
    "timestamp": 1779175658.6002786,
    "data": {
      "sentry.origin": "auto.ai.langchain",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.request.temperature": 1,
      "gen_ai.request.max_tokens": 2048,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "gen_ai.conversation.id": "conv-b"
    },
    "status": "error",
    "is_segment": false
  }
]
node/openai :: Basic LLM Test (streaming, chat)❗︎ 12806ms
checkAISpanCount(1)
checkChatSpanAttributes
205aba2egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
205aba2egen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(1 span)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (3)
[
  {
    "span_id": "c166ff7a04629fbb",
    "trace_id": "0a5f20d2a4f1f9024c723fc58e2f3ccd",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "205aba2e64a6b4ba",
    "start_timestamp": 1779175660.553,
    "timestamp": 1779175661.450182,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "4cc67f892fae96be",
    "trace_id": "0a5f20d2a4f1f9024c723fc58e2f3ccd",
    "op": "test",
    "description": "basic-llm-test",
    "start_timestamp": 1779175660.486,
    "timestamp": 1779175661.4531758,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "205aba2e64a6b4ba",
    "trace_id": "0a5f20d2a4f1f9024c723fc58e2f3ccd",
    "parent_span_id": "4cc67f892fae96be",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175660.494,
    "timestamp": 1779175661.4525032,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh99YjMRrlct65MzJgT87qjSgdLl7",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 74,
      "gen_ai.usage.total_tokens": 97,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "Paris"
    },
    "status": "ok",
    "is_segment": false
  }
]
node/openai :: Basic LLM Test (streaming, responses)❗︎ 14285ms
checkAISpanCount(1)
checkChatSpanAttributes
84403764gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
84403764gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(1 span) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(1 span)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (3)
[
  {
    "span_id": "84dd4ea5ece02596",
    "trace_id": "79aea8d678fd9006c9329590185db753",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "84403764757fa5c6",
    "start_timestamp": 1779175660.863,
    "timestamp": 1779175663.2576523,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "10bfe2ae024ec0ad",
    "trace_id": "79aea8d678fd9006c9329590185db753",
    "op": "test",
    "description": "basic-llm-test",
    "start_timestamp": 1779175660.839,
    "timestamp": 1779175663.2619908,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "84403764757fa5c6",
    "trace_id": "79aea8d678fd9006c9329590185db753",
    "parent_span_id": "10bfe2ae024ec0ad",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175660.842,
    "timestamp": 1779175663.260836,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_0b6f8635b5d3d1a7006a0c10ed2ccc81949a2ad2bf69b937d1",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 289,
      "gen_ai.usage.total_tokens": 312,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.response.tool_calls": "[{\"id\":\"rs_0b6f8635b5d3d1a7006a0c10ed95d88194aba2454109916b95\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_0b6f8635b5d3d1a7006a0c10eef4bc819498053879ff55d33d\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"The capital of France is Paris.\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  }
]
node/openai :: Basic LLM Test (blocking, chat)❗︎ 12951ms
checkAISpanCount(1)
checkChatSpanAttributes
5f3ca804gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
5f3ca804gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "e59be2a614f43955",
    "trace_id": "35e210650038b5d6c1acede8783b1373",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "5f3ca804ed752417",
    "start_timestamp": 1779175660.769,
    "timestamp": 1779175661.9391212,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "d9ee9059de9245b8",
    "trace_id": "35e210650038b5d6c1acede8783b1373",
    "op": "test",
    "description": "basic-llm-test",
    "start_timestamp": 1779175660.721,
    "timestamp": 1779175661.9430149,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "5f3ca804ed752417",
    "trace_id": "35e210650038b5d6c1acede8783b1373",
    "parent_span_id": "d9ee9059de9245b8",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175660.727,
    "timestamp": 1779175661.9420016,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "chatcmpl-Dh99ZrLjpwAY5d3rNt0McK57H4eFI",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 75,
      "gen_ai.usage.total_tokens": 98,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris.\"]"
    },
    "status": "ok",
    "is_segment": false
  }
]
node/openai :: Basic LLM Test (blocking, responses)❗︎ 13458ms
checkAISpanCount(1)
checkChatSpanAttributes
288ac648gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
288ac648gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "c000280bc83fe9a9",
    "trace_id": "3bbb3b2a8106dd89651eb7bfc2dac44d",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "288ac648195b0589",
    "start_timestamp": 1779175660.904,
    "timestamp": 1779175662.5228794,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "d0a688b27e4eca56",
    "trace_id": "3bbb3b2a8106dd89651eb7bfc2dac44d",
    "op": "test",
    "description": "basic-llm-test",
    "start_timestamp": 1779175660.888,
    "timestamp": 1779175662.5353377,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "288ac648195b0589",
    "trace_id": "3bbb3b2a8106dd89651eb7bfc2dac44d",
    "parent_span_id": "d0a688b27e4eca56",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175660.89,
    "timestamp": 1779175662.534578,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "resp_0e55b2d6ee3e9f95006a0c10ed15088194a5177155b8c6321f",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 188,
      "gen_ai.usage.total_tokens": 211,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "Paris."
    },
    "status": "ok",
    "is_segment": false
  }
]
node/openai :: Multi-Turn LLM Test (streaming, chat)❗︎ 119439ms
checkAISpanCount(3)
checkChatSpanAttributes
e3b561abgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
e3b561abgen_ai.output.messagesMissing output messages attribute
a682aec7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a682aec7gen_ai.output.messagesMissing output messages attribute
6b4ca386gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
6b4ca386gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(3 spans)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (7)
[
  {
    "span_id": "f3f3cfdd2c02bd4c",
    "trace_id": "fabc2c1f82ff728830a0e0912486312d",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "e3b561ab64d11557",
    "start_timestamp": 1779175660.982,
    "timestamp": 1779175662.4252448,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "7c53d36377ed747f",
    "trace_id": "fabc2c1f82ff728830a0e0912486312d",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "a682aec7f9f606dd",
    "start_timestamp": 1779175662.43,
    "timestamp": 1779175668.4652402,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "4e1cf3d1abf1eb13",
    "trace_id": "fabc2c1f82ff728830a0e0912486312d",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "6b4ca386ca82354b",
    "start_timestamp": 1779175668.467,
    "timestamp": 1779175678.6335578,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "c906228d3c3d1756",
    "trace_id": "fabc2c1f82ff728830a0e0912486312d",
    "op": "test",
    "description": "multi-turn-llm-test",
    "start_timestamp": 1779175660.961,
    "timestamp": 1779175678.6343477,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "e3b561ab64d11557",
    "trace_id": "fabc2c1f82ff728830a0e0912486312d",
    "parent_span_id": "c906228d3c3d1756",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175660.964,
    "timestamp": 1779175662.4275904,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh99ZSNxxlQsfse3Jzh79j4STpHXB",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 139,
      "gen_ai.usage.total_tokens": 162,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "Paris."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a682aec7f9f606dd",
    "trace_id": "fabc2c1f82ff728830a0e0912486312d",
    "parent_span_id": "c906228d3c3d1756",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175662.429,
    "timestamp": 1779175668.4664347,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh99alswrAHb3cx3Y4GQOroNLffp3",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 919,
      "gen_ai.usage.total_tokens": 967,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "- City proper (the commune of Paris): about 2.1–2.2 million people.\n- Paris metropolitan area (Île-de-France): roughly 12–13 million people.\n\nPopulation figures vary by definition and year. If you want the exact latest official number, tell me which definition you want (city proper vs. metro) and I’ll look up the latest figure."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "6b4ca386ca82354b",
    "trace_id": "fabc2c1f82ff728830a0e0912486312d",
    "parent_span_id": "c906228d3c3d1756",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175668.466,
    "timestamp": 1779175678.6340456,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh99gEMD5BRfMZUWfbyZ3qvpJVb4s",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 1832,
      "gen_ai.usage.total_tokens": 1913,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "The Paris metropolitan area (the Paris urban area or “aire urbaine”) has roughly 12 million people. Exact figures vary by definition and year, with estimates typically ranging from about 12.0 to 12.8 million. If you want a precise number, tell me which definition you want (e.g., INSEE’s aire urbaine de Paris vs. the Île-de-France region) and the year, and I’ll pull the latest figure."
    },
    "status": "ok",
    "is_segment": false
  }
]
node/openai :: Multi-Turn LLM Test (streaming, responses)❗︎ 121596ms
checkAISpanCount(3)
checkChatSpanAttributes
15b8c590gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
15b8c590gen_ai.output.messagesMissing output messages attribute
41d38396gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
41d38396gen_ai.output.messagesMissing output messages attribute
8ca9714fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8ca9714fgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(3 spans)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (7)
[
  {
    "span_id": "769d99fa2c5a2325",
    "trace_id": "41cb6b0e297125e247f9d25e89c1bdce",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "15b8c59043a631c6",
    "start_timestamp": 1779175660.959,
    "timestamp": 1779175662.3683095,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "405da91c123b7884",
    "trace_id": "41cb6b0e297125e247f9d25e89c1bdce",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "41d38396de49d9bf",
    "start_timestamp": 1779175662.373,
    "timestamp": 1779175669.6534488,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "76868ae4376d7af4",
    "trace_id": "41cb6b0e297125e247f9d25e89c1bdce",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "8ca9714f3f16cd86",
    "start_timestamp": 1779175669.656,
    "timestamp": 1779175680.9341393,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "5f3e880899c1770b",
    "trace_id": "41cb6b0e297125e247f9d25e89c1bdce",
    "op": "test",
    "description": "multi-turn-llm-test",
    "start_timestamp": 1779175660.936,
    "timestamp": 1779175680.934401,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "15b8c59043a631c6",
    "trace_id": "41cb6b0e297125e247f9d25e89c1bdce",
    "parent_span_id": "5f3e880899c1770b",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175660.939,
    "timestamp": 1779175662.3701591,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_002f77514a04b198006a0c10ed05f4819099a89b9e6e2faacc",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 181,
      "gen_ai.usage.total_tokens": 204,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "Paris.",
      "gen_ai.response.tool_calls": "[{\"id\":\"rs_002f77514a04b198006a0c10ed637c8190bc63cc09d2bc0f2c\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_002f77514a04b198006a0c10ee2be88190a9821146455b00e0\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris.\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "41d38396de49d9bf",
    "trace_id": "41cb6b0e297125e247f9d25e89c1bdce",
    "parent_span_id": "5f3e880899c1770b",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175662.371,
    "timestamp": 1779175669.6535618,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_06697f62d38851d5006a0c10ee6bb481969b69adbacc09683c",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 1085,
      "gen_ai.usage.total_tokens": 1133,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "Paris (the city proper) has about 2.1 million residents. The wider Paris metropolitan area (urban area/Île-de-France) has roughly 12 million people.\n\nIf you want a specific definition (city proper vs metropolitan area) or the exact latest figure, tell me and I can pull the latest numbers.",
      "gen_ai.response.tool_calls": "[{\"id\":\"rs_06697f62d38851d5006a0c10eeb97881968ddd3bdde4a3013b\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_06697f62d38851d5006a0c10f4f57c8196a37aa2c96fba8d48\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris (the city proper) has about 2.1 million residents. The wider Paris metropolitan area (urban area/Île-de-France) has roughly 12 million people.\\n\\nIf you want a specific definition (city proper vs metropolitan area) or the exact latest figure, tell me and I can pull the latest numbers.\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8ca9714f3f16cd86",
    "trace_id": "41cb6b0e297125e247f9d25e89c1bdce",
    "parent_span_id": "5f3e880899c1770b",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175669.654,
    "timestamp": 1779175680.9343858,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_014bfe812e5912b4006a0c10f5b78481908bb6f3725541751b",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 1906,
      "gen_ai.usage.total_tokens": 1987,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "A couple of common ways to define “metropolitan area” for Paris:\n\n- Paris urban area (aire urbaine): about 12 million people (roughly 12.0–12.5 million, depending on the year and method).\n- Île-de-France region (Greater Paris): about 12.5–13 million in recent counts.\n\nIf you specify which definition you want (and a year), I can give the exact latest figures.",
      "gen_ai.response.tool_calls": "[{\"id\":\"rs_014bfe812e5912b4006a0c10f612fc8190a79569d80f77e9f5\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_014bfe812e5912b4006a0c110017648190ad37a1fc74c7dc08\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"A couple of common ways to define “metropolitan area” for Paris:\\n\\n- Paris urban area (aire urbaine): about 12 million people (roughly 12.0–12.5 million, depending on the year and method).\\n- Île-de-France region (Greater Paris): about 12.5–13 million in recent counts.\\n\\nIf you specify which definition you want (and a year), I can give the exact latest figures.\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  }
]
node/openai :: Multi-Turn LLM Test (blocking, chat)❗︎ 122285ms
checkAISpanCount(3)
checkChatSpanAttributes
8348aad0gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8348aad0gen_ai.output.messagesMissing output messages attribute
9fd18714gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9fd18714gen_ai.output.messagesMissing output messages attribute
dc063cefgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
dc063cefgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "span_id": "30f59d6bd00c6e19",
    "trace_id": "0e8d3ddc4cc91528c8b98515dc6698b0",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "8348aad06923c7c6",
    "start_timestamp": 1779175662.555,
    "timestamp": 1779175664.2744899,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "7671abdc66d9561f",
    "trace_id": "0e8d3ddc4cc91528c8b98515dc6698b0",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "9fd1871487469c9f",
    "start_timestamp": 1779175664.284,
    "timestamp": 1779175673.1502647,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "fdb6db3b700726fa",
    "trace_id": "0e8d3ddc4cc91528c8b98515dc6698b0",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "dc063cef90cf0f74",
    "start_timestamp": 1779175673.152,
    "timestamp": 1779175683.6995392,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "36da9604d628ff89",
    "trace_id": "0e8d3ddc4cc91528c8b98515dc6698b0",
    "op": "test",
    "description": "multi-turn-llm-test",
    "start_timestamp": 1779175662.535,
    "timestamp": 1779175683.7029967,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "8348aad06923c7c6",
    "trace_id": "0e8d3ddc4cc91528c8b98515dc6698b0",
    "parent_span_id": "36da9604d628ff89",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175662.537,
    "timestamp": 1779175664.2797523,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "chatcmpl-Dh99aQXE4nHwo56LNgEHkL8Xbhbmi",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 139,
      "gen_ai.usage.total_tokens": 162,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris.\"]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9fd1871487469c9f",
    "trace_id": "0e8d3ddc4cc91528c8b98515dc6698b0",
    "parent_span_id": "36da9604d628ff89",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175664.282,
    "timestamp": 1779175673.1511927,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.id": "chatcmpl-Dh99cHapW0wjQwdzhw9Uja2WvfTha",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 1399,
      "gen_ai.usage.total_tokens": 1447,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris (the city proper) has about 2.1 million residents (roughly 2.15–2.17 million depending on the year).\\n\\nIf you’re asking about the larger areas:\\n- Paris urban area / metropolitan influence: about 12 million people.\\n- Île-de-France region (the wider metro area around Paris): also around 12–13 million, depending on the exact definition.\\n\\nIf you want a precise figure, tell me which definition you want (city proper, urban area, or metro region) and the year.\"]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "dc063cef90cf0f74",
    "trace_id": "0e8d3ddc4cc91528c8b98515dc6698b0",
    "parent_span_id": "36da9604d628ff89",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175673.151,
    "timestamp": 1779175683.7025015,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.response.id": "chatcmpl-Dh99lLpbKyTAy0R4JdeqzjYqzsUwk",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 2012,
      "gen_ai.usage.total_tokens": 2093,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Around 12 million people, but the exact number depends on the definition.\\n\\n- Paris urban area (aire urbaine): about 12 million.\\n- Île-de-France region (the wider metropolitan region around Paris): about 12–13 million.\\n- City proper (already given): ~2.2 million.\\n\\nIf you have a specific definition or year in mind, I can give a more precise figure.\"]"
    },
    "status": "ok",
    "is_segment": false
  }
]
node/openai :: Multi-Turn LLM Test (blocking, responses)❗︎ 122031ms
checkAISpanCount(3)
checkChatSpanAttributes
87ae43dagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
87ae43dagen_ai.output.messagesMissing output messages attribute
d86b40e9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
d86b40e9gen_ai.output.messagesMissing output messages attribute
7206728egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
7206728egen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "span_id": "0e7b470a336556c6",
    "trace_id": "4b9952b9b6707bb5cb3ee46d9e2633c6",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "87ae43dad5459cb3",
    "start_timestamp": 1779175663.072,
    "timestamp": 1779175664.314967,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "d24af79b886ed252",
    "trace_id": "4b9952b9b6707bb5cb3ee46d9e2633c6",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "d86b40e96ccf0caa",
    "start_timestamp": 1779175664.322,
    "timestamp": 1779175673.7801158,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "44bca262a2fc93bb",
    "trace_id": "4b9952b9b6707bb5cb3ee46d9e2633c6",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "7206728e4e1c3f4e",
    "start_timestamp": 1779175673.782,
    "timestamp": 1779175683.8742383,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "303a8fd92707f194",
    "trace_id": "4b9952b9b6707bb5cb3ee46d9e2633c6",
    "op": "test",
    "description": "multi-turn-llm-test",
    "start_timestamp": 1779175663.056,
    "timestamp": 1779175683.8778892,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "87ae43dad5459cb3",
    "trace_id": "4b9952b9b6707bb5cb3ee46d9e2633c6",
    "parent_span_id": "303a8fd92707f194",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175663.058,
    "timestamp": 1779175664.319198,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "resp_0e7daa98c1b595b9006a0c10ef25b88196a132ebb4bd6f44c3",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 115,
      "gen_ai.usage.total_tokens": 138,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "Paris."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "d86b40e96ccf0caa",
    "trace_id": "4b9952b9b6707bb5cb3ee46d9e2633c6",
    "parent_span_id": "303a8fd92707f194",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175664.32,
    "timestamp": 1779175673.7807665,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the population of that city?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.id": "resp_070a00c17611451d006a0c10f0621c8194b8cc2778a83858e3",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 1465,
      "gen_ai.usage.total_tokens": 1513,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "Do you mean Paris city proper or the wider Paris area? Here are approximate figures:\n\n- Paris city proper (the admin city): about 2.1 million people.\n- Paris metropolitan area / urban area: around 12 million people.\n- Île-de-France region (the wider region including Paris and surrounding areas): about 12–13 million.\n\nIf you want a precise figure for a specific year or definition, tell me which one and I can narrow it down."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "7206728e4e1c3f4e",
    "trace_id": "4b9952b9b6707bb5cb3ee46d9e2633c6",
    "parent_span_id": "303a8fd92707f194",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175673.781,
    "timestamp": 1779175683.877265,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about the metropolitan area?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 5,
      "gen_ai.response.id": "resp_04640878e1910a8e006a0c10f9da348196bbd516237dc1fddf",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 1669,
      "gen_ai.usage.total_tokens": 1750,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "Depends on the definition, but the Paris metropolitan area is roughly 12–13 million people.\n\n- Paris urban area (aire urbaine): about 12.0–12.8 million in recent years.\n- Île-de-France region (the wider metro region around Paris): about 12.3–12.9 million.\n\nIf you want a precise figure for a specific year or source, tell me which definition you prefer and the year."
    },
    "status": "ok",
    "is_segment": false
  }
]
node/openai :: Vision LLM Test (streaming, chat)❗︎ 11818ms
checkChatSpanAttributes
bbb01549gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bbb01549gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(1 span)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (3)
[
  {
    "span_id": "ef583d1a8cbc59fb",
    "trace_id": "7e06a8ffb08689d63d1783e76c9d5dc2",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "bbb01549fc55b51d",
    "start_timestamp": 1779175665.806,
    "timestamp": 1779175666.3721888,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "245ee118259d95ac",
    "trace_id": "7e06a8ffb08689d63d1783e76c9d5dc2",
    "op": "test",
    "description": "vision-llm-test",
    "start_timestamp": 1779175665.782,
    "timestamp": 1779175666.3746078,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "bbb01549fc55b51d",
    "trace_id": "7e06a8ffb08689d63d1783e76c9d5dc2",
    "parent_span_id": "245ee118259d95ac",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175665.785,
    "timestamp": 1779175666.3742309,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.stream": true,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":[{\"type\":\"text\",\"text\":\"What color is this image? Reply with just the color name.\"},{\"type\":\"image_url\",\"image_url\":{\"url\":\"[Blob substitute]\"}}]}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh99eYIwmf5oqHFtxQfJ23Y5oSjfk",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 8538,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "Red"
    },
    "status": "ok",
    "is_segment": false
  }
]
node/openai :: Vision LLM Test (streaming, responses)❗︎ 11889ms
checkChatSpanAttributes
e204229egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
e204229egen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(1 span) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(1 span)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (3)
[
  {
    "span_id": "ba426e5b988755da",
    "trace_id": "acfc87161fcc0265d10d78c4e6e27850",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "e204229e586f1f1e",
    "start_timestamp": 1779175665.833,
    "timestamp": 1779175666.4858131,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "a607987581a04006",
    "trace_id": "acfc87161fcc0265d10d78c4e6e27850",
    "op": "test",
    "description": "vision-llm-test",
    "start_timestamp": 1779175665.816,
    "timestamp": 1779175666.4877934,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "e204229e586f1f1e",
    "trace_id": "acfc87161fcc0265d10d78c4e6e27850",
    "parent_span_id": "a607987581a04006",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175665.818,
    "timestamp": 1779175666.487199,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.stream": true,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What color is this image? Reply with just the color name.\"},{\"type\":\"input_image\",\"image_url\":\"[Blob substitute]\"}]}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_04e50041c88148e0006a0c10f1e5bc81969630d662996af1c3",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 2,
      "gen_ai.usage.total_tokens": 8539,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "Red",
      "gen_ai.response.tool_calls": "[{\"id\":\"msg_04e50041c88148e0006a0c10f24cd0819694bb01d6aba687f9\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Red\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  }
]
node/openai :: Vision LLM Test (blocking, chat)❗︎ 11721ms
checkChatSpanAttributes
c6f9d663gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
c6f9d663gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "2d53286bf1742e6b",
    "trace_id": "cc5c9898da5ab01953d24a8b92549637",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "c6f9d663f14c9b23",
    "start_timestamp": 1779175666.178,
    "timestamp": 1779175666.6601245,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "9ad049721af41b44",
    "trace_id": "cc5c9898da5ab01953d24a8b92549637",
    "op": "test",
    "description": "vision-llm-test",
    "start_timestamp": 1779175666.162,
    "timestamp": 1779175666.6644285,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "c6f9d663f14c9b23",
    "trace_id": "cc5c9898da5ab01953d24a8b92549637",
    "parent_span_id": "9ad049721af41b44",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175666.164,
    "timestamp": 1779175666.6637518,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":[{\"type\":\"text\",\"text\":\"What color is this image? Reply with just the color name.\"},{\"type\":\"image_url\",\"image_url\":{\"url\":\"[Blob substitute]\"}}]}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "chatcmpl-Dh99eFIxf5p8HK0oWv2eRRb2omDKO",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 8538,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Red\"]"
    },
    "status": "ok",
    "is_segment": false
  }
]
node/openai :: Vision LLM Test (blocking, responses)❗︎ 12696ms
checkChatSpanAttributes
2f6038d9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
2f6038d9gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "9a0ff8840f9e0aff",
    "trace_id": "e8144cc91f03b13089b92cfd4ba505ba",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "2f6038d93214b8be",
    "start_timestamp": 1779175667.441,
    "timestamp": 1779175668.7879405,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "e3b9f5346f4dcecb",
    "trace_id": "e8144cc91f03b13089b92cfd4ba505ba",
    "op": "test",
    "description": "vision-llm-test",
    "start_timestamp": 1779175667.392,
    "timestamp": 1779175668.7933877,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "2f6038d93214b8be",
    "trace_id": "e8144cc91f03b13089b92cfd4ba505ba",
    "parent_span_id": "e3b9f5346f4dcecb",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175667.398,
    "timestamp": 1779175668.7929256,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What color is this image? Reply with just the color name.\"},{\"type\":\"input_image\",\"image_url\":\"[Blob substitute]\"}]}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "resp_048149a4cee3a4c1006a0c10f388648190b44fcefbbe8616ac",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 2,
      "gen_ai.usage.total_tokens": 8539,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "Red"
    },
    "status": "ok",
    "is_segment": false
  }
]
node/openai :: Long Input LLM Test (streaming, chat)❗︎ 14786ms
checkChatSpanAttributes
ef1f91f3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ef1f91f3gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(1 span)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (3)
[
  {
    "span_id": "503e650c07234b83",
    "trace_id": "aaf5d9933b56007ac0fe5ca2b10cbe95",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "ef1f91f340805e2b",
    "start_timestamp": 1779175667.857,
    "timestamp": 1779175671.153926,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "cff2f2f6accc0c64",
    "trace_id": "aaf5d9933b56007ac0fe5ca2b10cbe95",
    "op": "test",
    "description": "long-input-llm-test",
    "start_timestamp": 1779175667.832,
    "timestamp": 1779175671.157838,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "ef1f91f340805e2b",
    "trace_id": "aaf5d9933b56007ac0fe5ca2b10cbe95",
    "parent_span_id": "cff2f2f6accc0c64",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175667.835,
    "timestamp": 1779175671.1569436,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.stream": true,
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh99hXEKMoxLLKJoAY64aAXvw26k3",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.output_tokens": 18,
      "gen_ai.usage.total_tokens": 5447,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "This repetitive test message aims to generate a long input by repeating the same phrase multiple times."
    },
    "status": "ok",
    "is_segment": false
  }
]
node/openai :: Long Input LLM Test (streaming, responses)❗︎ 12577ms
checkChatSpanAttributes
2d53c612gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
2d53c612gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(1 span) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(1 span)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (3)
[
  {
    "span_id": "284fe0b5cc8d2238",
    "trace_id": "7b46aa6f78516e7814c48e2fa11c7f9b",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "2d53c6128a2bcce9",
    "start_timestamp": 1779175668.002,
    "timestamp": 1779175668.9491923,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "73976cfd3f1293d5",
    "trace_id": "7b46aa6f78516e7814c48e2fa11c7f9b",
    "op": "test",
    "description": "long-input-llm-test",
    "start_timestamp": 1779175667.978,
    "timestamp": 1779175668.9526334,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "2d53c6128a2bcce9",
    "trace_id": "7b46aa6f78516e7814c48e2fa11c7f9b",
    "parent_span_id": "73976cfd3f1293d5",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175667.984,
    "timestamp": 1779175668.9518235,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.request.stream": true,
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_0d1ed63a07a5309a006a0c10f410388195a9c01332c3ea8658",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.output_tokens": 15,
      "gen_ai.usage.total_tokens": 5444,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "The message is a repetitive test statement intended to generate a long input.",
      "gen_ai.response.tool_calls": "[{\"id\":\"msg_0d1ed63a07a5309a006a0c10f497c08195acf97cd82277eaf9\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"The message is a repetitive test statement intended to generate a long input.\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  }
]
node/openai :: Long Input LLM Test (blocking, chat)❗︎ 12981ms
checkChatSpanAttributes
105f0f0bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
105f0f0bgen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "a36177792aa96003",
    "trace_id": "47639042b134b870fe9f76112c80b6c6",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "105f0f0b97d3722e",
    "start_timestamp": 1779175667.973,
    "timestamp": 1779175669.4598439,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "a842b0aace185ae2",
    "trace_id": "47639042b134b870fe9f76112c80b6c6",
    "op": "test",
    "description": "long-input-llm-test",
    "start_timestamp": 1779175667.951,
    "timestamp": 1779175669.4635983,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "105f0f0b97d3722e",
    "trace_id": "47639042b134b870fe9f76112c80b6c6",
    "parent_span_id": "a842b0aace185ae2",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175667.954,
    "timestamp": 1779175669.4631891,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "chatcmpl-Dh99gEYgZG4ya8DffyDY4mw8HEX9M",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.output_tokens": 15,
      "gen_ai.usage.total_tokens": 5444,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"This message serves as a repetitive test input designed to create an extensive output.\"]"
    },
    "status": "ok",
    "is_segment": false
  }
]
node/openai :: Long Input LLM Test (blocking, responses)❗︎ 12412ms
checkChatSpanAttributes
ef14556fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ef14556fgen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "span_id": "ca3187061f820c85",
    "trace_id": "9045d096dcdff30014c3e0b09c395ca8",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "ef14556fde3d9ef8",
    "start_timestamp": 1779175668.127,
    "timestamp": 1779175669.083282,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "179410ebcc93916a",
    "trace_id": "9045d096dcdff30014c3e0b09c395ca8",
    "op": "test",
    "description": "long-input-llm-test",
    "start_timestamp": 1779175668.11,
    "timestamp": 1779175669.0878031,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "ef14556fde3d9ef8",
    "trace_id": "9045d096dcdff30014c3e0b09c395ca8",
    "parent_span_id": "179410ebcc93916a",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175668.112,
    "timestamp": 1779175669.0871098,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated man\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "resp_00c4947d028753a8006a0c10f43414819681bb9c8daa5662a7",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.output_tokens": 15,
      "gen_ai.usage.total_tokens": 5444,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "The message is a repetitive test statement aimed at generating a lengthy input."
    },
    "status": "ok",
    "is_segment": false
  }
]
node/openai :: Conversation ID LLM Test (streaming, chat)❗︎ 18076ms
checkAISpanCount(4)
checkChatSpanAttributes
b92f0447gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b92f0447gen_ai.output.messagesMissing output messages attribute
53adab75gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
53adab75gen_ai.output.messagesMissing output messages attribute
522254fagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
522254fagen_ai.output.messagesMissing output messages attribute
a90384eagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a90384eagen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(4 spans)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (9)
[
  {
    "span_id": "55b35df2d42a491c",
    "trace_id": "8816160679b77ca54582dd6890c3ef59",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "b92f0447a321b122",
    "start_timestamp": 1779175669.332,
    "timestamp": 1779175670.6452377,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "258a0213b4f673fd",
    "trace_id": "8816160679b77ca54582dd6890c3ef59",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "53adab7543e4db98",
    "start_timestamp": 1779175670.65,
    "timestamp": 1779175672.907246,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "431b75d45e8b8c9d",
    "trace_id": "8816160679b77ca54582dd6890c3ef59",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "522254fafa799fc2",
    "start_timestamp": 1779175672.909,
    "timestamp": 1779175674.403733,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "6bde865c36557b37",
    "trace_id": "8816160679b77ca54582dd6890c3ef59",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "172.66.0.243",
      "network.peer.port": 443,
      "net.peer.ip": "172.66.0.243",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "a90384ea83a41383",
    "start_timestamp": 1779175674.406,
    "timestamp": 1779175676.278085,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "285e5757a3560a93",
    "trace_id": "8816160679b77ca54582dd6890c3ef59",
    "op": "test",
    "description": "conversation-id-llm-test",
    "start_timestamp": 1779175669.315,
    "timestamp": 1779175676.2787051,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "b92f0447a321b122",
    "trace_id": "8816160679b77ca54582dd6890c3ef59",
    "parent_span_id": "285e5757a3560a93",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175669.317,
    "timestamp": 1779175670.647429,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh99hR3J8PkpZQ7ZD6aLNv3NyPCaA",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 138,
      "gen_ai.usage.total_tokens": 161,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "Paris"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "53adab7543e4db98",
    "trace_id": "8816160679b77ca54582dd6890c3ef59",
    "parent_span_id": "285e5757a3560a93",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175670.648,
    "timestamp": 1779175672.9073615,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh99io4Xp1VrsbJuzjKqRWo2GjHAF",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 365,
      "gen_ai.usage.total_tokens": 389,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "4\n\nExplanation: 2 + 2 means combining two and two, giving four. If you’d like, I can give a few more quick examples or a practice set."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "522254fafa799fc2",
    "trace_id": "8816160679b77ca54582dd6890c3ef59",
    "parent_span_id": "285e5757a3560a93",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175672.908,
    "timestamp": 1779175674.404473,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh99lFvWKVnWoLvw7DrClaZv7mNcr",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 160,
      "gen_ai.usage.total_tokens": 204,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "The capital of Germany is Berlin. If you’d like more details about Berlin or Germany, I can share more."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a90384ea83a41383",
    "trace_id": "8816160679b77ca54582dd6890c3ef59",
    "parent_span_id": "285e5757a3560a93",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175674.405,
    "timestamp": 1779175676.2786493,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "chatcmpl-Dh99mliEJW3ELcuDOh7KVagCsyVU7",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 287,
      "gen_ai.usage.total_tokens": 337,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "3 + 3 = 6. It’s the same as 2 × 3, so six."
    },
    "status": "ok",
    "is_segment": false
  }
]
node/openai :: Conversation ID LLM Test (streaming, responses)❗︎ 18506ms
checkAISpanCount(4)
checkChatSpanAttributes
d348cbb3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
d348cbb3gen_ai.output.messagesMissing output messages attribute
8079713bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8079713bgen_ai.output.messagesMissing output messages attribute
66417218gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
66417218gen_ai.output.messagesMissing output messages attribute
fadb9c15gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
fadb9c15gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.response.tool_calls(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.tool_calls" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(4 spans)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
{}Captured Spans (9)
[
  {
    "span_id": "852a4fc9567763b0",
    "trace_id": "21b0e0446dd1dc51a8fa29c96244ab4e",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "d348cbb36ad0e3c6",
    "start_timestamp": 1779175670.061,
    "timestamp": 1779175671.2161334,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "199b564c0a9cdd34",
    "trace_id": "21b0e0446dd1dc51a8fa29c96244ab4e",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "8079713bb6d47823",
    "start_timestamp": 1779175671.22,
    "timestamp": 1779175673.1793387,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "30d226d237202d0e",
    "trace_id": "21b0e0446dd1dc51a8fa29c96244ab4e",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "66417218d94429a8",
    "start_timestamp": 1779175673.181,
    "timestamp": 1779175674.9256344,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "9f84fba957aeefdf",
    "trace_id": "21b0e0446dd1dc51a8fa29c96244ab4e",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "fadb9c156cb9fb67",
    "start_timestamp": 1779175674.928,
    "timestamp": 1779175677.30194,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "673278f364f99de2",
    "trace_id": "21b0e0446dd1dc51a8fa29c96244ab4e",
    "op": "test",
    "description": "conversation-id-llm-test",
    "start_timestamp": 1779175670.028,
    "timestamp": 1779175677.3020935,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "d348cbb36ad0e3c6",
    "trace_id": "21b0e0446dd1dc51a8fa29c96244ab4e",
    "parent_span_id": "673278f364f99de2",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175670.03,
    "timestamp": 1779175671.218084,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_0f62b3dbd62e78d7006a0c10f620f88196910bb8a6839a8ded",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 147,
      "gen_ai.usage.total_tokens": 170,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "Paris.",
      "gen_ai.response.tool_calls": "[{\"id\":\"rs_0f62b3dbd62e78d7006a0c10f656f081968abc314c565df75e\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_0f62b3dbd62e78d7006a0c10f6f3c88196a0255ab9efc2e000\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Paris.\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8079713bb6d47823",
    "trace_id": "21b0e0446dd1dc51a8fa29c96244ab4e",
    "parent_span_id": "673278f364f99de2",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175671.219,
    "timestamp": 1779175673.1800547,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_0d2435c56d70d239006a0c10f74538819482bdb3d90b61ebde",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 246,
      "gen_ai.usage.total_tokens": 270,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "4. In base-10 arithmetic, 2 + 2 equals 4. If you’d like, I can show a quick explanation or explore other bases.",
      "gen_ai.response.tool_calls": "[{\"id\":\"rs_0d2435c56d70d239006a0c10f7a970819488e5349a4d103e6f\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_0d2435c56d70d239006a0c10f8c74881949a529f6b350dbb89\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"4. In base-10 arithmetic, 2 + 2 equals 4. If you’d like, I can show a quick explanation or explore other bases.\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "66417218d94429a8",
    "trace_id": "21b0e0446dd1dc51a8fa29c96244ab4e",
    "parent_span_id": "673278f364f99de2",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175673.18,
    "timestamp": 1779175674.9260976,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_0d5ecd2de39a8183006a0c10f93ab48195871f1a5dca6b0a18",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 202,
      "gen_ai.usage.total_tokens": 246,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "Germany's capital is Berlin. If you want more details about Berlin or Germany, I can help.",
      "gen_ai.response.tool_calls": "[{\"id\":\"rs_0d5ecd2de39a8183006a0c10f983b081959377d94f8f59f515\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_0d5ecd2de39a8183006a0c10fa90a48195b81569186d4345df\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"Germany's capital is Berlin. If you want more details about Berlin or Germany, I can help.\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "fadb9c156cb9fb67",
    "trace_id": "21b0e0446dd1dc51a8fa29c96244ab4e",
    "parent_span_id": "673278f364f99de2",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175674.927,
    "timestamp": 1779175677.3021567,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.request.stream": true,
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.streaming": true,
      "gen_ai.response.id": "resp_0a6a9d018156303b006a0c10fafa588197a9511b7015268c55",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 245,
      "gen_ai.usage.total_tokens": 295,
      "gen_ai.response.finish_reasons": "[\"in_progress\",\"in_progress\",\"completed\"]",
      "gen_ai.response.text": "3 + 3 equals 6. You can think of it as two groups of three items: 3 apples + 3 apples = 6 apples.",
      "gen_ai.response.tool_calls": "[{\"id\":\"rs_0a6a9d018156303b006a0c10fba1cc8197ab5d8042e5bfccda\",\"type\":\"reasoning\",\"summary\":[]},{\"id\":\"msg_0a6a9d018156303b006a0c10fcd8988197985f9417d4da6112\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"3 + 3 equals 6. You can think of it as two groups of three items: 3 apples + 3 apples = 6 apples.\"}],\"role\":\"assistant\"}]"
    },
    "status": "ok",
    "is_segment": false
  }
]
node/openai :: Conversation ID LLM Test (blocking, chat)❗︎ 18675ms
checkAISpanCount(4)
checkChatSpanAttributes
8abf9441gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8abf9441gen_ai.output.messagesMissing output messages attribute
cd463551gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
cd463551gen_ai.output.messagesMissing output messages attribute
4aa12f94gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
4aa12f94gen_ai.output.messagesMissing output messages attribute
37300af3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
37300af3gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (9)
[
  {
    "span_id": "91607bc188148d14",
    "trace_id": "7e04f0ff395f02b41b5060b8b0cb2d25",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "8abf9441e2bc037b",
    "start_timestamp": 1779175670.252,
    "timestamp": 1779175671.3072615,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "be9aeb0ea2248778",
    "trace_id": "7e04f0ff395f02b41b5060b8b0cb2d25",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "cd463551993551a1",
    "start_timestamp": 1779175671.311,
    "timestamp": 1779175673.1706824,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "c11e664173e6cf21",
    "trace_id": "7e04f0ff395f02b41b5060b8b0cb2d25",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "4aa12f94c3f39827",
    "start_timestamp": 1779175673.173,
    "timestamp": 1779175674.9178271,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "bdb8f5f4173835ae",
    "trace_id": "7e04f0ff395f02b41b5060b8b0cb2d25",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/chat/completions",
      "http.method": "POST",
      "http.target": "/v1/chat/completions",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/chat/completions",
      "url.full": "https://api.openai.com/v1/chat/completions",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/chat/completions"
    },
    "description": "POST https://api.openai.com/v1/chat/completions",
    "parent_span_id": "37300af33a747c05",
    "start_timestamp": 1779175674.92,
    "timestamp": 1779175677.6305869,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "1c9218e81d0823ca",
    "trace_id": "7e04f0ff395f02b41b5060b8b0cb2d25",
    "op": "test",
    "description": "conversation-id-llm-test",
    "start_timestamp": 1779175670.226,
    "timestamp": 1779175677.6311295,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "8abf9441e2bc037b",
    "trace_id": "7e04f0ff395f02b41b5060b8b0cb2d25",
    "parent_span_id": "1c9218e81d0823ca",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175670.229,
    "timestamp": 1779175671.3098419,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "chatcmpl-Dh99iupbbaYaYM9d0MPFwsYKWzGKh",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 75,
      "gen_ai.usage.total_tokens": 98,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"Paris.\"]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "cd463551993551a1",
    "trace_id": "7e04f0ff395f02b41b5060b8b0cb2d25",
    "parent_span_id": "1c9218e81d0823ca",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175671.31,
    "timestamp": 1779175673.1717029,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "chatcmpl-Dh99j3DXfNdUJUzNaoVKK74MwB73d",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 227,
      "gen_ai.usage.total_tokens": 251,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"4. In standard arithmetic, 2 + 2 equals 4. Would you like a quick explanation or a related problem?\"]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "4aa12f94c3f39827",
    "trace_id": "7e04f0ff395f02b41b5060b8b0cb2d25",
    "parent_span_id": "1c9218e81d0823ca",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175673.172,
    "timestamp": 1779175674.9183085,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a helpful assistant.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.id": "chatcmpl-Dh99l3kHA6e6vQ4dwL9YICnwRL9hj",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 219,
      "gen_ai.usage.total_tokens": 263,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"The capital of Germany is Berlin. Would you like a few facts about Berlin or Germany?\"]"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "37300af33a747c05",
    "trace_id": "7e04f0ff395f02b41b5060b8b0cb2d25",
    "parent_span_id": "1c9218e81d0823ca",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175674.919,
    "timestamp": 1779175677.6310008,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.system_instructions": "[{\"type\":\"text\",\"content\":\"You are a math tutor.\"}]",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.id": "chatcmpl-Dh99nbdaB2vxOeDnymCXNZSIlsFjo",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 354,
      "gen_ai.usage.total_tokens": 404,
      "gen_ai.response.finish_reasons": "[\"stop\"]",
      "gen_ai.response.text": "[\"6.\\n\\nA quick check: three of something plus three more equals six. If you want, we can practice more examples.\"]"
    },
    "status": "ok",
    "is_segment": false
  }
]
node/openai :: Conversation ID LLM Test (blocking, responses)❗︎ 110132ms
checkAISpanCount(4)
checkChatSpanAttributes
9bb499afgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9bb499afgen_ai.output.messagesMissing output messages attribute
9303b561gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9303b561gen_ai.output.messagesMissing output messages attribute
df79e330gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
df79e330gen_ai.output.messagesMissing output messages attribute
ff42f26agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ff42f26agen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (9)
[
  {
    "span_id": "850b6e412757fa1f",
    "trace_id": "19627f0e2ad228c0a5a93b2ca03ecc5e",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "9bb499af081abeeb",
    "start_timestamp": 1779175670.427,
    "timestamp": 1779175672.391688,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "b6115cd6338a9e4f",
    "trace_id": "19627f0e2ad228c0a5a93b2ca03ecc5e",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "9303b5617f3b02f8",
    "start_timestamp": 1779175672.396,
    "timestamp": 1779175675.0328348,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "7ba79cb82f663885",
    "trace_id": "19627f0e2ad228c0a5a93b2ca03ecc5e",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "df79e33031d0cbbf",
    "start_timestamp": 1779175675.036,
    "timestamp": 1779175677.06114,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "6ef92cc6e7a0e182",
    "trace_id": "19627f0e2ad228c0a5a93b2ca03ecc5e",
    "data": {
      "sentry.origin": "auto.http.client",
      "sentry.op": "http.client",
      "otel.kind": "CLIENT",
      "http.url": "https://api.openai.com/v1/responses",
      "http.method": "POST",
      "http.target": "/v1/responses",
      "net.peer.name": "api.openai.com",
      "http.host": "api.openai.com",
      "user_agent.original": [
        "OpenAI/JS 4.96.0"
      ],
      "sentry.source": "url",
      "http.request.method": "POST",
      "url.path": "/v1/responses",
      "url.full": "https://api.openai.com/v1/responses",
      "url.scheme": "https:",
      "url.domain": "api.openai.com",
      "http.response.status_code": 200,
      "network.protocol.version": "1.1",
      "http.flavor": "1.1",
      "network.transport": "ip_tcp",
      "net.transport": "ip_tcp",
      "http.status_text": "OK",
      "http.status_code": 200,
      "network.peer.address": "162.159.140.245",
      "network.peer.port": 443,
      "net.peer.ip": "162.159.140.245",
      "net.peer.port": 443,
      "url": "https://api.openai.com/v1/responses"
    },
    "description": "POST https://api.openai.com/v1/responses",
    "parent_span_id": "ff42f26a45c17199",
    "start_timestamp": 1779175677.063,
    "timestamp": 1779175679.1552403,
    "status": "ok",
    "op": "http.client",
    "origin": "auto.http.client"
  },
  {
    "span_id": "cd8ef58653f866ee",
    "trace_id": "19627f0e2ad228c0a5a93b2ca03ecc5e",
    "op": "test",
    "description": "conversation-id-llm-test",
    "start_timestamp": 1779175670.41,
    "timestamp": 1779175679.161169,
    "data": {
      "sentry.source": "custom",
      "sentry.sample_rate": 1,
      "sentry.op": "test",
      "sentry.origin": "manual"
    },
    "status": "ok"
  },
  {
    "span_id": "9bb499af081abeeb",
    "trace_id": "19627f0e2ad228c0a5a93b2ca03ecc5e",
    "parent_span_id": "cd8ef58653f866ee",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175670.412,
    "timestamp": 1779175672.3942888,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is the capital of France?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "resp_0394fffd7954f090006a0c10f67dcc8197bc67c4709d8a94c1",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 236,
      "gen_ai.usage.total_tokens": 259,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "Paris."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9303b5617f3b02f8",
    "trace_id": "19627f0e2ad228c0a5a93b2ca03ecc5e",
    "parent_span_id": "cd8ef58653f866ee",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175672.395,
    "timestamp": 1779175675.0340848,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What is 2 + 2?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 1,
      "gen_ai.response.id": "resp_073eef9dbb8352ab006a0c10f872708195a10ecc40589a87f7",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 367,
      "gen_ai.usage.total_tokens": 391,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "4. You can think of it as 2 apples plus 2 apples equals 4 apples. Another way: start at 2 on a number line and move 2 steps to reach 4.\n\nWould you like a few practice problems?"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "df79e33031d0cbbf",
    "trace_id": "19627f0e2ad228c0a5a93b2ca03ecc5e",
    "parent_span_id": "cd8ef58653f866ee",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175675.034,
    "timestamp": 1779175677.0611348,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.conversation.id": "conv-a",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about Germany?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.id": "resp_070a904b9f02f051006a0c10fb16f881958e172c3031048725",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 194,
      "gen_ai.usage.total_tokens": 238,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "The capital of Germany is Berlin."
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "ff42f26a45c17199",
    "trace_id": "19627f0e2ad228c0a5a93b2ca03ecc5e",
    "parent_span_id": "cd8ef58653f866ee",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175677.062,
    "timestamp": 1779175679.160848,
    "data": {
      "sentry.origin": "auto.ai.openai",
      "sentry.op": "gen_ai.chat",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.conversation.id": "conv-b",
      "gen_ai.input.messages": "[{\"role\":\"user\",\"content\":\"What about 3 + 3?\"}]",
      "sentry.sdk_meta.gen_ai.input.messages.original_length": 3,
      "gen_ai.response.id": "resp_01b63686284aa031006a0c10fd1d848194849efdb2c12218df",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 234,
      "gen_ai.usage.total_tokens": 284,
      "gen_ai.response.finish_reasons": "[\"completed\"]",
      "gen_ai.response.text": "3 + 3 equals 6.\n\nIf you’d like, I can show a quick way to see it (e.g., using a number line or adding step by step)."
    },
    "status": "ok",
    "is_segment": false
  }
]
python/anthropic :: Basic LLM Test (sync, streaming)❗︎ 12174ms
checkAISpanCount(1)
checkChatSpanAttributes
897e01eagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
897e01eagen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "34bf59ff13a341cfb3d7f443acf3cec2",
    "span_id": "98a9f4ba3f6b8293",
    "parent_span_id": "897e01ea197c9759",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:27:50.852283Z",
    "timestamp": "2026-05-19T07:27:50.853265Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20282
    },
    "data": {
      "thread.id": "140562559691648",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "34bf59ff13a341cfb3d7f443acf3cec2",
    "span_id": "87cbc4907e523bd3",
    "parent_span_id": "897e01ea197c9759",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:27:50.853344Z",
    "timestamp": "2026-05-19T07:27:50.854160Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20282
    },
    "data": {
      "thread.id": "140562559691648",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "34bf59ff13a341cfb3d7f443acf3cec2",
    "span_id": "b7f485ac4ebab5e5",
    "parent_span_id": "87cbc4907e523bd3",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:27:50.854059Z",
    "timestamp": "2026-05-19T07:27:50.854149Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20282
    },
    "data": {
      "thread.id": "140562559691648",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "34bf59ff13a341cfb3d7f443acf3cec2",
    "span_id": "9eb35c36757d1fa0",
    "parent_span_id": "897e01ea197c9759",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:27:50.854193Z",
    "timestamp": "2026-05-19T07:27:50.854205Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20282
    },
    "data": {
      "thread.id": "140562559691648",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "34bf59ff13a341cfb3d7f443acf3cec2",
    "span_id": "bc59976606daf6e2",
    "parent_span_id": "897e01ea197c9759",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:27:50.855156Z",
    "timestamp": "2026-05-19T07:27:51.519817Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140562559691648",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 38,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-sync-streaming.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "90c0a50cecac9523",
    "trace_id": "34bf59ff13a341cfb3d7f443acf3cec2",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:27:50.850076Z",
    "timestamp": "2026-05-19T07:27:51.582535Z",
    "data": {
      "thread.id": "140562559691648",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "897e01ea197c9759",
    "trace_id": "34bf59ff13a341cfb3d7f443acf3cec2",
    "parent_span_id": "90c0a50cecac9523",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175670.851934,
    "timestamp": 1779175671.582486,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "140562559691648",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": true,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_01TQaXLPv2oTu4YkEYE7KZvF",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "90c0a50cecac9523",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/anthropic :: Basic LLM Test (sync, blocking)❗︎ 11851ms
checkAISpanCount(1)
checkChatSpanAttributes
9e69f321gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9e69f321gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "2e0ee546b6a94127a735d189ff7a6da0",
    "span_id": "b7e0c81df501b160",
    "parent_span_id": "9e69f321385a8cab",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:27:51.234768Z",
    "timestamp": "2026-05-19T07:27:51.235757Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20285
    },
    "data": {
      "thread.id": "139973041486720",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "2e0ee546b6a94127a735d189ff7a6da0",
    "span_id": "8f5313045a457a1a",
    "parent_span_id": "9e69f321385a8cab",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:27:51.235813Z",
    "timestamp": "2026-05-19T07:27:51.236567Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20285
    },
    "data": {
      "thread.id": "139973041486720",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "2e0ee546b6a94127a735d189ff7a6da0",
    "span_id": "a0e074b4f2384c9e",
    "parent_span_id": "8f5313045a457a1a",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:27:51.236479Z",
    "timestamp": "2026-05-19T07:27:51.236560Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20285
    },
    "data": {
      "thread.id": "139973041486720",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "2e0ee546b6a94127a735d189ff7a6da0",
    "span_id": "9da6ae484648ea47",
    "parent_span_id": "9e69f321385a8cab",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:27:51.236592Z",
    "timestamp": "2026-05-19T07:27:51.236601Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20285
    },
    "data": {
      "thread.id": "139973041486720",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "2e0ee546b6a94127a735d189ff7a6da0",
    "span_id": "974d8b38c249fa84",
    "parent_span_id": "9e69f321385a8cab",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:27:51.237491Z",
    "timestamp": "2026-05-19T07:27:51.879471Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139973041486720",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 38,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-sync-blocking.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "abc8543d37440260",
    "trace_id": "2e0ee546b6a94127a735d189ff7a6da0",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:27:51.232831Z",
    "timestamp": "2026-05-19T07:27:51.889214Z",
    "data": {
      "thread.id": "139973041486720",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "9e69f321385a8cab",
    "trace_id": "2e0ee546b6a94127a735d189ff7a6da0",
    "parent_span_id": "abc8543d37440260",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175671.233559,
    "timestamp": 1779175671.889173,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "139973041486720",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": false,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_01DQmAJwZRZKN16BZ8KCKuTH",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "abc8543d37440260",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/anthropic :: Basic LLM Test (async, streaming)❗︎ 11711ms
checkAISpanCount(1)
checkChatSpanAttributes
b1e26139gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b1e26139gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "6cf46748f22747daad1a1ec15560687c",
    "span_id": "9857330ba2aabc21",
    "parent_span_id": "b1e26139990fa24a",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:27:52.264460Z",
    "timestamp": "2026-05-19T07:27:52.265539Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20296
    },
    "data": {
      "thread.id": "140467832956608",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "6cf46748f22747daad1a1ec15560687c",
    "span_id": "86ba05a356885ccf",
    "parent_span_id": "b1e26139990fa24a",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:27:52.265612Z",
    "timestamp": "2026-05-19T07:27:52.266386Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20296
    },
    "data": {
      "thread.id": "140467832956608",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "6cf46748f22747daad1a1ec15560687c",
    "span_id": "964b021e67a70bab",
    "parent_span_id": "86ba05a356885ccf",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:27:52.266299Z",
    "timestamp": "2026-05-19T07:27:52.266377Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20296
    },
    "data": {
      "thread.id": "140467832956608",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "6cf46748f22747daad1a1ec15560687c",
    "span_id": "b526aea8c620d50e",
    "parent_span_id": "b1e26139990fa24a",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:27:52.266419Z",
    "timestamp": "2026-05-19T07:27:52.266431Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20296
    },
    "data": {
      "thread.id": "140467832956608",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "6cf46748f22747daad1a1ec15560687c",
    "span_id": "a45ee7de31accf53",
    "parent_span_id": "b1e26139990fa24a",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:27:52.267705Z",
    "timestamp": "2026-05-19T07:27:52.664980Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140467904838528",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 39,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-async-streaming.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "8cee3f1e08d77939",
    "trace_id": "6cf46748f22747daad1a1ec15560687c",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:27:52.261710Z",
    "timestamp": "2026-05-19T07:27:52.734293Z",
    "data": {
      "thread.id": "140467904838528",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b1e26139990fa24a",
    "trace_id": "6cf46748f22747daad1a1ec15560687c",
    "parent_span_id": "8cee3f1e08d77939",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175672.263817,
    "timestamp": 1779175672.733159,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "140467904838528",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": true,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_01Khwp5N4iafh9yaiN76YJBc",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "8cee3f1e08d77939",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/anthropic :: Basic LLM Test (async, blocking)❗︎ 11960ms
checkAISpanCount(1)
checkChatSpanAttributes
bd900e53gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bd900e53gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "64ff4dfc64794e539807bdb97e315d98",
    "span_id": "b897273d8839a75a",
    "parent_span_id": "bd900e53aaa4383e",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:27:52.774358Z",
    "timestamp": "2026-05-19T07:27:52.776026Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20306
    },
    "data": {
      "thread.id": "139968040519360",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "64ff4dfc64794e539807bdb97e315d98",
    "span_id": "990b9cd7299619e2",
    "parent_span_id": "bd900e53aaa4383e",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:27:52.776112Z",
    "timestamp": "2026-05-19T07:27:52.776734Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20306
    },
    "data": {
      "thread.id": "139968040519360",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "64ff4dfc64794e539807bdb97e315d98",
    "span_id": "bddb0f2d00305e83",
    "parent_span_id": "990b9cd7299619e2",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:27:52.776603Z",
    "timestamp": "2026-05-19T07:27:52.776715Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20306
    },
    "data": {
      "thread.id": "139968040519360",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "64ff4dfc64794e539807bdb97e315d98",
    "span_id": "a7c522501f4464fe",
    "parent_span_id": "bd900e53aaa4383e",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:27:52.776788Z",
    "timestamp": "2026-05-19T07:27:52.776810Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20306
    },
    "data": {
      "thread.id": "139968040519360",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "64ff4dfc64794e539807bdb97e315d98",
    "span_id": "8ed60403c333d752",
    "parent_span_id": "bd900e53aaa4383e",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:27:52.778571Z",
    "timestamp": "2026-05-19T07:27:53.518355Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139968111541120",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 39,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-async-blocking.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "bf6016562461f397",
    "trace_id": "64ff4dfc64794e539807bdb97e315d98",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:27:52.771254Z",
    "timestamp": "2026-05-19T07:27:53.530329Z",
    "data": {
      "thread.id": "139968111541120",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "bd900e53aaa4383e",
    "trace_id": "64ff4dfc64794e539807bdb97e315d98",
    "parent_span_id": "bf6016562461f397",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175672.77246,
    "timestamp": 1779175673.529394,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "139968111541120",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": false,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_01PeddU3ftZZZ8U99Yr2eMEA",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "The capital of France is **Paris**.",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 11,
      "gen_ai.usage.total_tokens": 31,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "bf6016562461f397",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/anthropic :: Multi-Turn LLM Test (sync, streaming)❗︎ 13845ms
checkAISpanCount(3)
checkChatSpanAttributes
b16b5296gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b16b5296gen_ai.output.messagesMissing output messages attribute
9c0dd53agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9c0dd53agen_ai.output.messagesMissing output messages attribute
817d78edgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
817d78edgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (11)
[
  {
    "trace_id": "47dba6d3598e4e2186603ac024f5c1e2",
    "span_id": "b923b94ebf282bf0",
    "parent_span_id": "b16b529677095d51",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:27:53.101289Z",
    "timestamp": "2026-05-19T07:27:53.102286Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20309
    },
    "data": {
      "thread.id": "139774250920832",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "47dba6d3598e4e2186603ac024f5c1e2",
    "span_id": "a1e2084dfde396eb",
    "parent_span_id": "b16b529677095d51",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:27:53.102364Z",
    "timestamp": "2026-05-19T07:27:53.103162Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20309
    },
    "data": {
      "thread.id": "139774250920832",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "47dba6d3598e4e2186603ac024f5c1e2",
    "span_id": "af12fdfb2d07ded6",
    "parent_span_id": "a1e2084dfde396eb",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:27:53.103070Z",
    "timestamp": "2026-05-19T07:27:53.103153Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20309
    },
    "data": {
      "thread.id": "139774250920832",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "47dba6d3598e4e2186603ac024f5c1e2",
    "span_id": "88dcf60545fcb40e",
    "parent_span_id": "b16b529677095d51",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:27:53.103194Z",
    "timestamp": "2026-05-19T07:27:53.103206Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20309
    },
    "data": {
      "thread.id": "139774250920832",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "47dba6d3598e4e2186603ac024f5c1e2",
    "span_id": "897111e6ca188a3d",
    "parent_span_id": "b16b529677095d51",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:27:53.104176Z",
    "timestamp": "2026-05-19T07:27:53.631851Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139774250920832",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 38,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-streaming.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "47dba6d3598e4e2186603ac024f5c1e2",
    "span_id": "881301d93fd05cd3",
    "parent_span_id": "9c0dd53a92099eb2",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:27:53.696469Z",
    "timestamp": "2026-05-19T07:27:54.290816Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139774250920832",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 63,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-streaming.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "47dba6d3598e4e2186603ac024f5c1e2",
    "span_id": "bfe287d29ff3862c",
    "parent_span_id": "817d78ed49a204d7",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:27:55.037046Z",
    "timestamp": "2026-05-19T07:27:55.469703Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139774250920832",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 90,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-streaming.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "9232fdd951bbd43c",
    "trace_id": "47dba6d3598e4e2186603ac024f5c1e2",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:27:53.099125Z",
    "timestamp": "2026-05-19T07:27:55.756217Z",
    "data": {
      "thread.id": "139774250920832",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b16b529677095d51",
    "trace_id": "47dba6d3598e4e2186603ac024f5c1e2",
    "parent_span_id": "9232fdd951bbd43c",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175673.100952,
    "timestamp": 1779175673.695136,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "139774250920832",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": true,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_01K44uWN9HvXVv9bmuCunuWr",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "The capital of France is **Paris**.",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 11,
      "gen_ai.usage.total_tokens": 31,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "9232fdd951bbd43c",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9c0dd53a92099eb2",
    "trace_id": "47dba6d3598e4e2186603ac024f5c1e2",
    "parent_span_id": "9232fdd951bbd43c",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175673.695659,
    "timestamp": 1779175675.035029,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "139774250920832",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": true,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_01Lk7TdsrM6k6J7rG5EaiHJE",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "Paris has a population of approximately 2.1-2.2 million people within the city proper, making it one of the most populous cities in Europe.\n\nHowever, the greater Paris metropolitan area (Île-de-France region) has a much larger population of around 12 million people.\n\nThe exact figures can vary slightly depending on the source and how city boundaries are defined.",
      "gen_ai.usage.input_tokens": 41,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 84,
      "gen_ai.usage.total_tokens": 125,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "9232fdd951bbd43c",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "817d78ed49a204d7",
    "trace_id": "47dba6d3598e4e2186603ac024f5c1e2",
    "parent_span_id": "9232fdd951bbd43c",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175675.036085,
    "timestamp": 1779175675.756166,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "139774250920832",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": true,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}, {\"role\": \"assistant\", \"content\": \"Paris has a population of approximately 2.2 million people in the city proper.\"}, {\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_0165dMstbVvYSwC4KMMg7Ztn",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "The Paris metropolitan area (the Île-de-France region) has a population of approximately 12 million people, making it one of the largest metropolitan areas in Europe.",
      "gen_ai.usage.input_tokens": 71,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 39,
      "gen_ai.usage.total_tokens": 110,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "9232fdd951bbd43c",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/anthropic :: Multi-Turn LLM Test (sync, blocking)❗︎ 13683ms
checkAISpanCount(3)
checkChatSpanAttributes
91f3940agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
91f3940agen_ai.output.messagesMissing output messages attribute
a4033239gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a4033239gen_ai.output.messagesMissing output messages attribute
a8281ad0gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a8281ad0gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (11)
[
  {
    "trace_id": "3b9cd89b27e14d42aeaeb66af14e0d28",
    "span_id": "843ffb02127e9ce1",
    "parent_span_id": "91f3940ab6b37d10",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:27:53.337459Z",
    "timestamp": "2026-05-19T07:27:53.338453Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20312
    },
    "data": {
      "thread.id": "139986858089344",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "3b9cd89b27e14d42aeaeb66af14e0d28",
    "span_id": "a9f631ba091c069c",
    "parent_span_id": "91f3940ab6b37d10",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:27:53.338508Z",
    "timestamp": "2026-05-19T07:27:53.339258Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20312
    },
    "data": {
      "thread.id": "139986858089344",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "3b9cd89b27e14d42aeaeb66af14e0d28",
    "span_id": "8726ab3ef8993711",
    "parent_span_id": "a9f631ba091c069c",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:27:53.339165Z",
    "timestamp": "2026-05-19T07:27:53.339250Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20312
    },
    "data": {
      "thread.id": "139986858089344",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "3b9cd89b27e14d42aeaeb66af14e0d28",
    "span_id": "89d0efce61bbd009",
    "parent_span_id": "91f3940ab6b37d10",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:27:53.339282Z",
    "timestamp": "2026-05-19T07:27:53.339291Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20312
    },
    "data": {
      "thread.id": "139986858089344",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "3b9cd89b27e14d42aeaeb66af14e0d28",
    "span_id": "af31954920a892ba",
    "parent_span_id": "91f3940ab6b37d10",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:27:53.340191Z",
    "timestamp": "2026-05-19T07:27:54.074416Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139986858089344",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 38,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-blocking.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "3b9cd89b27e14d42aeaeb66af14e0d28",
    "span_id": "a0242447e7489688",
    "parent_span_id": "a403323999c6af09",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:27:54.085067Z",
    "timestamp": "2026-05-19T07:27:55.148146Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139986858089344",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 57,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-blocking.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "3b9cd89b27e14d42aeaeb66af14e0d28",
    "span_id": "a1690f312a22a76e",
    "parent_span_id": "a8281ad0cc2cd5ed",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:27:55.149804Z",
    "timestamp": "2026-05-19T07:27:55.855761Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139986858089344",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 78,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-blocking.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "93d5aa347d235fcc",
    "trace_id": "3b9cd89b27e14d42aeaeb66af14e0d28",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:27:53.335502Z",
    "timestamp": "2026-05-19T07:27:55.856276Z",
    "data": {
      "thread.id": "139986858089344",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "91f3940ab6b37d10",
    "trace_id": "3b9cd89b27e14d42aeaeb66af14e0d28",
    "parent_span_id": "93d5aa347d235fcc",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175673.336262,
    "timestamp": 1779175674.083955,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "139986858089344",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": false,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_013PyXe3YdM6LPzpsGoXfHQS",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "The capital of France is **Paris**.",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 11,
      "gen_ai.usage.total_tokens": 31,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "93d5aa347d235fcc",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a403323999c6af09",
    "trace_id": "3b9cd89b27e14d42aeaeb66af14e0d28",
    "parent_span_id": "93d5aa347d235fcc",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175674.084041,
    "timestamp": 1779175675.148728,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "139986858089344",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": false,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_019GvvAcrX3qiHB1NbBAhUzb",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "The population of Paris is approximately 2.2 million people within the city proper. However, if you include the greater metropolitan area (Île-de-France region), the population is much larger at around 12 million people.\n\nThe exact figures vary depending on the source and how boundaries are defined, but these are the current approximate figures.",
      "gen_ai.usage.input_tokens": 41,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 75,
      "gen_ai.usage.total_tokens": 116,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "93d5aa347d235fcc",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a8281ad0cc2cd5ed",
    "trace_id": "3b9cd89b27e14d42aeaeb66af14e0d28",
    "parent_span_id": "93d5aa347d235fcc",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175675.148805,
    "timestamp": 1779175675.856248,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "139986858089344",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": false,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}, {\"role\": \"assistant\", \"content\": \"Paris has a population of approximately 2.2 million people in the city proper.\"}, {\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_0198hyxo8HLtQ3xGhosHgmVs",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "The Paris metropolitan area (Île-de-France region) has a population of approximately 12 million people, making it one of the largest metropolitan areas in Europe.",
      "gen_ai.usage.input_tokens": 71,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 38,
      "gen_ai.usage.total_tokens": 109,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "93d5aa347d235fcc",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/anthropic :: Multi-Turn LLM Test (async, streaming)❗︎ 15364ms
checkAISpanCount(3)
checkChatSpanAttributes
a724d421gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a724d421gen_ai.output.messagesMissing output messages attribute
ada74d27gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ada74d27gen_ai.output.messagesMissing output messages attribute
ab4b223agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ab4b223agen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (11)
[
  {
    "trace_id": "952efcfe1b504a8394c47269e83af9d6",
    "span_id": "8f50d2c733713885",
    "parent_span_id": "a724d421f611230b",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:27:53.954480Z",
    "timestamp": "2026-05-19T07:27:53.955539Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20320
    },
    "data": {
      "thread.id": "140639565366976",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "952efcfe1b504a8394c47269e83af9d6",
    "span_id": "9e0a9c477a558e75",
    "parent_span_id": "a724d421f611230b",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:27:53.955598Z",
    "timestamp": "2026-05-19T07:27:53.956342Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20320
    },
    "data": {
      "thread.id": "140639565366976",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "952efcfe1b504a8394c47269e83af9d6",
    "span_id": "81625b2d58f3d2a1",
    "parent_span_id": "9e0a9c477a558e75",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:27:53.956259Z",
    "timestamp": "2026-05-19T07:27:53.956334Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20320
    },
    "data": {
      "thread.id": "140639565366976",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "952efcfe1b504a8394c47269e83af9d6",
    "span_id": "91e5458598f67781",
    "parent_span_id": "a724d421f611230b",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:27:53.956365Z",
    "timestamp": "2026-05-19T07:27:53.956374Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20320
    },
    "data": {
      "thread.id": "140639565366976",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "952efcfe1b504a8394c47269e83af9d6",
    "span_id": "b4e0446ddfa6351a",
    "parent_span_id": "a724d421f611230b",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:27:53.957674Z",
    "timestamp": "2026-05-19T07:27:54.719939Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140639635909504",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 39,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "952efcfe1b504a8394c47269e83af9d6",
    "span_id": "aeb105fec9361473",
    "parent_span_id": "ada74d2735256172",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:27:54.926150Z",
    "timestamp": "2026-05-19T07:27:55.336660Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140639635909504",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 64,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "952efcfe1b504a8394c47269e83af9d6",
    "span_id": "bd7632aefcd02a47",
    "parent_span_id": "ab4b223a5757ecb8",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:27:56.138755Z",
    "timestamp": "2026-05-19T07:27:57.327422Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140639635909504",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 91,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "9f02b4e6b81df6fd",
    "trace_id": "952efcfe1b504a8394c47269e83af9d6",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:27:53.951614Z",
    "timestamp": "2026-05-19T07:27:58.135003Z",
    "data": {
      "thread.id": "140639635909504",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "a724d421f611230b",
    "trace_id": "952efcfe1b504a8394c47269e83af9d6",
    "parent_span_id": "9f02b4e6b81df6fd",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175673.953844,
    "timestamp": 1779175674.924725,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "140639635909504",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": true,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_014r3LLuSvK2hREU8dB7cK7A",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "The capital of France is **Paris**. It's located in the north-central part of the country along the Seine River and is the largest city in France.",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 36,
      "gen_ai.usage.total_tokens": 56,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "9f02b4e6b81df6fd",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "ada74d2735256172",
    "trace_id": "952efcfe1b504a8394c47269e83af9d6",
    "parent_span_id": "9f02b4e6b81df6fd",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175674.925282,
    "timestamp": 1779175676.137329,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "140639635909504",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": true,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_01KkTdLq7U5astE5vtRRkhkW",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "The population of Paris varies depending on how you define the city:\n\n- **City proper** (Paris municipality): approximately 2.1-2.2 million people\n- **Metropolitan area** (Île-de-France region): approximately 12 million people\n\nThe larger metropolitan area figure is often used when discussing Paris's total population, as it includes the surrounding suburbs and communes.",
      "gen_ai.usage.input_tokens": 41,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 84,
      "gen_ai.usage.total_tokens": 125,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "9f02b4e6b81df6fd",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "ab4b223a5757ecb8",
    "trace_id": "952efcfe1b504a8394c47269e83af9d6",
    "parent_span_id": "9f02b4e6b81df6fd",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175676.138012,
    "timestamp": 1779175678.134012,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "140639635909504",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": true,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}, {\"role\": \"assistant\", \"content\": \"Paris has a population of approximately 2.2 million people in the city proper.\"}, {\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_01PJ4QYfp1HsxjP47DtPAEaX",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "The Paris metropolitan area (Île-de-France region) has a population of approximately 12 million people, making it one of the largest metropolitan areas in Europe.",
      "gen_ai.usage.input_tokens": 71,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 38,
      "gen_ai.usage.total_tokens": 109,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "9f02b4e6b81df6fd",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/anthropic :: Multi-Turn LLM Test (async, blocking)❗︎ 14350ms
checkAISpanCount(3)
checkChatSpanAttributes
add7ea4cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
add7ea4cgen_ai.output.messagesMissing output messages attribute
84e99becgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
84e99becgen_ai.output.messagesMissing output messages attribute
85406a56gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
85406a56gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (11)
[
  {
    "trace_id": "69427e56d81046aba54af591eac2c843",
    "span_id": "a685272f45f8c2ef",
    "parent_span_id": "add7ea4cfe559b64",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:27:54.679826Z",
    "timestamp": "2026-05-19T07:27:54.680989Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20326
    },
    "data": {
      "thread.id": "140637184050880",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "69427e56d81046aba54af591eac2c843",
    "span_id": "aac675b01c4f8c7d",
    "parent_span_id": "add7ea4cfe559b64",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:27:54.681048Z",
    "timestamp": "2026-05-19T07:27:54.681668Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20326
    },
    "data": {
      "thread.id": "140637184050880",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "69427e56d81046aba54af591eac2c843",
    "span_id": "bccb477c125e5457",
    "parent_span_id": "aac675b01c4f8c7d",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:27:54.681581Z",
    "timestamp": "2026-05-19T07:27:54.681660Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20326
    },
    "data": {
      "thread.id": "140637184050880",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "69427e56d81046aba54af591eac2c843",
    "span_id": "831323527093a288",
    "parent_span_id": "add7ea4cfe559b64",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:27:54.681692Z",
    "timestamp": "2026-05-19T07:27:54.681701Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20326
    },
    "data": {
      "thread.id": "140637184050880",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "69427e56d81046aba54af591eac2c843",
    "span_id": "9847f9771e14dead",
    "parent_span_id": "add7ea4cfe559b64",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:27:54.682830Z",
    "timestamp": "2026-05-19T07:27:55.452828Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140637255940992",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 39,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "69427e56d81046aba54af591eac2c843",
    "span_id": "9cb9b623a8e8abab",
    "parent_span_id": "84e99bec8c0c0abf",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:27:55.464494Z",
    "timestamp": "2026-05-19T07:27:56.730341Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140637255940992",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 58,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "69427e56d81046aba54af591eac2c843",
    "span_id": "8a9097b1f3461bef",
    "parent_span_id": "85406a563b3c0773",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:27:56.732730Z",
    "timestamp": "2026-05-19T07:27:57.886912Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140637255940992",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 79,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "90dbb3b36ae465e3",
    "trace_id": "69427e56d81046aba54af591eac2c843",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:27:54.677365Z",
    "timestamp": "2026-05-19T07:27:57.888311Z",
    "data": {
      "thread.id": "140637255940992",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "add7ea4cfe559b64",
    "trace_id": "69427e56d81046aba54af591eac2c843",
    "parent_span_id": "90dbb3b36ae465e3",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175674.678375,
    "timestamp": 1779175675.463404,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "140637255940992",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": false,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_01As5VnyZALwq5JfzjrSAuZr",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "90dbb3b36ae465e3",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "84e99bec8c0c0abf",
    "trace_id": "69427e56d81046aba54af591eac2c843",
    "parent_span_id": "90dbb3b36ae465e3",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175675.463482,
    "timestamp": 1779175676.731111,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "140637255940992",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": false,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_01TMxPbyxzKTuCQr43Da7Py4",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "The population of Paris depends on which area you're referring to:\n\n- **City proper (Paris municipality)**: approximately 2.1 million people\n- **Greater Paris (Île-de-France region)**: approximately 12 million people\n\nThe city proper makes Paris one of the most densely populated major cities in Europe, while the metropolitan area is one of the largest in the continent.",
      "gen_ai.usage.input_tokens": 41,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 86,
      "gen_ai.usage.total_tokens": 127,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "90dbb3b36ae465e3",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "85406a563b3c0773",
    "trace_id": "69427e56d81046aba54af591eac2c843",
    "parent_span_id": "90dbb3b36ae465e3",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175676.731211,
    "timestamp": 1779175677.88741,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "140637255940992",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": false,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}, {\"role\": \"assistant\", \"content\": \"Paris has a population of approximately 2.2 million people in the city proper.\"}, {\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_01W1tDtZgGVmDoSPDAzpwmN8",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "The Paris metropolitan area (Île-de-France region) has a population of approximately 12 million people, making it one of the largest metropolitan areas in Europe.",
      "gen_ai.usage.input_tokens": 71,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 38,
      "gen_ai.usage.total_tokens": 109,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "90dbb3b36ae465e3",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/anthropic :: Vision LLM Test (sync, streaming)❗︎ 1 12907ms
checkChatSpanAttributes
abd92c3cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
abd92c3cgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
abd92c3cgen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
abd92c3cgen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "267aa4e2a3f740b595e8a023c0e3082c",
    "span_id": "964a85a1a72682b4",
    "parent_span_id": "abd92c3c8c5323a7",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:27:58.895103Z",
    "timestamp": "2026-05-19T07:27:58.897347Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20369
    },
    "data": {
      "thread.id": "140204802505600",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "267aa4e2a3f740b595e8a023c0e3082c",
    "span_id": "ba6c3bd251e424d0",
    "parent_span_id": "abd92c3c8c5323a7",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:27:58.897428Z",
    "timestamp": "2026-05-19T07:27:58.898409Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20369
    },
    "data": {
      "thread.id": "140204802505600",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "267aa4e2a3f740b595e8a023c0e3082c",
    "span_id": "862ea7e733a65779",
    "parent_span_id": "ba6c3bd251e424d0",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:27:58.898301Z",
    "timestamp": "2026-05-19T07:27:58.898398Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20369
    },
    "data": {
      "thread.id": "140204802505600",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "267aa4e2a3f740b595e8a023c0e3082c",
    "span_id": "ae32a8c3555b37f1",
    "parent_span_id": "abd92c3c8c5323a7",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:27:58.898449Z",
    "timestamp": "2026-05-19T07:27:58.898463Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20369
    },
    "data": {
      "thread.id": "140204802505600",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "267aa4e2a3f740b595e8a023c0e3082c",
    "span_id": "88527b70da0e2de0",
    "parent_span_id": "abd92c3c8c5323a7",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:27:58.899793Z",
    "timestamp": "2026-05-19T07:28:00.297946Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140204802505600",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 41,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-sync-streaming.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "ac3ec0253057589d",
    "trace_id": "267aa4e2a3f740b595e8a023c0e3082c",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:27:58.878371Z",
    "timestamp": "2026-05-19T07:28:00.424054Z",
    "data": {
      "thread.id": "140204802505600",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "abd92c3c8c5323a7",
    "trace_id": "267aa4e2a3f740b595e8a023c0e3082c",
    "parent_span_id": "ac3ec0253057589d",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175678.894546,
    "timestamp": 1779175680.423985,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "140204802505600",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": true,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"blob\", \"modality\": \"image\", \"mime_type\": \"image/png\", \"content\": \"iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}]}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_014A5f5vZaxwAjwz3tLyKw2p",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "Pink",
      "gen_ai.usage.input_tokens": 38,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 4,
      "gen_ai.usage.total_tokens": 42,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "ac3ec0253057589d",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/anthropic :: Vision LLM Test (sync, blocking)❗︎ 1 12798ms
checkChatSpanAttributes
bfd512cagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bfd512cagen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
bfd512cagen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
bfd512cagen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "ddddd6c790de47958ae9ca78faaacc80",
    "span_id": "a0d557a9f9682947",
    "parent_span_id": "bfd512ca148df4fc",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:27:59.227226Z",
    "timestamp": "2026-05-19T07:27:59.231999Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20376
    },
    "data": {
      "thread.id": "140507994082176",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "ddddd6c790de47958ae9ca78faaacc80",
    "span_id": "9502b21704c74e18",
    "parent_span_id": "bfd512ca148df4fc",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:27:59.232110Z",
    "timestamp": "2026-05-19T07:27:59.232257Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20376
    },
    "data": {
      "thread.id": "140507994082176",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "ddddd6c790de47958ae9ca78faaacc80",
    "span_id": "968e1f150c18f3dd",
    "parent_span_id": "9502b21704c74e18",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:27:59.232213Z",
    "timestamp": "2026-05-19T07:27:59.232249Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20376
    },
    "data": {
      "thread.id": "140507994082176",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "ddddd6c790de47958ae9ca78faaacc80",
    "span_id": "9c7929a231a2357b",
    "parent_span_id": "bfd512ca148df4fc",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:27:59.232292Z",
    "timestamp": "2026-05-19T07:27:59.232305Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20376
    },
    "data": {
      "thread.id": "140507994082176",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "ddddd6c790de47958ae9ca78faaacc80",
    "span_id": "afa68b4d89602361",
    "parent_span_id": "bfd512ca148df4fc",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:27:59.235830Z",
    "timestamp": "2026-05-19T07:28:00.630928Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140507994082176",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 41,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-sync-blocking.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "aa7cb1b22b58eb95",
    "trace_id": "ddddd6c790de47958ae9ca78faaacc80",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:27:59.211779Z",
    "timestamp": "2026-05-19T07:28:00.649504Z",
    "data": {
      "thread.id": "140507994082176",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "bfd512ca148df4fc",
    "trace_id": "ddddd6c790de47958ae9ca78faaacc80",
    "parent_span_id": "aa7cb1b22b58eb95",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175679.216234,
    "timestamp": 1779175680.649447,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "140507994082176",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": false,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"blob\", \"modality\": \"image\", \"mime_type\": \"image/png\", \"content\": \"iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}]}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_01B9yCzNZcCGELyJabaNQh4X",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "Pink",
      "gen_ai.usage.input_tokens": 38,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 4,
      "gen_ai.usage.total_tokens": 42,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "aa7cb1b22b58eb95",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/anthropic :: Vision LLM Test (async, streaming)❗︎ 1 12313ms
checkChatSpanAttributes
b069d2cegen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b069d2cegen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
b069d2cegen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
b069d2cegen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "f851f93fee114fa5a1cc2e1df27c9653",
    "span_id": "8e33ca20477c7564",
    "parent_span_id": "b069d2ceb620eecc",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:27:59.718231Z",
    "timestamp": "2026-05-19T07:27:59.721379Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20384
    },
    "data": {
      "thread.id": "139745187710656",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "f851f93fee114fa5a1cc2e1df27c9653",
    "span_id": "a4fae8ffccc77a9a",
    "parent_span_id": "b069d2ceb620eecc",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:27:59.721478Z",
    "timestamp": "2026-05-19T07:27:59.722441Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20384
    },
    "data": {
      "thread.id": "139745187710656",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "f851f93fee114fa5a1cc2e1df27c9653",
    "span_id": "a7bafc3fa9e831a0",
    "parent_span_id": "a4fae8ffccc77a9a",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:27:59.722326Z",
    "timestamp": "2026-05-19T07:27:59.722422Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20384
    },
    "data": {
      "thread.id": "139745187710656",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "f851f93fee114fa5a1cc2e1df27c9653",
    "span_id": "beccd7827c0aa7a9",
    "parent_span_id": "b069d2ceb620eecc",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:27:59.722491Z",
    "timestamp": "2026-05-19T07:27:59.722514Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20384
    },
    "data": {
      "thread.id": "139745187710656",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "f851f93fee114fa5a1cc2e1df27c9653",
    "span_id": "9f700824a4381c3e",
    "parent_span_id": "b069d2ceb620eecc",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:27:59.724472Z",
    "timestamp": "2026-05-19T07:28:00.269803Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139745259604864",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 42,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-async-streaming.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "b96df34e5edb22ff",
    "trace_id": "f851f93fee114fa5a1cc2e1df27c9653",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:27:59.698557Z",
    "timestamp": "2026-05-19T07:28:00.452971Z",
    "data": {
      "thread.id": "139745259604864",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b069d2ceb620eecc",
    "trace_id": "f851f93fee114fa5a1cc2e1df27c9653",
    "parent_span_id": "b96df34e5edb22ff",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175679.716745,
    "timestamp": 1779175680.452002,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "139745259604864",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": true,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"blob\", \"modality\": \"image\", \"mime_type\": \"image/png\", \"content\": \"iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}]}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_018QNumWjMfZLPWbDgJNwzFW",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "Pink",
      "gen_ai.usage.input_tokens": 38,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 4,
      "gen_ai.usage.total_tokens": 42,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "b96df34e5edb22ff",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/anthropic :: Vision LLM Test (async, blocking)❗︎ 1 12405ms
checkChatSpanAttributes
a7a6b7c0gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a7a6b7c0gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
a7a6b7c0gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
a7a6b7c0gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "dcd46e4fb2eb42808bb516bee68ec659",
    "span_id": "8ce46ddc8d2054dd",
    "parent_span_id": "a7a6b7c011fad743",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:27:59.721354Z",
    "timestamp": "2026-05-19T07:27:59.723788Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20386
    },
    "data": {
      "thread.id": "140179343931072",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "dcd46e4fb2eb42808bb516bee68ec659",
    "span_id": "84ca3ddcd71dd5bb",
    "parent_span_id": "a7a6b7c011fad743",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:27:59.723906Z",
    "timestamp": "2026-05-19T07:27:59.724060Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20386
    },
    "data": {
      "thread.id": "140179343931072",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "dcd46e4fb2eb42808bb516bee68ec659",
    "span_id": "819feddd74b99ed1",
    "parent_span_id": "84ca3ddcd71dd5bb",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:27:59.724013Z",
    "timestamp": "2026-05-19T07:27:59.724048Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20386
    },
    "data": {
      "thread.id": "140179343931072",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "dcd46e4fb2eb42808bb516bee68ec659",
    "span_id": "908dddd5ffa95110",
    "parent_span_id": "a7a6b7c011fad743",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:27:59.724098Z",
    "timestamp": "2026-05-19T07:27:59.724113Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20386
    },
    "data": {
      "thread.id": "140179343931072",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "dcd46e4fb2eb42808bb516bee68ec659",
    "span_id": "a23a4fff3d9a300a",
    "parent_span_id": "a7a6b7c011fad743",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:27:59.725913Z",
    "timestamp": "2026-05-19T07:28:00.598614Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140179491838848",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 42,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-async-blocking.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "922cb83b090ccc71",
    "trace_id": "dcd46e4fb2eb42808bb516bee68ec659",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:27:59.713756Z",
    "timestamp": "2026-05-19T07:28:00.609334Z",
    "data": {
      "thread.id": "140179491838848",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "a7a6b7c011fad743",
    "trace_id": "dcd46e4fb2eb42808bb516bee68ec659",
    "parent_span_id": "922cb83b090ccc71",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175679.715064,
    "timestamp": 1779175680.608462,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "140179491838848",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": false,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"blob\", \"modality\": \"image\", \"mime_type\": \"image/png\", \"content\": \"iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}]}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_01NDSLUzT4BkNYg7PbLSTio8",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "Pink",
      "gen_ai.usage.input_tokens": 38,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 4,
      "gen_ai.usage.total_tokens": 42,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "922cb83b090ccc71",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/anthropic :: Long Input LLM Test (sync, streaming)❗︎ 12742ms
checkChatSpanAttributes
b235c7f3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b235c7f3gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "d83577be43c24a759a4c032dc9dc40a0",
    "span_id": "b323052d6f4f1345",
    "parent_span_id": "b235c7f3d50f38f3",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:27:59.987639Z",
    "timestamp": "2026-05-19T07:27:59.993036Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20394
    },
    "data": {
      "thread.id": "140379702872960",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "d83577be43c24a759a4c032dc9dc40a0",
    "span_id": "8c7e7466c69f29af",
    "parent_span_id": "b235c7f3d50f38f3",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:27:59.993159Z",
    "timestamp": "2026-05-19T07:27:59.993917Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20394
    },
    "data": {
      "thread.id": "140379702872960",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "d83577be43c24a759a4c032dc9dc40a0",
    "span_id": "b8276b7e6c2fef0f",
    "parent_span_id": "8c7e7466c69f29af",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:27:59.993800Z",
    "timestamp": "2026-05-19T07:27:59.993900Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20394
    },
    "data": {
      "thread.id": "140379702872960",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "d83577be43c24a759a4c032dc9dc40a0",
    "span_id": "9c66ab222243ad4f",
    "parent_span_id": "b235c7f3d50f38f3",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:27:59.993960Z",
    "timestamp": "2026-05-19T07:27:59.993977Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20394
    },
    "data": {
      "thread.id": "140379702872960",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "d83577be43c24a759a4c032dc9dc40a0",
    "span_id": "946014c340c7854f",
    "parent_span_id": "b235c7f3d50f38f3",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:27:59.995595Z",
    "timestamp": "2026-05-19T07:28:00.841570Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140379702872960",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 38,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-sync-streaming.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "8ab5d7cd94fd3733",
    "trace_id": "d83577be43c24a759a4c032dc9dc40a0",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:27:59.982029Z",
    "timestamp": "2026-05-19T07:28:01.013489Z",
    "data": {
      "thread.id": "140379702872960",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b235c7f3d50f38f3",
    "trace_id": "d83577be43c24a759a4c032dc9dc40a0",
    "parent_span_id": "8ab5d7cd94fd3733",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175679.987004,
    "timestamp": 1779175681.013428,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "140379702872960",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": true,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_01Bv1u8MhdDw3jRCWmqHnHCo",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "This is a test message repeated many times to create an elongated input.",
      "gen_ai.usage.input_tokens": 5426,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 18,
      "gen_ai.usage.total_tokens": 5444,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "8ab5d7cd94fd3733",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/anthropic :: Long Input LLM Test (sync, blocking)❗︎ 12571ms
checkChatSpanAttributes
8c698dddgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8c698dddgen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "b75c16161d304f71a63d495d8063b724",
    "span_id": "9adaff3a887ff646",
    "parent_span_id": "8c698ddde5b1f1d7",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:00.081050Z",
    "timestamp": "2026-05-19T07:28:00.082068Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20396
    },
    "data": {
      "thread.id": "139681047370624",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "b75c16161d304f71a63d495d8063b724",
    "span_id": "89a29b6af6c39fce",
    "parent_span_id": "8c698ddde5b1f1d7",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:00.082144Z",
    "timestamp": "2026-05-19T07:28:00.082920Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20396
    },
    "data": {
      "thread.id": "139681047370624",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "b75c16161d304f71a63d495d8063b724",
    "span_id": "9b3409595c192eb1",
    "parent_span_id": "89a29b6af6c39fce",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:00.082815Z",
    "timestamp": "2026-05-19T07:28:00.082910Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20396
    },
    "data": {
      "thread.id": "139681047370624",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "b75c16161d304f71a63d495d8063b724",
    "span_id": "8815a6a0df8c759e",
    "parent_span_id": "8c698ddde5b1f1d7",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:00.082952Z",
    "timestamp": "2026-05-19T07:28:00.082964Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20396
    },
    "data": {
      "thread.id": "139681047370624",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "b75c16161d304f71a63d495d8063b724",
    "span_id": "9f087d4dea811994",
    "parent_span_id": "8c698ddde5b1f1d7",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:00.084021Z",
    "timestamp": "2026-05-19T07:28:00.997232Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139681047370624",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 38,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-sync-blocking.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "b67a61b59ad025c1",
    "trace_id": "b75c16161d304f71a63d495d8063b724",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:28:00.079055Z",
    "timestamp": "2026-05-19T07:28:01.006997Z",
    "data": {
      "thread.id": "139681047370624",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "8c698ddde5b1f1d7",
    "trace_id": "b75c16161d304f71a63d495d8063b724",
    "parent_span_id": "b67a61b59ad025c1",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175680.079729,
    "timestamp": 1779175681.006956,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "139681047370624",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": false,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_01ECAXf5hLs3bSCnpUhrneaP",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "This is a test message that has been repeated many times to create lengthy input.",
      "gen_ai.usage.input_tokens": 5426,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 19,
      "gen_ai.usage.total_tokens": 5445,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "b67a61b59ad025c1",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/anthropic :: Long Input LLM Test (async, streaming)❗︎ 12349ms
checkChatSpanAttributes
8a4f193fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8a4f193fgen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "f51970750911443cb6e3f14ba7f1e454",
    "span_id": "8ae444084c031968",
    "parent_span_id": "8a4f193f5662f111",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:00.369813Z",
    "timestamp": "2026-05-19T07:28:00.370949Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20400
    },
    "data": {
      "thread.id": "139997672228544",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "f51970750911443cb6e3f14ba7f1e454",
    "span_id": "901f210666c7d547",
    "parent_span_id": "8a4f193f5662f111",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:00.371029Z",
    "timestamp": "2026-05-19T07:28:00.371938Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20400
    },
    "data": {
      "thread.id": "139997672228544",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "f51970750911443cb6e3f14ba7f1e454",
    "span_id": "9f2949d99f38d276",
    "parent_span_id": "901f210666c7d547",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:00.371721Z",
    "timestamp": "2026-05-19T07:28:00.371796Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20400
    },
    "data": {
      "thread.id": "139997672228544",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "f51970750911443cb6e3f14ba7f1e454",
    "span_id": "9dd5e5d5e7ed26b7",
    "parent_span_id": "8a4f193f5662f111",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:00.371970Z",
    "timestamp": "2026-05-19T07:28:00.371982Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20400
    },
    "data": {
      "thread.id": "139997672228544",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "f51970750911443cb6e3f14ba7f1e454",
    "span_id": "b76e79ba17b1dae7",
    "parent_span_id": "8a4f193f5662f111",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:00.373332Z",
    "timestamp": "2026-05-19T07:28:00.873761Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139997743790976",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 39,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-async-streaming.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "8832634c09003237",
    "trace_id": "f51970750911443cb6e3f14ba7f1e454",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:28:00.366916Z",
    "timestamp": "2026-05-19T07:28:01.128169Z",
    "data": {
      "thread.id": "139997743790976",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "8a4f193f5662f111",
    "trace_id": "f51970750911443cb6e3f14ba7f1e454",
    "parent_span_id": "8832634c09003237",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175680.369088,
    "timestamp": 1779175681.125136,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "139997743790976",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": true,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_01TMRbtN2AQZ1kyjmYP6gM4g",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "A test message is repeated many times to create extended length input.",
      "gen_ai.usage.input_tokens": 5426,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 16,
      "gen_ai.usage.total_tokens": 5442,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "8832634c09003237",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/anthropic :: Long Input LLM Test (async, blocking)❗︎ 12214ms
checkChatSpanAttributes
aaae759bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
aaae759bgen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "5a8b8f0183de40eaa5a78d198e051beb",
    "span_id": "967d1f9841fc731a",
    "parent_span_id": "aaae759b26450087",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:00.480570Z",
    "timestamp": "2026-05-19T07:28:00.482087Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20407
    },
    "data": {
      "thread.id": "140390843360960",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "5a8b8f0183de40eaa5a78d198e051beb",
    "span_id": "bdcb0e776bbc427f",
    "parent_span_id": "aaae759b26450087",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:00.482163Z",
    "timestamp": "2026-05-19T07:28:00.482913Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20407
    },
    "data": {
      "thread.id": "140390843360960",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "5a8b8f0183de40eaa5a78d198e051beb",
    "span_id": "bf523457bc425497",
    "parent_span_id": "bdcb0e776bbc427f",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:00.482798Z",
    "timestamp": "2026-05-19T07:28:00.482904Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20407
    },
    "data": {
      "thread.id": "140390843360960",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "5a8b8f0183de40eaa5a78d198e051beb",
    "span_id": "bff318d542110b18",
    "parent_span_id": "aaae759b26450087",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:00.482944Z",
    "timestamp": "2026-05-19T07:28:00.482962Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20407
    },
    "data": {
      "thread.id": "140390843360960",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "5a8b8f0183de40eaa5a78d198e051beb",
    "span_id": "8c37b31b7ead3a34",
    "parent_span_id": "aaae759b26450087",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:00.484709Z",
    "timestamp": "2026-05-19T07:28:01.188128Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140390914370432",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 39,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-async-blocking.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "8f92c356b1336c61",
    "trace_id": "5a8b8f0183de40eaa5a78d198e051beb",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:28:00.477164Z",
    "timestamp": "2026-05-19T07:28:01.225382Z",
    "data": {
      "thread.id": "140390914370432",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "aaae759b26450087",
    "trace_id": "5a8b8f0183de40eaa5a78d198e051beb",
    "parent_span_id": "8f92c356b1336c61",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175680.478451,
    "timestamp": 1779175681.218661,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "140390914370432",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": false,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_012KbmSS11EGauz288hUtBaA",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "This is a test message repeated many times to create a long input.",
      "gen_ai.usage.input_tokens": 5426,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 17,
      "gen_ai.usage.total_tokens": 5443,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "8f92c356b1336c61",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/anthropic :: Conversation ID LLM Test (sync, streaming)❗︎ 15228ms
checkAISpanCount(4)
checkChatSpanAttributes
8955ed21gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8955ed21gen_ai.output.messagesMissing output messages attribute
b3239630gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b3239630gen_ai.output.messagesMissing output messages attribute
bb6cc080gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bb6cc080gen_ai.output.messagesMissing output messages attribute
ac16fc92gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ac16fc92gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (13)
[
  {
    "trace_id": "f40d625e23994c53a914a24e34961c67",
    "span_id": "8519dbf830e54b9f",
    "parent_span_id": "8955ed21264b0e05",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:01.352454Z",
    "timestamp": "2026-05-19T07:28:01.358475Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20429
    },
    "data": {
      "thread.id": "139880823675776",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "f40d625e23994c53a914a24e34961c67",
    "span_id": "bbb61f626f73557d",
    "parent_span_id": "8955ed21264b0e05",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:01.358582Z",
    "timestamp": "2026-05-19T07:28:01.360212Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20429
    },
    "data": {
      "thread.id": "139880823675776",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "f40d625e23994c53a914a24e34961c67",
    "span_id": "a1b6d9def9aade8c",
    "parent_span_id": "bbb61f626f73557d",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:01.359988Z",
    "timestamp": "2026-05-19T07:28:01.360197Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20429
    },
    "data": {
      "thread.id": "139880823675776",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "f40d625e23994c53a914a24e34961c67",
    "span_id": "8eb9ea6f52843794",
    "parent_span_id": "8955ed21264b0e05",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:01.360253Z",
    "timestamp": "2026-05-19T07:28:01.360268Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20429
    },
    "data": {
      "thread.id": "139880823675776",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "f40d625e23994c53a914a24e34961c67",
    "span_id": "b6c68db309c3d5f0",
    "parent_span_id": "8955ed21264b0e05",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:01.361538Z",
    "timestamp": "2026-05-19T07:28:01.805405Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139880823675776",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 39,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "f40d625e23994c53a914a24e34961c67",
    "span_id": "8697a08cb08b503d",
    "parent_span_id": "b3239630cebcece6",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:01.896646Z",
    "timestamp": "2026-05-19T07:28:02.592700Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139880823675776",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 63,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "f40d625e23994c53a914a24e34961c67",
    "span_id": "b07ee676ff9bd9e5",
    "parent_span_id": "bb6cc0803fdd3518",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:03.054218Z",
    "timestamp": "2026-05-19T07:28:03.726052Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139880823675776",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 89,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "f40d625e23994c53a914a24e34961c67",
    "span_id": "a5016e2d7d1be6bd",
    "parent_span_id": "ac16fc928c083598",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:03.783609Z",
    "timestamp": "2026-05-19T07:28:04.961689Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139880823675776",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 115,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "b9f0c80296bb6813",
    "trace_id": "f40d625e23994c53a914a24e34961c67",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:28:01.346772Z",
    "timestamp": "2026-05-19T07:28:05.132358Z",
    "data": {
      "thread.id": "139880823675776",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "8955ed21264b0e05",
    "trace_id": "f40d625e23994c53a914a24e34961c67",
    "parent_span_id": "b9f0c80296bb6813",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175681.35205,
    "timestamp": 1779175681.891672,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "139880823675776",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": true,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_012ZNhv6xDsjhnLoUtp71f4A",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "b9f0c80296bb6813",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b3239630cebcece6",
    "trace_id": "f40d625e23994c53a914a24e34961c67",
    "parent_span_id": "b9f0c80296bb6813",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175681.892319,
    "timestamp": 1779175683.052291,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "139880823675776",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": true,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_01AD7f8BeXyAVSyQQmbVZjN8",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "2 + 2 = **4**\n\nThis is a basic addition problem. When you combine 2 groups of 1 with 2 more groups of 1, you get a total of 4.",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 51,
      "gen_ai.usage.total_tokens": 74,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "b9f0c80296bb6813",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "bb6cc0803fdd3518",
    "trace_id": "f40d625e23994c53a914a24e34961c67",
    "parent_span_id": "b9f0c80296bb6813",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175683.053151,
    "timestamp": 1779175683.774375,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "139880823675776",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": true,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_012cEQWVu7vjm4xe8prvDjEZ",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "The capital of Germany is Berlin.",
      "gen_ai.usage.input_tokens": 37,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 47,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "b9f0c80296bb6813",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "ac16fc928c083598",
    "trace_id": "f40d625e23994c53a914a24e34961c67",
    "parent_span_id": "b9f0c80296bb6813",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175683.777486,
    "timestamp": 1779175685.132284,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "139880823675776",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": true,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}, {\"role\": \"assistant\", \"content\": \"2 + 2 equals 4.\"}, {\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_01WRaNMq1QExkUo7cRUFgnGy",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "3 + 3 equals 6.",
      "gen_ai.usage.input_tokens": 49,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 14,
      "gen_ai.usage.total_tokens": 63,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "b9f0c80296bb6813",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/anthropic :: Conversation ID LLM Test (sync, blocking)❗︎ 16065ms
checkAISpanCount(4)
checkChatSpanAttributes
907240f6gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
907240f6gen_ai.output.messagesMissing output messages attribute
b53a99b1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b53a99b1gen_ai.output.messagesMissing output messages attribute
917d7d93gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
917d7d93gen_ai.output.messagesMissing output messages attribute
a603d6d9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a603d6d9gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (13)
[
  {
    "trace_id": "288de53b74ca440399d630778edd15f5",
    "span_id": "bceceb6e8e26bb44",
    "parent_span_id": "907240f6220817a6",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:02.170995Z",
    "timestamp": "2026-05-19T07:28:02.172471Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20442
    },
    "data": {
      "thread.id": "140529896930176",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "288de53b74ca440399d630778edd15f5",
    "span_id": "8c5b633e91a0c9e1",
    "parent_span_id": "907240f6220817a6",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:02.172556Z",
    "timestamp": "2026-05-19T07:28:02.173762Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20442
    },
    "data": {
      "thread.id": "140529896930176",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "288de53b74ca440399d630778edd15f5",
    "span_id": "bc654816e02bed70",
    "parent_span_id": "8c5b633e91a0c9e1",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:02.173518Z",
    "timestamp": "2026-05-19T07:28:02.173745Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20442
    },
    "data": {
      "thread.id": "140529896930176",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "288de53b74ca440399d630778edd15f5",
    "span_id": "80eae74d9b3975be",
    "parent_span_id": "907240f6220817a6",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:02.173807Z",
    "timestamp": "2026-05-19T07:28:02.173825Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20442
    },
    "data": {
      "thread.id": "140529896930176",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "288de53b74ca440399d630778edd15f5",
    "span_id": "ac433dbdf0e4be46",
    "parent_span_id": "907240f6220817a6",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:02.175159Z",
    "timestamp": "2026-05-19T07:28:02.792339Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140529896930176",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 39,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "288de53b74ca440399d630778edd15f5",
    "span_id": "99fdc05b437a870c",
    "parent_span_id": "b53a99b11cc287cf",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:02.826995Z",
    "timestamp": "2026-05-19T07:28:03.779159Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140529896930176",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 57,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "288de53b74ca440399d630778edd15f5",
    "span_id": "9274e45385d55ce2",
    "parent_span_id": "917d7d93778abc79",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:03.791619Z",
    "timestamp": "2026-05-19T07:28:05.268809Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140529896930176",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 77,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "288de53b74ca440399d630778edd15f5",
    "span_id": "acba4b99446217a1",
    "parent_span_id": "a603d6d9feaac49e",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:05.274067Z",
    "timestamp": "2026-05-19T07:28:06.205936Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140529896930176",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 97,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "bdfe564a4f209f99",
    "trace_id": "288de53b74ca440399d630778edd15f5",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:28:02.168154Z",
    "timestamp": "2026-05-19T07:28:06.206677Z",
    "data": {
      "thread.id": "140529896930176",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "907240f6220817a6",
    "trace_id": "288de53b74ca440399d630778edd15f5",
    "parent_span_id": "bdfe564a4f209f99",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175682.169159,
    "timestamp": 1779175682.825544,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "140529896930176",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": false,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_018eeKQr6azyRYhtQcPa9LpQ",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "bdfe564a4f209f99",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b53a99b11cc287cf",
    "trace_id": "288de53b74ca440399d630778edd15f5",
    "parent_span_id": "bdfe564a4f209f99",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175682.825665,
    "timestamp": 1779175683.779934,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "140529896930176",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": false,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_01JFvbMkHNoHDcqYYKwowgJ5",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "2 + 2 = **4**\n\nThis is one of the most basic addition facts in math. When you combine 2 objects with 2 more objects, you end up with 4 objects total.\n\nIs there anything else you'd like help with?",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 62,
      "gen_ai.usage.total_tokens": 85,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "bdfe564a4f209f99",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "917d7d93778abc79",
    "trace_id": "288de53b74ca440399d630778edd15f5",
    "parent_span_id": "bdfe564a4f209f99",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175683.780037,
    "timestamp": 1779175685.269514,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "140529896930176",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": false,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_01RLCCKNxePXZcZzv8cHNWLi",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "The capital of Germany is Berlin.",
      "gen_ai.usage.input_tokens": 37,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 47,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "bdfe564a4f209f99",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a603d6d9feaac49e",
    "trace_id": "288de53b74ca440399d630778edd15f5",
    "parent_span_id": "bdfe564a4f209f99",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175685.269617,
    "timestamp": 1779175686.206629,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "140529896930176",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": false,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}, {\"role\": \"assistant\", \"content\": \"2 + 2 equals 4.\"}, {\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_019v7uahmBAuKGtSvhY2E3nh",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "3 + 3 equals 6.",
      "gen_ai.usage.input_tokens": 49,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 14,
      "gen_ai.usage.total_tokens": 63,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "bdfe564a4f209f99",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/anthropic :: Conversation ID LLM Test (async, streaming)❗︎ 14584ms
checkAISpanCount(4)
checkChatSpanAttributes
95bb3d6cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
95bb3d6cgen_ai.output.messagesMissing output messages attribute
b9409ea7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b9409ea7gen_ai.output.messagesMissing output messages attribute
ab313514gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ab313514gen_ai.output.messagesMissing output messages attribute
b4b5d1e0gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b4b5d1e0gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (13)
[
  {
    "trace_id": "68d7cafa7b9c4601a307e9e210169005",
    "span_id": "9deb076a838076e0",
    "parent_span_id": "95bb3d6c7d39f1de",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:02.623229Z",
    "timestamp": "2026-05-19T07:28:02.630990Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20447
    },
    "data": {
      "thread.id": "140251285235392",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "68d7cafa7b9c4601a307e9e210169005",
    "span_id": "aa034340b29d6f58",
    "parent_span_id": "95bb3d6c7d39f1de",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:02.631108Z",
    "timestamp": "2026-05-19T07:28:02.631270Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20447
    },
    "data": {
      "thread.id": "140251285235392",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "68d7cafa7b9c4601a307e9e210169005",
    "span_id": "a1f1adb5cea26f7e",
    "parent_span_id": "aa034340b29d6f58",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:02.631219Z",
    "timestamp": "2026-05-19T07:28:02.631259Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20447
    },
    "data": {
      "thread.id": "140251285235392",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "68d7cafa7b9c4601a307e9e210169005",
    "span_id": "ab2e5b4a0a1151f6",
    "parent_span_id": "95bb3d6c7d39f1de",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:02.631309Z",
    "timestamp": "2026-05-19T07:28:02.631325Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20447
    },
    "data": {
      "thread.id": "140251285235392",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "68d7cafa7b9c4601a307e9e210169005",
    "span_id": "8e4c27bb97283556",
    "parent_span_id": "95bb3d6c7d39f1de",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:02.633326Z",
    "timestamp": "2026-05-19T07:28:03.129659Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140251357105024",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 40,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "68d7cafa7b9c4601a307e9e210169005",
    "span_id": "bd8052df69004c0a",
    "parent_span_id": "b9409ea715153323",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:03.213930Z",
    "timestamp": "2026-05-19T07:28:03.693611Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140251357105024",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 64,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "68d7cafa7b9c4601a307e9e210169005",
    "span_id": "8841cccd52ad0feb",
    "parent_span_id": "ab31351431acea73",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:03.876602Z",
    "timestamp": "2026-05-19T07:28:04.328294Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140251357105024",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 90,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "68d7cafa7b9c4601a307e9e210169005",
    "span_id": "89e939325ba31bc3",
    "parent_span_id": "b4b5d1e0e3ee98fd",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:04.402743Z",
    "timestamp": "2026-05-19T07:28:04.845076Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140251357105024",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 116,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "8aedba9d32923681",
    "trace_id": "68d7cafa7b9c4601a307e9e210169005",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:28:02.609657Z",
    "timestamp": "2026-05-19T07:28:04.916293Z",
    "data": {
      "thread.id": "140251357105024",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "95bb3d6c7d39f1de",
    "trace_id": "68d7cafa7b9c4601a307e9e210169005",
    "parent_span_id": "8aedba9d32923681",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175682.618633,
    "timestamp": 1779175683.212083,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "140251357105024",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": true,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_01Qdb6MVm9fb7DefBhiDNDCb",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "8aedba9d32923681",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b9409ea715153323",
    "trace_id": "68d7cafa7b9c4601a307e9e210169005",
    "parent_span_id": "8aedba9d32923681",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175683.212706,
    "timestamp": 1779175683.868553,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "140251357105024",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": true,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_01STHJEZxiDFnx2V47TNZs2d",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "2 + 2 = **4**\n\nIs there anything else you'd like help with in math?",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 27,
      "gen_ai.usage.total_tokens": 50,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "8aedba9d32923681",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "ab31351431acea73",
    "trace_id": "68d7cafa7b9c4601a307e9e210169005",
    "parent_span_id": "8aedba9d32923681",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175683.875503,
    "timestamp": 1779175684.401032,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "140251357105024",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": true,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_014oZEsc4LjFNt7Y2Rcgc6rv",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "The capital of Germany is Berlin.",
      "gen_ai.usage.input_tokens": 37,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 47,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "8aedba9d32923681",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b4b5d1e0e3ee98fd",
    "trace_id": "68d7cafa7b9c4601a307e9e210169005",
    "parent_span_id": "8aedba9d32923681",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175684.401793,
    "timestamp": 1779175684.911541,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "140251357105024",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": true,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}, {\"role\": \"assistant\", \"content\": \"2 + 2 equals 4.\"}, {\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_012WtwBNmBgh3e5sFhVTdBB9",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "3 + 3 equals 6.",
      "gen_ai.usage.input_tokens": 49,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 14,
      "gen_ai.usage.total_tokens": 63,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "8aedba9d32923681",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/anthropic :: Conversation ID LLM Test (async, blocking)❗︎ 15527ms
checkAISpanCount(4)
checkChatSpanAttributes
9e5f9b9fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9e5f9b9fgen_ai.output.messagesMissing output messages attribute
a2845abbgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a2845abbgen_ai.output.messagesMissing output messages attribute
afe6bc08gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
afe6bc08gen_ai.output.messagesMissing output messages attribute
afdec221gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
afdec221gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (13)
[
  {
    "trace_id": "1ad828f673dd49f597415cffce4bedaa",
    "span_id": "a9a8246230a50917",
    "parent_span_id": "9e5f9b9fdfe98807",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:02.770187Z",
    "timestamp": "2026-05-19T07:28:02.774167Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20450
    },
    "data": {
      "thread.id": "140230950647488",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "1ad828f673dd49f597415cffce4bedaa",
    "span_id": "90b918feccd0870b",
    "parent_span_id": "9e5f9b9fdfe98807",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:02.774257Z",
    "timestamp": "2026-05-19T07:28:02.774392Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20450
    },
    "data": {
      "thread.id": "140230950647488",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "1ad828f673dd49f597415cffce4bedaa",
    "span_id": "92980e5e082b8ed0",
    "parent_span_id": "90b918feccd0870b",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:02.774348Z",
    "timestamp": "2026-05-19T07:28:02.774382Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20450
    },
    "data": {
      "thread.id": "140230950647488",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "1ad828f673dd49f597415cffce4bedaa",
    "span_id": "835b975d591fa9c6",
    "parent_span_id": "9e5f9b9fdfe98807",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:02.774426Z",
    "timestamp": "2026-05-19T07:28:02.774438Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20450
    },
    "data": {
      "thread.id": "140230950647488",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "1ad828f673dd49f597415cffce4bedaa",
    "span_id": "be15937f64f0d694",
    "parent_span_id": "9e5f9b9fdfe98807",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:02.776109Z",
    "timestamp": "2026-05-19T07:28:03.271084Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140231092722560",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 40,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "1ad828f673dd49f597415cffce4bedaa",
    "span_id": "b3bc50551f3fc9d9",
    "parent_span_id": "a2845abb0931ea01",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:03.313150Z",
    "timestamp": "2026-05-19T07:28:04.487279Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140231092722560",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 58,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "1ad828f673dd49f597415cffce4bedaa",
    "span_id": "aadb88f9a6e684e7",
    "parent_span_id": "afe6bc083ca7983e",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:04.488851Z",
    "timestamp": "2026-05-19T07:28:05.031274Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140231092722560",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 78,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "1ad828f673dd49f597415cffce4bedaa",
    "span_id": "a55c5b5560b1f9e2",
    "parent_span_id": "afdec221c38652f9",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:05.039358Z",
    "timestamp": "2026-05-19T07:28:05.819626Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140231092722560",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 98,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "bf5a3444f18e435a",
    "trace_id": "1ad828f673dd49f597415cffce4bedaa",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:28:02.764302Z",
    "timestamp": "2026-05-19T07:28:05.826174Z",
    "data": {
      "thread.id": "140231092722560",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "9e5f9b9fdfe98807",
    "trace_id": "1ad828f673dd49f597415cffce4bedaa",
    "parent_span_id": "bf5a3444f18e435a",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175682.765577,
    "timestamp": 1779175683.308516,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "140231092722560",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": false,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_01PdvbnaHBAT2c7YmR7XSBLo",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "bf5a3444f18e435a",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a2845abb0931ea01",
    "trace_id": "1ad828f673dd49f597415cffce4bedaa",
    "parent_span_id": "bf5a3444f18e435a",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175683.308644,
    "timestamp": 1779175684.48782,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "140231092722560",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": false,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_01CrXhrHW7K8SwUbdmzyAM3j",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "2 + 2 = **4**\n\nThis is one of the most fundamental addition facts in mathematics. When you combine 2 objects with 2 more objects, you end up with 4 objects total.",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 51,
      "gen_ai.usage.total_tokens": 74,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "bf5a3444f18e435a",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "afe6bc083ca7983e",
    "trace_id": "1ad828f673dd49f597415cffce4bedaa",
    "parent_span_id": "bf5a3444f18e435a",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175684.487917,
    "timestamp": 1779175685.031911,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "140231092722560",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": false,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_019DPpGGQDP63Haz4VVUUvcK",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "The capital of Germany is Berlin.",
      "gen_ai.usage.input_tokens": 37,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 47,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "bf5a3444f18e435a",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "afdec221c38652f9",
    "trace_id": "1ad828f673dd49f597415cffce4bedaa",
    "parent_span_id": "bf5a3444f18e435a",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175685.032006,
    "timestamp": 1779175685.820354,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.anthropic",
      "thread.id": "140231092722560",
      "thread.name": "MainThread",
      "gen_ai.response.streaming": false,
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}, {\"role\": \"assistant\", \"content\": \"2 + 2 equals 4.\"}, {\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.request.max_tokens": 1024,
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.id": "msg_01E2DWE9nAabcqFbfCfjwTz6",
      "gen_ai.response.finish_reasons": [
        "end_turn"
      ],
      "gen_ai.response.text": "3 + 3 equals 6.",
      "gen_ai.usage.input_tokens": 49,
      "gen_ai.usage.input_tokens.cached": 0,
      "gen_ai.usage.input_tokens.cache_write": 0,
      "gen_ai.usage.output_tokens": 14,
      "gen_ai.usage.total_tokens": 63,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "bf5a3444f18e435a",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/google-genai :: Basic LLM Test (sync, streaming)❗︎ 1⚠︎ 14187ms
checkAISpanCount(1)
checkChatSpanAttributes
9b90481agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9b90481agen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
9b90481agen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "trace_id": "ef39c888ed1f49998515a45143259f12",
    "span_id": "acb47f0c392adddc",
    "parent_span_id": "9b90481a1b783329",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "start_timestamp": "2026-05-19T07:28:04.099184Z",
    "timestamp": "2026-05-19T07:28:04.641186Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140602115820416",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 40,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-sync-streaming.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "8f1826c7f947a867",
    "trace_id": "ef39c888ed1f49998515a45143259f12",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:28:04.096081Z",
    "timestamp": "2026-05-19T07:28:04.643821Z",
    "data": {
      "thread.id": "140602115820416",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "9b90481a1b783329",
    "trace_id": "ef39c888ed1f49998515a45143259f12",
    "parent_span_id": "8f1826c7f947a867",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175684.09729,
    "timestamp": 1779175684.643771,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "140602115820416",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.text": "[\"The capital of France is **Paris**.\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "8f1826c7f947a867",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/google-genai :: Basic LLM Test (sync, blocking)❗︎ 14392ms
checkAISpanCount(1)
checkChatSpanAttributes
ba55bc1agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ba55bc1agen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "trace_id": "d15c74c77a8b4c31a2d996f3cc1c1d4f",
    "span_id": "9dcf05e3ac2c9b02",
    "parent_span_id": "ba55bc1acf92469f",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "start_timestamp": "2026-05-19T07:28:04.045621Z",
    "timestamp": "2026-05-19T07:28:05.003811Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139773797624704",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 31,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-sync-blocking.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "8fb0abdddee0e011",
    "trace_id": "d15c74c77a8b4c31a2d996f3cc1c1d4f",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:28:04.041206Z",
    "timestamp": "2026-05-19T07:28:05.008388Z",
    "data": {
      "thread.id": "139773797624704",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "ba55bc1acf92469f",
    "trace_id": "d15c74c77a8b4c31a2d996f3cc1c1d4f",
    "parent_span_id": "8fb0abdddee0e011",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175684.043717,
    "timestamp": 1779175685.008297,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "139773797624704",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.text": "[\"The capital of France is **Paris**.\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.response.id": "BBEMaoizCv3Q_uMP1seYyQo",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "8fb0abdddee0e011",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/google-genai :: Basic LLM Test (async, streaming)❗︎ 1⚠︎ 13952ms
checkAISpanCount(1)
checkChatSpanAttributes
80b50fcfgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
80b50fcfgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
80b50fcfgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "trace_id": "5168af1968c04c0388e35b0eb5a68d13",
    "span_id": "8b5e8badd833d42c",
    "parent_span_id": "80b50fcfcd8e37e2",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "start_timestamp": "2026-05-19T07:28:04.262832Z",
    "timestamp": "2026-05-19T07:28:04.852051Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139966549146496",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 41,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-async-streaming.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "bb1ebf169d6c6666",
    "trace_id": "5168af1968c04c0388e35b0eb5a68d13",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:28:04.260217Z",
    "timestamp": "2026-05-19T07:28:04.860365Z",
    "data": {
      "thread.id": "139966549146496",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "80b50fcfcd8e37e2",
    "trace_id": "5168af1968c04c0388e35b0eb5a68d13",
    "parent_span_id": "bb1ebf169d6c6666",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175684.261482,
    "timestamp": 1779175684.859328,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "139966549146496",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.text": "[\"The capital of France is **Paris**.\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "bb1ebf169d6c6666",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/google-genai :: Basic LLM Test (async, blocking)❗︎ 15771ms
checkAISpanCount(1)
checkChatSpanAttributes
af920031gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
af920031gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "trace_id": "96ab37385a23496b9637bfa44b8e1935",
    "span_id": "819af317801099b5",
    "parent_span_id": "af920031e48c14d7",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "start_timestamp": "2026-05-19T07:28:04.187832Z",
    "timestamp": "2026-05-19T07:28:06.531217Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139797979913088",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 32,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-async-blocking.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "93e69327386ada35",
    "trace_id": "96ab37385a23496b9637bfa44b8e1935",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:28:04.184269Z",
    "timestamp": "2026-05-19T07:28:06.545236Z",
    "data": {
      "thread.id": "139797979913088",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "af920031e48c14d7",
    "trace_id": "96ab37385a23496b9637bfa44b8e1935",
    "parent_span_id": "93e69327386ada35",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175684.185932,
    "timestamp": 1779175686.538707,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "139797979913088",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.text": "[\"The capital of France is **Paris**.\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.response.id": "BBEMauHGEeiI-sAPibjq0Ao",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "93e69327386ada35",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/google-genai :: Multi-Turn LLM Test (sync, streaming)❗︎ 1⚠︎ 19520ms
checkAISpanCount(3)
checkChatSpanAttributes
93ecfbabgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
93ecfbabgen_ai.output.messagesMissing output messages attribute
ba673437gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ba673437gen_ai.output.messagesMissing output messages attribute
a8f1c625gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a8f1c625gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
93ecfbabgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
ba673437gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
a8f1c625gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "5998952f284e42a29da6f642c5e171cb",
    "span_id": "8960b44c071b6bc2",
    "parent_span_id": "93ecfbabe66ee53a",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "start_timestamp": "2026-05-19T07:28:04.438705Z",
    "timestamp": "2026-05-19T07:28:07.660472Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139700609760128",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 40,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-streaming.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "5998952f284e42a29da6f642c5e171cb",
    "span_id": "8435e141f805b344",
    "parent_span_id": "ba67343774d7be99",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "start_timestamp": "2026-05-19T07:28:07.667797Z",
    "timestamp": "2026-05-19T07:28:08.380504Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139700609760128",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 63,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-streaming.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "5998952f284e42a29da6f642c5e171cb",
    "span_id": "94390e2852ca9c93",
    "parent_span_id": "a8f1c62565820e11",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "start_timestamp": "2026-05-19T07:28:08.514351Z",
    "timestamp": "2026-05-19T07:28:09.513575Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139700609760128",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 86,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-streaming.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "a2de19eea996b4ef",
    "trace_id": "5998952f284e42a29da6f642c5e171cb",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:28:04.436457Z",
    "timestamp": "2026-05-19T07:28:10.268260Z",
    "data": {
      "thread.id": "139700609760128",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "93ecfbabe66ee53a",
    "trace_id": "5998952f284e42a29da6f642c5e171cb",
    "parent_span_id": "a2de19eea996b4ef",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175684.437448,
    "timestamp": 1779175687.666163,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "139700609760128",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.text": "[\"The capital of France is **Paris**.\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "a2de19eea996b4ef",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "ba67343774d7be99",
    "trace_id": "5998952f284e42a29da6f642c5e171cb",
    "parent_span_id": "a2de19eea996b4ef",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175687.666329,
    "timestamp": 1779175688.50918,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "139700609760128",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.text": "[\"I need more information to answer your question. Could you please tell me which city you are referring to? I can provide you with population data for many cities around the world.\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.usage.input_tokens": 16,
      "gen_ai.usage.output_tokens": 36,
      "gen_ai.usage.total_tokens": 52,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "a2de19eea996b4ef",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a8f1c62565820e11",
    "trace_id": "5998952f284e42a29da6f642c5e171cb",
    "parent_span_id": "a2de19eea996b4ef",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175688.50934,
    "timestamp": 1779175690.268188,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "139700609760128",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.text": "[\"To give you the best information about \\\"the metropolitan area,\\\" I need a bit more context! \\\"Metropolitan area\\\" is a general term, and it could refer to many different things.\\n\\nPlease tell me:\\n\\n*   **Which metropolitan area are you interested in?** For example, are you asking about:\\n    *   **A specific city's metropolitan area?** (e.g., \\\"What about the New York metropolitan area?\\\" or \\\"What about the Tokyo metropolitan area?\\\")\\n    *   **A general concept of metropolitan areas?** (e.g., \\\"What are the characteristics of a metropolitan area?\\\" or \\\"What are the challenges facing metropolitan areas?\\\")\\n    *   **A metropolitan area related to a previous topic we were discussing?**\\n\\nOnce you clarify, I can provide you with much more relevant and detailed information.\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.usage.input_tokens": 14,
      "gen_ai.usage.output_tokens": 174,
      "gen_ai.usage.total_tokens": 188,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "a2de19eea996b4ef",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/google-genai :: Multi-Turn LLM Test (sync, blocking)❗︎ 111454ms
checkAISpanCount(3)
checkChatSpanAttributes
8c2790a7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8c2790a7gen_ai.output.messagesMissing output messages attribute
b68fba7egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b68fba7egen_ai.output.messagesMissing output messages attribute
863bd8f3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
863bd8f3gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "b084df19c91049008ef235965ba749ad",
    "span_id": "94d4ac804851380f",
    "parent_span_id": "8c2790a757446658",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "start_timestamp": "2026-05-19T07:28:04.008686Z",
    "timestamp": "2026-05-19T07:28:04.566160Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139909676739456",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 31,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-blocking.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "b084df19c91049008ef235965ba749ad",
    "span_id": "a8981cbf0cf7a9d9",
    "parent_span_id": "b68fba7ecf25c5c3",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "start_timestamp": "2026-05-19T07:28:04.569420Z",
    "timestamp": "2026-05-19T07:28:05.557153Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139909676739456",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 47,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-blocking.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "b084df19c91049008ef235965ba749ad",
    "span_id": "98717b907e97e82c",
    "parent_span_id": "863bd8f3932ca73d",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "start_timestamp": "2026-05-19T07:28:05.559718Z",
    "timestamp": "2026-05-19T07:28:12.077221Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139909676739456",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 63,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-blocking.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "895b30d20b397bd7",
    "trace_id": "b084df19c91049008ef235965ba749ad",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:28:04.003127Z",
    "timestamp": "2026-05-19T07:28:12.078269Z",
    "data": {
      "thread.id": "139909676739456",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "8c2790a757446658",
    "trace_id": "b084df19c91049008ef235965ba749ad",
    "parent_span_id": "895b30d20b397bd7",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175684.006732,
    "timestamp": 1779175684.56756,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "139909676739456",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.text": "[\"The capital of France is **Paris**.\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.response.id": "BBEMaoCOBrKe1MkPh6Tt8As",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "895b30d20b397bd7",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b68fba7ecf25c5c3",
    "trace_id": "b084df19c91049008ef235965ba749ad",
    "parent_span_id": "895b30d20b397bd7",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175684.567763,
    "timestamp": 1779175685.558203,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "139909676739456",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.response.text": "[\"I need more information to answer your question. Please tell me which city you are referring to. I need the name of the city to look up its population.\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.response.id": "BBEMatDnJ_SZ9MoPqOWz-As",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 16,
      "gen_ai.usage.output_tokens": 32,
      "gen_ai.usage.total_tokens": 48,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "895b30d20b397bd7",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "863bd8f3932ca73d",
    "trace_id": "b084df19c91049008ef235965ba749ad",
    "parent_span_id": "895b30d20b397bd7",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175685.558367,
    "timestamp": 1779175692.0782,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "139909676739456",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.response.text": "[\"To give you the best information, I need a little more context. When you say \\\"metropolitan area,\\\" what specific metropolitan area are you interested in?\\n\\nFor example, are you asking about:\\n\\n*   **A specific city's metropolitan area?** (e.g., \\\"What about the New York metropolitan area?\\\" or \\\"Tell me about the Tokyo metropolitan area.\\\")\\n*   **A general concept of a metropolitan area?** (e.g., \\\"What defines a metropolitan area?\\\" or \\\"What are the characteristics of metropolitan areas?\\\")\\n*   **Something else entirely?**\\n\\nOnce you tell me which metropolitan area you're interested in, I can provide details on things like:\\n\\n*   **Geography and size**\\n*   **Population**\\n*   **Economy and major industries**\\n*   **Culture and attractions**\\n*   **Transportation**\\n*   **Demographics**\\n*   **Current events or specific issues**\\n\\nLooking forward to your clarification!\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.response.id": "BREMaoPmJsKf1MkPwtTOwA0",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 14,
      "gen_ai.usage.output_tokens": 204,
      "gen_ai.usage.total_tokens": 218,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "895b30d20b397bd7",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/google-genai :: Multi-Turn LLM Test (async, streaming)❗︎ 1⚠︎ 15775ms
checkAISpanCount(3)
checkChatSpanAttributes
ba6cb748gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ba6cb748gen_ai.output.messagesMissing output messages attribute
be6385c6gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
be6385c6gen_ai.output.messagesMissing output messages attribute
8b63c8f4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8b63c8f4gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
ba6cb748gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
be6385c6gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
8b63c8f4gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "639b62a6c38740d29a90c47dc0e56e3e",
    "span_id": "872e4984b0855760",
    "parent_span_id": "ba6cb7482a298bc0",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "start_timestamp": "2026-05-19T07:28:05.424995Z",
    "timestamp": "2026-05-19T07:28:06.377330Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140013313457024",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 41,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "639b62a6c38740d29a90c47dc0e56e3e",
    "span_id": "820ba0dfb1bc6e3d",
    "parent_span_id": "be6385c64d1a70a0",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "start_timestamp": "2026-05-19T07:28:06.393211Z",
    "timestamp": "2026-05-19T07:28:06.829621Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140013313457024",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 64,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "639b62a6c38740d29a90c47dc0e56e3e",
    "span_id": "88d0df56f8b6db89",
    "parent_span_id": "8b63c8f44163478a",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "start_timestamp": "2026-05-19T07:28:06.980315Z",
    "timestamp": "2026-05-19T07:28:08.212512Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140013313457024",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 87,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "a8b2319cd2499af3",
    "trace_id": "639b62a6c38740d29a90c47dc0e56e3e",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:28:05.422364Z",
    "timestamp": "2026-05-19T07:28:08.983578Z",
    "data": {
      "thread.id": "140013313457024",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "ba6cb7482a298bc0",
    "trace_id": "639b62a6c38740d29a90c47dc0e56e3e",
    "parent_span_id": "a8b2319cd2499af3",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175685.423664,
    "timestamp": 1779175686.386454,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "140013313457024",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.text": "[\"The capital of France is **Paris**.\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "a8b2319cd2499af3",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "be6385c64d1a70a0",
    "trace_id": "639b62a6c38740d29a90c47dc0e56e3e",
    "parent_span_id": "a8b2319cd2499af3",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175686.386621,
    "timestamp": 1779175686.972559,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "140013313457024",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.text": "[\"I need more information to answer your question. Please tell me which city you are referring to. I don't have access to previous conversations or any context about what city you might be thinking of.\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.usage.input_tokens": 16,
      "gen_ai.usage.output_tokens": 40,
      "gen_ai.usage.total_tokens": 56,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "a8b2319cd2499af3",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8b63c8f44163478a",
    "trace_id": "639b62a6c38740d29a90c47dc0e56e3e",
    "parent_span_id": "a8b2319cd2499af3",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175686.972724,
    "timestamp": 1779175688.978517,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "140013313457024",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.text": "[\"To give you the best information about a \\\"metropolitan area,\\\" I need a little more context. Please tell me:\\n\\n**Which metropolitan area are you interested in?**\\n\\nFor example, are you asking about:\\n\\n*   **A specific city's metropolitan area?** (e.g., \\\"What about the Los Angeles metropolitan area?\\\" or \\\"Tell me about the Tokyo metropolitan area.\\\")\\n*   **A general concept of metropolitan areas?** (e.g., \\\"What defines a metropolitan area?\\\" or \\\"What are the characteristics of metropolitan areas?\\\")\\n\\nOnce I know which one you're interested in, I can tell you about its:\\n\\n*   **Population and demographics**\\n*   **Economy and industries**\\n*   **Geography and layout**\\n*   **Culture and lifestyle**\\n*   **Transportation and infrastructure**\\n*   **Key features and attractions**\\n*   **Or anything else you'd like to know!**\\n\\nLooking forward to your clarification!\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.usage.input_tokens": 14,
      "gen_ai.usage.output_tokens": 205,
      "gen_ai.usage.total_tokens": 219,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "a8b2319cd2499af3",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/google-genai :: Multi-Turn LLM Test (async, blocking)❗︎ 110755ms
checkAISpanCount(3)
checkChatSpanAttributes
97884688gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
97884688gen_ai.output.messagesMissing output messages attribute
9d97c2e9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9d97c2e9gen_ai.output.messagesMissing output messages attribute
a5eb9b47gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a5eb9b47gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "dc670e6e95e44a45b9b8e670d7e60cea",
    "span_id": "8cd305b4aa28cdad",
    "parent_span_id": "97884688d19cd150",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "start_timestamp": "2026-05-19T07:28:05.736437Z",
    "timestamp": "2026-05-19T07:28:06.208205Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140639942667136",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 32,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "dc670e6e95e44a45b9b8e670d7e60cea",
    "span_id": "b78306b0b4a01ad2",
    "parent_span_id": "9d97c2e9580492e3",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "start_timestamp": "2026-05-19T07:28:06.216390Z",
    "timestamp": "2026-05-19T07:28:12.135708Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140639942667136",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 48,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "dc670e6e95e44a45b9b8e670d7e60cea",
    "span_id": "a07d3aa1eae4cb27",
    "parent_span_id": "a5eb9b47db1456c9",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "start_timestamp": "2026-05-19T07:28:12.146542Z",
    "timestamp": "2026-05-19T07:28:13.797691Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140639942667136",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 64,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "a11adef32bba7aea",
    "trace_id": "dc670e6e95e44a45b9b8e670d7e60cea",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:28:05.731277Z",
    "timestamp": "2026-05-19T07:28:13.808260Z",
    "data": {
      "thread.id": "140639942667136",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "97884688d19cd150",
    "trace_id": "dc670e6e95e44a45b9b8e670d7e60cea",
    "parent_span_id": "a11adef32bba7aea",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175685.733605,
    "timestamp": 1779175686.209598,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "140639942667136",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.text": "[\"The capital of France is **Paris**.\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.response.id": "BREMaojaMqGh_PUP2ceP6Ac",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "a11adef32bba7aea",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9d97c2e9580492e3",
    "trace_id": "dc670e6e95e44a45b9b8e670d7e60cea",
    "parent_span_id": "a11adef32bba7aea",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175686.209782,
    "timestamp": 1779175692.136802,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "140639942667136",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.response.text": "[\"I need more information to answer your question. I don't know which city you are referring to. Please tell me the name of the city you're interested in!\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.response.id": "BhEMar24Ec26_uMPr-af4Ao",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 16,
      "gen_ai.usage.output_tokens": 35,
      "gen_ai.usage.total_tokens": 51,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "a11adef32bba7aea",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a5eb9b47db1456c9",
    "trace_id": "dc670e6e95e44a45b9b8e670d7e60cea",
    "parent_span_id": "a11adef32bba7aea",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175692.145041,
    "timestamp": 1779175693.801722,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "140639942667136",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.response.text": "[\"To give you the best information about \\\"the metropolitan area,\\\" I need a little more context.  **Which metropolitan area are you interested in?**\\n\\nMetropolitan areas are large, complex regions, and what's important about them can vary greatly.\\n\\nOnce you tell me which metropolitan area you're curious about, I can tell you about things like:\\n\\n*   **Its name and location:** (e.g., \\\"The New York metropolitan area,\\\" \\\"The Tokyo metropolitan area\\\")\\n*   **Its size and population:** How many people live there? How geographically extensive is it?\\n*   **Its economy:** What are the major industries? What is its economic significance?\\n*   **Its demographics:** What is the age, ethnic, and income makeup of the population?\\n*   **Its culture and lifestyle:** What is it like to live there? What are the popular attractions, food, and entertainment?\\n*   **Its infrastructure:** How does transportation work (public transit, roads)? What are the major airports, ports, etc.?\\n*   **Its challenges and opportunities:** What are the current issues facing the area (e.g., housing, traffic, environmental concerns) and what are its future prospects?\\n*   **Specific features:** Are you interested in its history, its real estate market, its government structure, or something else?\\n\\n**Please specify which metropolitan area you'd like to know about!**\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.response.id": "DBEMari_Dfud_uMP8qHlsAY",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 14,
      "gen_ai.usage.output_tokens": 295,
      "gen_ai.usage.total_tokens": 309,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "a11adef32bba7aea",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/google-genai :: Vision LLM Test (sync, streaming)❗︎ 1⚠︎ 14522ms
checkChatSpanAttributes
85141e0egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
85141e0egen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
85141e0egen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "trace_id": "bc510f296f604fb9b835308e9d687773",
    "span_id": "b3d970bcaced2757",
    "parent_span_id": "85141e0ef083c5ca",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "start_timestamp": "2026-05-19T07:28:08.497908Z",
    "timestamp": "2026-05-19T07:28:09.397080Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139928640691072",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 43,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-sync-streaming.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "90d589b12a89e9f0",
    "trace_id": "bc510f296f604fb9b835308e9d687773",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:28:08.494025Z",
    "timestamp": "2026-05-19T07:28:09.402358Z",
    "data": {
      "thread.id": "139928640691072",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "85141e0ef083c5ca",
    "trace_id": "bc510f296f604fb9b835308e9d687773",
    "parent_span_id": "90d589b12a89e9f0",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175688.495267,
    "timestamp": 1779175689.402304,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "139928640691072",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"text\": \"What color is this image? Reply with just the color name.\", \"type\": \"text\"}, {\"inline_data\": {\"mime_type\": \"image/png\", \"data\": \"[Blob substitute]\"}}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.text": "[\"Coral\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.usage.input_tokens": 286,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 287,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "90d589b12a89e9f0",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/google-genai :: Vision LLM Test (sync, blocking)❗︎ 14968ms
checkChatSpanAttributes
93f18e3cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
93f18e3cgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "trace_id": "748d7c75fab24b88a5f6f3875e0881c5",
    "span_id": "8da7b8acf90b19e2",
    "parent_span_id": "93f18e3c0895ac4e",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "start_timestamp": "2026-05-19T07:28:09.049427Z",
    "timestamp": "2026-05-19T07:28:10.811777Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139665779587968",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 31,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-sync-blocking.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "8eee13b520bae61c",
    "trace_id": "748d7c75fab24b88a5f6f3875e0881c5",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:28:09.037511Z",
    "timestamp": "2026-05-19T07:28:10.815350Z",
    "data": {
      "thread.id": "139665779587968",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "93f18e3c0895ac4e",
    "trace_id": "748d7c75fab24b88a5f6f3875e0881c5",
    "parent_span_id": "8eee13b520bae61c",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175689.044749,
    "timestamp": 1779175690.815267,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "139665779587968",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"text\": \"What color is this image? Reply with just the color name.\", \"type\": \"text\"}, {\"inline_data\": {\"mime_type\": \"image/png\", \"data\": \"[Blob substitute]\"}}]}]",
      "gen_ai.response.text": "[\"Coral\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.response.id": "CREMaviNCLv3jMcPybGZkQM",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 286,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 287,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "8eee13b520bae61c",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/google-genai :: Vision LLM Test (async, streaming)❗︎ 1⚠︎ 13797ms
checkChatSpanAttributes
b6909a7dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b6909a7dgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
b6909a7dgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "trace_id": "7d958b424f8b47cb8e263a26f3b8031d",
    "span_id": "957bf2624b89d8da",
    "parent_span_id": "b6909a7de0c97e16",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "start_timestamp": "2026-05-19T07:28:09.240490Z",
    "timestamp": "2026-05-19T07:28:09.811208Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140114626829184",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 44,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-async-streaming.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "bc01b73ba38ba70d",
    "trace_id": "7d958b424f8b47cb8e263a26f3b8031d",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:28:09.236324Z",
    "timestamp": "2026-05-19T07:28:09.825292Z",
    "data": {
      "thread.id": "140114626829184",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b6909a7de0c97e16",
    "trace_id": "7d958b424f8b47cb8e263a26f3b8031d",
    "parent_span_id": "bc01b73ba38ba70d",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175689.237904,
    "timestamp": 1779175689.819584,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "140114626829184",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"text\": \"What color is this image? Reply with just the color name.\", \"type\": \"text\"}, {\"inline_data\": {\"mime_type\": \"image/png\", \"data\": \"[Blob substitute]\"}}]}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.text": "[\"Coral\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.usage.input_tokens": 286,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 287,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "bc01b73ba38ba70d",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/google-genai :: Vision LLM Test (async, blocking)❗︎ 16072ms
checkChatSpanAttributes
8fa5f181gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8fa5f181gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "trace_id": "7a99715f72764c35bace983b18de3cce",
    "span_id": "a3d78c9d93e3e41c",
    "parent_span_id": "8fa5f181e1557d12",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "start_timestamp": "2026-05-19T07:28:09.836369Z",
    "timestamp": "2026-05-19T07:28:12.266884Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139830288747392",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 32,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-async-blocking.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "84108d4f4d9e12d5",
    "trace_id": "7a99715f72764c35bace983b18de3cce",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:28:09.827306Z",
    "timestamp": "2026-05-19T07:28:12.277193Z",
    "data": {
      "thread.id": "139830288747392",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "8fa5f181e1557d12",
    "trace_id": "7a99715f72764c35bace983b18de3cce",
    "parent_span_id": "84108d4f4d9e12d5",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175689.830807,
    "timestamp": 1779175692.271218,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "139830288747392",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"text\": \"What color is this image? Reply with just the color name.\", \"type\": \"text\"}, {\"inline_data\": {\"mime_type\": \"image/png\", \"data\": \"[Blob substitute]\"}}]}]",
      "gen_ai.response.text": "[\"Coral\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.response.id": "CREMapTQObyI-sAPy6vb-Ao",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 286,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 287,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "84108d4f4d9e12d5",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/google-genai :: Long Input LLM Test (sync, streaming)❗︎ 1⚠︎ 13680ms
checkChatSpanAttributes
81ad7da1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
81ad7da1gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
81ad7da1gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "trace_id": "2d14f688ed2f41d5bb016fa57cbbc0f8",
    "span_id": "a5c0bbccd157b707",
    "parent_span_id": "81ad7da16e393d99",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "start_timestamp": "2026-05-19T07:28:10.743305Z",
    "timestamp": "2026-05-19T07:28:11.341142Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140196342373248",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 40,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-sync-streaming.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "8a6cac518e1df9b3",
    "trace_id": "2d14f688ed2f41d5bb016fa57cbbc0f8",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:28:10.740027Z",
    "timestamp": "2026-05-19T07:28:11.351339Z",
    "data": {
      "thread.id": "140196342373248",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "81ad7da16e393d99",
    "trace_id": "2d14f688ed2f41d5bb016fa57cbbc0f8",
    "parent_span_id": "8a6cac518e1df9b3",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175690.741227,
    "timestamp": 1779175691.351284,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "140196342373248",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.text": "[\"This is a test message that is repeated many times to create a very long input.\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.usage.input_tokens": 5419,
      "gen_ai.usage.input_tokens.cached": 5108,
      "gen_ai.usage.output_tokens": 17,
      "gen_ai.usage.total_tokens": 5436,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "8a6cac518e1df9b3",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/google-genai :: Long Input LLM Test (sync, blocking)❗︎ 14584ms
checkChatSpanAttributes
b6e41cf2gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b6e41cf2gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "trace_id": "34be6666d91740ddbd1b95375807bdfc",
    "span_id": "8c67663637d8ed90",
    "parent_span_id": "b6e41cf21405b5ba",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "start_timestamp": "2026-05-19T07:28:11.613932Z",
    "timestamp": "2026-05-19T07:28:12.285948Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140162527697792",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 31,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-sync-blocking.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "9c804011963e7b54",
    "trace_id": "34be6666d91740ddbd1b95375807bdfc",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:28:11.606613Z",
    "timestamp": "2026-05-19T07:28:12.293406Z",
    "data": {
      "thread.id": "140162527697792",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b6e41cf21405b5ba",
    "trace_id": "34be6666d91740ddbd1b95375807bdfc",
    "parent_span_id": "9c804011963e7b54",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175691.608641,
    "timestamp": 1779175692.293317,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "140162527697792",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.response.text": "[\"This is a test message that will be repeated many times to create a very long input.\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.response.id": "CxEMap3-KqGh_PUP2ceP6Ac",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 5419,
      "gen_ai.usage.output_tokens": 18,
      "gen_ai.usage.total_tokens": 5437,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "9c804011963e7b54",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/google-genai :: Long Input LLM Test (async, streaming)❗︎ 1⚠︎ 14480ms
checkChatSpanAttributes
abdd7804gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
abdd7804gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
abdd7804gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "trace_id": "36f86f74dd7a431abe9f1634c71185b5",
    "span_id": "b0817030ddbbb0d6",
    "parent_span_id": "abdd780464e09656",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "start_timestamp": "2026-05-19T07:28:11.819143Z",
    "timestamp": "2026-05-19T07:28:12.341160Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139715606457216",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 41,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-async-streaming.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "8d401af7091d081c",
    "trace_id": "36f86f74dd7a431abe9f1634c71185b5",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:28:11.812339Z",
    "timestamp": "2026-05-19T07:28:12.359297Z",
    "data": {
      "thread.id": "139715606457216",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "abdd780464e09656",
    "trace_id": "36f86f74dd7a431abe9f1634c71185b5",
    "parent_span_id": "8d401af7091d081c",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175691.813928,
    "timestamp": 1779175692.346428,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "139715606457216",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.text": "[\"This is a test message that will be repeated many times to create a very long input.\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.usage.input_tokens": 5419,
      "gen_ai.usage.input_tokens.cached": 5108,
      "gen_ai.usage.output_tokens": 18,
      "gen_ai.usage.total_tokens": 5437,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "8d401af7091d081c",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/google-genai :: Long Input LLM Test (async, blocking)❗︎ 13966ms
checkChatSpanAttributes
870a3efbgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
870a3efbgen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "trace_id": "65555b9f69f94779bac268fa78eacf36",
    "span_id": "a90e212afb2b1d42",
    "parent_span_id": "870a3efb0fc1c28b",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "start_timestamp": "2026-05-19T07:28:11.252675Z",
    "timestamp": "2026-05-19T07:28:12.023236Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140528929811328",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 32,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-async-blocking.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "95caf5cd2b373a61",
    "trace_id": "65555b9f69f94779bac268fa78eacf36",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:28:11.249045Z",
    "timestamp": "2026-05-19T07:28:12.033534Z",
    "data": {
      "thread.id": "140528929811328",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "870a3efb0fc1c28b",
    "trace_id": "65555b9f69f94779bac268fa78eacf36",
    "parent_span_id": "95caf5cd2b373a61",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175691.250612,
    "timestamp": 1779175692.030678,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "140528929811328",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.response.text": "[\"The provided text is a repeated test message intended to create a very long input.\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.response.id": "CxEMap3LFbHljMcPyKC9sQM",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 5419,
      "gen_ai.usage.input_tokens.cached": 5108,
      "gen_ai.usage.output_tokens": 16,
      "gen_ai.usage.total_tokens": 5435,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "95caf5cd2b373a61",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/google-genai :: Conversation ID LLM Test (sync, streaming)❗︎ 1⚠︎ 110866ms
checkAISpanCount(4)
checkChatSpanAttributes
a81315d6gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a81315d6gen_ai.output.messagesMissing output messages attribute
b7366d19gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b7366d19gen_ai.output.messagesMissing output messages attribute
bb05945bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bb05945bgen_ai.output.messagesMissing output messages attribute
9fe9ac73gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9fe9ac73gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
a81315d6gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
b7366d19gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
bb05945bgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
9fe9ac73gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (9)
[
  {
    "trace_id": "fd8881b2b9d34a5a8c2750210220462b",
    "span_id": "a09715500689c14d",
    "parent_span_id": "a81315d628213537",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "start_timestamp": "2026-05-19T07:28:12.483630Z",
    "timestamp": "2026-05-19T07:28:13.043158Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140362022185856",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 41,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "fd8881b2b9d34a5a8c2750210220462b",
    "span_id": "af6dea67192f9e85",
    "parent_span_id": "b7366d19181413d3",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "start_timestamp": "2026-05-19T07:28:13.265222Z",
    "timestamp": "2026-05-19T07:28:13.761547Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140362022185856",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 65,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "fd8881b2b9d34a5a8c2750210220462b",
    "span_id": "af2c1d84d0ea2073",
    "parent_span_id": "bb05945b753aaa4f",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "start_timestamp": "2026-05-19T07:28:13.855533Z",
    "timestamp": "2026-05-19T07:28:14.309463Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140362022185856",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 89,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "fd8881b2b9d34a5a8c2750210220462b",
    "span_id": "937a4261bbf962e1",
    "parent_span_id": "9fe9ac7354da8c87",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "start_timestamp": "2026-05-19T07:28:15.629993Z",
    "timestamp": "2026-05-19T07:28:19.709997Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140362022185856",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 113,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "9b129a29c5baa957",
    "trace_id": "fd8881b2b9d34a5a8c2750210220462b",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:28:12.477468Z",
    "timestamp": "2026-05-19T07:28:19.878402Z",
    "data": {
      "thread.id": "140362022185856",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "a81315d628213537",
    "trace_id": "fd8881b2b9d34a5a8c2750210220462b",
    "parent_span_id": "9b129a29c5baa957",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175692.481724,
    "timestamp": 1779175693.262371,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "140362022185856",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.text": "[\"The capital of France is **Paris**.\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "9b129a29c5baa957",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b7366d19181413d3",
    "trace_id": "fd8881b2b9d34a5a8c2750210220462b",
    "parent_span_id": "9b129a29c5baa957",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175693.262571,
    "timestamp": 1779175693.847795,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "140362022185856",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.text": "[\"2 + 2 = 4\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.usage.input_tokens": 16,
      "gen_ai.usage.output_tokens": 7,
      "gen_ai.usage.total_tokens": 23,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "9b129a29c5baa957",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "bb05945b753aaa4f",
    "trace_id": "fd8881b2b9d34a5a8c2750210220462b",
    "parent_span_id": "9b129a29c5baa957",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175693.84798,
    "timestamp": 1779175695.622291,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "140362022185856",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.text": "[\"Germany is a fascinating and multifaceted country. To give you the most relevant information, I need a little more context! What specifically about Germany are you interested in?\\n\\nFor example, are you curious about:\\n\\n**General Information:**\\n*   Its **geography** and landscape?\\n*   Its **population** and demographics?\\n*   Its **history** (e.g., WWII, reunification, medieval history)?\\n*   Its **government** and political system?\\n*   Its **economy** and major industries?\\n\\n**Culture and Lifestyle:**\\n*   German **culture** (e.g., traditions, festivals, etiquette)?\\n*   German **food** and drink?\\n*   Famous **German people**?\\n*   **German language**?\\n*   **Arts and literature** in Germany?\\n\\n**Travel and Tourism:**\\n*   Popular **tourist destinations**?\\n*   Things to **do** in Germany?\\n*   **Travel tips** for visiting Germany?\\n\\n**Current Events or Issues:**\\n*   What's happening in **Germany right now**?\\n*   Any specific **political or social issues**?\\n\\n**Other:**\\n*   Are you considering **moving to Germany**?\\n*   Are you interested in **education** in Germany?\\n\\nOnce you tell me what you'd like to know, I can provide a much more detailed and helpful answer!\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.usage.input_tokens": 12,
      "gen_ai.usage.output_tokens": 294,
      "gen_ai.usage.total_tokens": 306,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "9b129a29c5baa957",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9fe9ac7354da8c87",
    "trace_id": "fd8881b2b9d34a5a8c2750210220462b",
    "parent_span_id": "9b129a29c5baa957",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175695.62249,
    "timestamp": 1779175699.878351,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "140362022185856",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.text": "[\"3 + 3 is equal to 6.\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.usage.input_tokens": 16,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 26,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "9b129a29c5baa957",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/google-genai :: Conversation ID LLM Test (sync, blocking)❗︎ 115307ms
checkAISpanCount(4)
checkChatSpanAttributes
b2582ce3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b2582ce3gen_ai.output.messagesMissing output messages attribute
8653e6fdgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8653e6fdgen_ai.output.messagesMissing output messages attribute
9720d476gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9720d476gen_ai.output.messagesMissing output messages attribute
a8edac8dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a8edac8dgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (9)
[
  {
    "trace_id": "47a76d3f2d524b3d958c448acec0aecd",
    "span_id": "ba8e7b1d5ae4bcca",
    "parent_span_id": "b2582ce3de624280",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "start_timestamp": "2026-05-19T07:28:12.732455Z",
    "timestamp": "2026-05-19T07:28:14.027635Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140498946661248",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 32,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "47a76d3f2d524b3d958c448acec0aecd",
    "span_id": "bd9e4c511d8835a1",
    "parent_span_id": "8653e6fddc81b130",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "start_timestamp": "2026-05-19T07:28:14.036559Z",
    "timestamp": "2026-05-19T07:28:17.349274Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140498946661248",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 49,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "47a76d3f2d524b3d958c448acec0aecd",
    "span_id": "bf16c4937e2e3563",
    "parent_span_id": "9720d4767b7e2120",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "start_timestamp": "2026-05-19T07:28:17.361142Z",
    "timestamp": "2026-05-19T07:28:19.103251Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140498946661248",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 66,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "47a76d3f2d524b3d958c448acec0aecd",
    "span_id": "b9787b12d4abb81a",
    "parent_span_id": "a8edac8d2fd8a72f",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "start_timestamp": "2026-05-19T07:28:19.112143Z",
    "timestamp": "2026-05-19T07:28:24.159082Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140498946661248",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 83,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "9c3dce15006d1129",
    "trace_id": "47a76d3f2d524b3d958c448acec0aecd",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:28:12.721038Z",
    "timestamp": "2026-05-19T07:28:24.160093Z",
    "data": {
      "thread.id": "140498946661248",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b2582ce3de624280",
    "trace_id": "47a76d3f2d524b3d958c448acec0aecd",
    "parent_span_id": "9c3dce15006d1129",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175692.72753,
    "timestamp": 1779175694.034908,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "140498946661248",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.text": "[\"The capital of France is **Paris**.\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.response.id": "DBEMap6uMcbg_uMPtvebsAI",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "9c3dce15006d1129",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8653e6fddc81b130",
    "trace_id": "47a76d3f2d524b3d958c448acec0aecd",
    "parent_span_id": "9c3dce15006d1129",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175694.035191,
    "timestamp": 1779175697.350389,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "140498946661248",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.response.text": "[\"That's a classic! 2 + 2 equals **4**.\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.response.id": "DhEMap_yBpW2_uMPxuSumQY",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 16,
      "gen_ai.usage.output_tokens": 15,
      "gen_ai.usage.total_tokens": 31,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "9c3dce15006d1129",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9720d4767b7e2120",
    "trace_id": "47a76d3f2d524b3d958c448acec0aecd",
    "parent_span_id": "9c3dce15006d1129",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175697.350565,
    "timestamp": 1779175699.107359,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "140498946661248",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.response.text": "[\"Germany is a fascinating country with a rich and complex history, a strong economy, and a vibrant culture. To give you the most relevant information, could you tell me what aspect of Germany you're most interested in?\\n\\nFor example, are you curious about:\\n\\n**General Information:**\\n*   Its geography and landscape?\\n*   Its capital city, Berlin?\\n*   Its population and major cities?\\n\\n**History:**\\n*   Its role in World Wars I and II?\\n*   The division of Germany and its reunification?\\n*   Its historical figures?\\n\\n**Culture:**\\n*   Its art, music, and literature?\\n*   Its traditions and festivals (like Oktoberfest)?\\n*   Its cuisine and famous dishes?\\n\\n**Economy and Politics:**\\n*   Its current political system and leadership?\\n*   Its economic strengths (e.g., automotive industry, engineering)?\\n*   Its role in the European Union?\\n\\n**Travel and Tourism:**\\n*   Popular tourist destinations?\\n*   Things to see and do?\\n*   Practical travel tips?\\n\\n**Or something else entirely?**\\n\\nOnce I have a better understanding of your interest, I can provide a more focused and helpful answer!\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.response.id": "EREMarmWGvOM_PUPz-T-6Ak",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 12,
      "gen_ai.usage.output_tokens": 253,
      "gen_ai.usage.total_tokens": 265,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "9c3dce15006d1129",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a8edac8d2fd8a72f",
    "trace_id": "47a76d3f2d524b3d958c448acec0aecd",
    "parent_span_id": "9c3dce15006d1129",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175699.107545,
    "timestamp": 1779175704.160028,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "140498946661248",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.response.text": "[\"3 + 3 = 6\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.response.id": "ExEMarmhCpGa_uMPw-rqqQY",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 16,
      "gen_ai.usage.output_tokens": 7,
      "gen_ai.usage.total_tokens": 23,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "9c3dce15006d1129",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/google-genai :: Conversation ID LLM Test (async, streaming)❗︎ 1⚠︎ 17242ms
checkAISpanCount(4)
checkChatSpanAttributes
bc75f389gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bc75f389gen_ai.output.messagesMissing output messages attribute
8fb9c92bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8fb9c92bgen_ai.output.messagesMissing output messages attribute
bba9a625gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bba9a625gen_ai.output.messagesMissing output messages attribute
97322d64gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
97322d64gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
bc75f389gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
8fb9c92bgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
bba9a625gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
97322d64gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (9)
[
  {
    "trace_id": "db8e1aa389324a16883dbea157e49b28",
    "span_id": "9c4d1496f47ae702",
    "parent_span_id": "bc75f389b41d74fa",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "start_timestamp": "2026-05-19T07:28:13.154393Z",
    "timestamp": "2026-05-19T07:28:13.611297Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140119599614848",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 42,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "db8e1aa389324a16883dbea157e49b28",
    "span_id": "862fba11ffb921df",
    "parent_span_id": "8fb9c92b9fdeb45d",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "start_timestamp": "2026-05-19T07:28:13.628443Z",
    "timestamp": "2026-05-19T07:28:14.695611Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140119599614848",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 66,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "db8e1aa389324a16883dbea157e49b28",
    "span_id": "9190b2ebe30d5e33",
    "parent_span_id": "bba9a62511806997",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "start_timestamp": "2026-05-19T07:28:14.724295Z",
    "timestamp": "2026-05-19T07:28:15.265654Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140119599614848",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 90,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "db8e1aa389324a16883dbea157e49b28",
    "span_id": "b70ff7a069a1c5d9",
    "parent_span_id": "97322d64b92baf96",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
    "start_timestamp": "2026-05-19T07:28:16.362254Z",
    "timestamp": "2026-05-19T07:28:16.743646Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140119599614848",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:streamGenerateContent",
      "http.query": "alt=sse",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 114,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "891278887b816a3d",
    "trace_id": "db8e1aa389324a16883dbea157e49b28",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:28:13.150749Z",
    "timestamp": "2026-05-19T07:28:17.201160Z",
    "data": {
      "thread.id": "140119599614848",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "bc75f389b41d74fa",
    "trace_id": "db8e1aa389324a16883dbea157e49b28",
    "parent_span_id": "891278887b816a3d",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175693.152394,
    "timestamp": 1779175693.620674,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "140119599614848",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.text": "[\"The capital of France is **Paris**.\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "891278887b816a3d",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8fb9c92b9fdeb45d",
    "trace_id": "db8e1aa389324a16883dbea157e49b28",
    "parent_span_id": "891278887b816a3d",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175693.620849,
    "timestamp": 1779175694.716557,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "140119599614848",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.text": "[\"2 + 2 equals 4.\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.usage.input_tokens": 16,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 24,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "891278887b816a3d",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "bba9a62511806997",
    "trace_id": "db8e1aa389324a16883dbea157e49b28",
    "parent_span_id": "891278887b816a3d",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175694.71672,
    "timestamp": 1779175696.358517,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "140119599614848",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.text": "[\"Germany is a fascinating country with a rich and complex history, a diverse landscape, and a vibrant culture. To give you a more focused answer, could you tell me what specifically about Germany you're interested in?\\n\\nFor example, are you curious about:\\n\\n*   **Its history?** (e.g., its role in World Wars, reunification, the Holy Roman Empire)\\n*   **Its geography and landscape?** (e.g., the Alps, the Black Forest, the Rhine River, its coastline)\\n*   **Its culture and traditions?** (e.g., Oktoberfest, Christmas markets, classical music, philosophy)\\n*   **Its economy and industry?** (e.g., its automotive sector, engineering prowess, renewable energy)\\n*   **Its politics and current affairs?** (e.g., its government, its role in the EU, recent elections)\\n*   **Tourism and travel?** (e.g., popular cities like Berlin, Munich, Hamburg, historical sites, hiking opportunities)\\n*   **The German language?**\\n*   **German people and society?**\\n\\nOnce I have a better idea of what you're looking for, I can provide a more detailed and helpful response!\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.usage.input_tokens": 12,
      "gen_ai.usage.output_tokens": 257,
      "gen_ai.usage.total_tokens": 269,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "891278887b816a3d",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "97322d64b92baf96",
    "trace_id": "db8e1aa389324a16883dbea157e49b28",
    "parent_span_id": "891278887b816a3d",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175696.358703,
    "timestamp": 1779175697.185687,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "140119599614848",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.response.streaming": true,
      "gen_ai.response.text": "[\"That's a great question!  Let's figure out 3 + 3 together.\\n\\nImagine you have 3 apples in one hand, and then someone gives you 3 more apples. How many apples do you have in total?\\n\\nYou can count them:\\n1, 2, 3 (from the first hand)\\n4, 5, 6 (from the second hand)\\n\\nSo, 3 + 3 equals **6**.\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.usage.input_tokens": 16,
      "gen_ai.usage.output_tokens": 94,
      "gen_ai.usage.total_tokens": 110,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "891278887b816a3d",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/google-genai :: Conversation ID LLM Test (async, blocking)❗︎ 124842ms
checkAISpanCount(4)
checkChatSpanAttributes
a7b82d31gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a7b82d31gen_ai.output.messagesMissing output messages attribute
bfbe2526gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bfbe2526gen_ai.output.messagesMissing output messages attribute
b0c6f90agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b0c6f90agen_ai.output.messagesMissing output messages attribute
b7f70370gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b7f70370gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (9)
[
  {
    "trace_id": "0b089c9838e54790a142a36f4817fd32",
    "span_id": "a063439d6c62d5bd",
    "parent_span_id": "a7b82d316ba87ed2",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "start_timestamp": "2026-05-19T07:28:14.170012Z",
    "timestamp": "2026-05-19T07:28:19.864691Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139819289049984",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 33,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "0b089c9838e54790a142a36f4817fd32",
    "span_id": "b12e2082d59b02f0",
    "parent_span_id": "bfbe252620cfa134",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "start_timestamp": "2026-05-19T07:28:19.876673Z",
    "timestamp": "2026-05-19T07:28:28.506140Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139819289049984",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 50,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "0b089c9838e54790a142a36f4817fd32",
    "span_id": "aec26369fdbeeda5",
    "parent_span_id": "b0c6f90a5a7d87c3",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "start_timestamp": "2026-05-19T07:28:28.514912Z",
    "timestamp": "2026-05-19T07:28:30.331192Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139819289049984",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 67,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "0b089c9838e54790a142a36f4817fd32",
    "span_id": "b24e06fdab1fbcca",
    "parent_span_id": "b7f70370bc028769",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
    "start_timestamp": "2026-05-19T07:28:30.334773Z",
    "timestamp": "2026-05-19T07:28:35.338071Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139819289049984",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:generateContent",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 84,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "a4475cc8aa44bc94",
    "trace_id": "0b089c9838e54790a142a36f4817fd32",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:28:14.160401Z",
    "timestamp": "2026-05-19T07:28:35.349164Z",
    "data": {
      "thread.id": "139819289049984",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "a7b82d316ba87ed2",
    "trace_id": "0b089c9838e54790a142a36f4817fd32",
    "parent_span_id": "a4475cc8aa44bc94",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175694.165047,
    "timestamp": 1779175699.874974,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "139819289049984",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.text": "[\"The capital of France is **Paris**.\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.response.id": "DhEMatOyEMKf1MkPwtTOwA0",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 15,
      "gen_ai.usage.output_tokens": 8,
      "gen_ai.usage.total_tokens": 23,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "a4475cc8aa44bc94",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "bfbe252620cfa134",
    "trace_id": "0b089c9838e54790a142a36f4817fd32",
    "parent_span_id": "a4475cc8aa44bc94",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175699.875232,
    "timestamp": 1779175708.507208,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "139819289049984",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.response.text": "[\"2 + 2 = 4.\\n\\nThat's a fundamental addition problem! Is there anything else you'd like to know or practice with? We could try:\\n\\n*   **Slightly harder addition problems?**\\n*   **Subtraction?**\\n*   **Multiplication?**\\n*   **Or maybe something else entirely?**\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.response.id": "ExEMaom9Ovmg1MkP0p-GoA0",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 16,
      "gen_ai.usage.output_tokens": 73,
      "gen_ai.usage.total_tokens": 89,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "a4475cc8aa44bc94",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b0c6f90a5a7d87c3",
    "trace_id": "0b089c9838e54790a142a36f4817fd32",
    "parent_span_id": "a4475cc8aa44bc94",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175708.507373,
    "timestamp": 1779175710.332181,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "139819289049984",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.response.text": "[\"Germany is a fascinating country with a rich history, diverse culture, and a strong economy. To give you the best information, could you tell me what specifically about Germany you're interested in? For example, are you curious about:\\n\\n**General Information:**\\n*   Its geography and landscape?\\n*   Its population and major cities?\\n*   Its government and political system?\\n*   Its economy and industries?\\n\\n**History:**\\n*   Its history, perhaps a specific era like the Holy Roman Empire, Prussia, the World Wars, or reunification?\\n*   Famous historical figures?\\n\\n**Culture:**\\n*   Its art, music, literature, or philosophy?\\n*   Its food and traditions?\\n*   Its languages or dialects?\\n*   Its sports scene?\\n\\n**Travel and Tourism:**\\n*   Popular tourist destinations?\\n*   Things to do or see?\\n*   Travel tips?\\n\\n**Current Events or Society:**\\n*   Its role in the European Union?\\n*   Its current social issues or trends?\\n\\nOnce I have a better idea of what you're looking for, I can provide you with more specific and helpful information!\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.response.id": "HBEMap-TJOuW1MkPx6WKmQ0",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 12,
      "gen_ai.usage.output_tokens": 243,
      "gen_ai.usage.total_tokens": 255,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "a4475cc8aa44bc94",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b7f70370bc028769",
    "trace_id": "0b089c9838e54790a142a36f4817fd32",
    "parent_span_id": "a4475cc8aa44bc94",
    "op": "gen_ai.chat",
    "description": "chat gemini-2.5-flash-lite",
    "start_timestamp": 1779175710.332337,
    "timestamp": 1779175715.338935,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.google_genai",
      "thread.id": "139819289049984",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.system": "gcp.gemini",
      "gen_ai.request.model": "gemini-2.5-flash-lite",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.response.text": "[\"3 + 3 is equal to **6**.\\n\\nWould you like to try another math problem? \\ud83d\\ude0a\"]",
      "gen_ai.response.finish_reasons": "STOP",
      "gen_ai.response.id": "HhEMaryBGbmm1MkPq_Gp8Qw",
      "gen_ai.response.model": "gemini-2.5-flash-lite",
      "gen_ai.usage.input_tokens": 16,
      "gen_ai.usage.output_tokens": 21,
      "gen_ai.usage.total_tokens": 37,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "a4475cc8aa44bc94",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Basic LLM Test (sync, streaming, openai)❗︎ 19061ms
checkAISpanCount(1)
checkChatSpanAttributes
bc5fb298gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bc5fb298gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "26f7f5a7b4fd43fd854dd6766de0b5ae",
    "span_id": "a4a98cbc4afa453f",
    "parent_span_id": "bc5fb2988bc12f1b",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:17.243789Z",
    "timestamp": "2026-05-19T07:28:17.245406Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20611
    },
    "data": {
      "thread.id": "139754730044288",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "26f7f5a7b4fd43fd854dd6766de0b5ae",
    "span_id": "93252d5fe9ae4bb6",
    "parent_span_id": "bc5fb2988bc12f1b",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:17.245499Z",
    "timestamp": "2026-05-19T07:28:17.246709Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20611
    },
    "data": {
      "thread.id": "139754730044288",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "26f7f5a7b4fd43fd854dd6766de0b5ae",
    "span_id": "858993111cdc72cb",
    "parent_span_id": "93252d5fe9ae4bb6",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:17.246479Z",
    "timestamp": "2026-05-19T07:28:17.246695Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20611
    },
    "data": {
      "thread.id": "139754730044288",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "26f7f5a7b4fd43fd854dd6766de0b5ae",
    "span_id": "b3108d8b14443a83",
    "parent_span_id": "bc5fb2988bc12f1b",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:17.246753Z",
    "timestamp": "2026-05-19T07:28:17.246773Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20611
    },
    "data": {
      "thread.id": "139754730044288",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "26f7f5a7b4fd43fd854dd6766de0b5ae",
    "span_id": "a5f279952eae14dd",
    "parent_span_id": "bc5fb2988bc12f1b",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:28:17.248086Z",
    "timestamp": "2026-05-19T07:28:18.452530Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139754730044288",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 31,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-sync-streaming-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "b528e1f2cb13d4e4",
    "trace_id": "26f7f5a7b4fd43fd854dd6766de0b5ae",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:28:17.236580Z",
    "timestamp": "2026-05-19T07:28:18.499919Z",
    "data": {
      "thread.id": "139754730044288",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "bc5fb2988bc12f1b",
    "trace_id": "26f7f5a7b4fd43fd854dd6766de0b5ae",
    "parent_span_id": "b528e1f2cb13d4e4",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175697.239756,
    "timestamp": 1779175698.499813,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139754730044288",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "Paris.",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 75,
      "gen_ai.usage.total_tokens": 98,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "b528e1f2cb13d4e4",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Basic LLM Test (sync, streaming, anthropic)❗︎ 18919ms
checkAISpanCount(1)
checkChatSpanAttributes
8568590fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8568590fgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "0ad0604ead9d4135a8641fd0b8d78a27",
    "span_id": "87fb97805b867fbb",
    "parent_span_id": "8568590fc5096869",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:18.770856Z",
    "timestamp": "2026-05-19T07:28:18.772975Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20617
    },
    "data": {
      "thread.id": "139686761753472",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "0ad0604ead9d4135a8641fd0b8d78a27",
    "span_id": "a09350e921deb427",
    "parent_span_id": "8568590fc5096869",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:18.773072Z",
    "timestamp": "2026-05-19T07:28:18.776340Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20617
    },
    "data": {
      "thread.id": "139686761753472",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "0ad0604ead9d4135a8641fd0b8d78a27",
    "span_id": "b674341168dee330",
    "parent_span_id": "a09350e921deb427",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:18.776278Z",
    "timestamp": "2026-05-19T07:28:18.776326Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20617
    },
    "data": {
      "thread.id": "139686761753472",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "0ad0604ead9d4135a8641fd0b8d78a27",
    "span_id": "bcc448775b1527ca",
    "parent_span_id": "8568590fc5096869",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:18.776384Z",
    "timestamp": "2026-05-19T07:28:18.776400Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20617
    },
    "data": {
      "thread.id": "139686761753472",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "0ad0604ead9d4135a8641fd0b8d78a27",
    "span_id": "a7fa3da3454fccba",
    "parent_span_id": "8568590fc5096869",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:18.777918Z",
    "timestamp": "2026-05-19T07:28:19.195321Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139686761753472",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 31,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-sync-streaming-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "9b743246a8020cc6",
    "trace_id": "0ad0604ead9d4135a8641fd0b8d78a27",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:28:18.694491Z",
    "timestamp": "2026-05-19T07:28:19.246174Z",
    "data": {
      "thread.id": "139686761753472",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "8568590fc5096869",
    "trace_id": "0ad0604ead9d4135a8641fd0b8d78a27",
    "parent_span_id": "9b743246a8020cc6",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175698.705525,
    "timestamp": 1779175699.246097,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139686761753472",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "9b743246a8020cc6",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Basic LLM Test (sync, blocking, openai)❗︎ 110715ms
checkAISpanCount(1)
checkChatSpanAttributes
ae373984gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ae373984gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "4e982223605a4622abf59de033b2de25",
    "span_id": "9fcba5d9381b571f",
    "parent_span_id": "ae373984ff607a1d",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:19.744632Z",
    "timestamp": "2026-05-19T07:28:19.749217Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20623
    },
    "data": {
      "thread.id": "140178340375424",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "4e982223605a4622abf59de033b2de25",
    "span_id": "becbc695b97f85b6",
    "parent_span_id": "ae373984ff607a1d",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:19.749338Z",
    "timestamp": "2026-05-19T07:28:19.757377Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20623
    },
    "data": {
      "thread.id": "140178340375424",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "4e982223605a4622abf59de033b2de25",
    "span_id": "b3dc90784763934b",
    "parent_span_id": "becbc695b97f85b6",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:19.757284Z",
    "timestamp": "2026-05-19T07:28:19.757352Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20623
    },
    "data": {
      "thread.id": "140178340375424",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "4e982223605a4622abf59de033b2de25",
    "span_id": "a2cc945e8e70d845",
    "parent_span_id": "ae373984ff607a1d",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:19.757427Z",
    "timestamp": "2026-05-19T07:28:19.757444Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20623
    },
    "data": {
      "thread.id": "140178340375424",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "4e982223605a4622abf59de033b2de25",
    "span_id": "b7bbaf02f9460130",
    "parent_span_id": "ae373984ff607a1d",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:28:19.759009Z",
    "timestamp": "2026-05-19T07:28:22.202022Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140178340375424",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-sync-blocking-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "8039dff51524f803",
    "trace_id": "4e982223605a4622abf59de033b2de25",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:28:19.728159Z",
    "timestamp": "2026-05-19T07:28:22.238911Z",
    "data": {
      "thread.id": "140178340375424",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "ae373984ff607a1d",
    "trace_id": "4e982223605a4622abf59de033b2de25",
    "parent_span_id": "8039dff51524f803",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175699.732832,
    "timestamp": 1779175702.238768,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140178340375424",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "Paris.",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 139,
      "gen_ai.usage.total_tokens": 162,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "8039dff51524f803",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Basic LLM Test (sync, blocking, anthropic)❗︎ 1 17986ms
checkAISpanCount(1)
checkChatSpanAttributes
88ab46c5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
88ab46c5gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
88ab46c5gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "a6e1e757d0884afcb766b88340c864fd",
    "span_id": "a398f9dd23eafce0",
    "parent_span_id": "88ab46c500235ff2",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:19.233758Z",
    "timestamp": "2026-05-19T07:28:19.238994Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20620
    },
    "data": {
      "thread.id": "139858074209152",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "a6e1e757d0884afcb766b88340c864fd",
    "span_id": "a7cf875962e8bdd5",
    "parent_span_id": "88ab46c500235ff2",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:19.239113Z",
    "timestamp": "2026-05-19T07:28:19.242338Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20620
    },
    "data": {
      "thread.id": "139858074209152",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "a6e1e757d0884afcb766b88340c864fd",
    "span_id": "be5b5e1322bba164",
    "parent_span_id": "a7cf875962e8bdd5",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:19.242261Z",
    "timestamp": "2026-05-19T07:28:19.242318Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20620
    },
    "data": {
      "thread.id": "139858074209152",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "a6e1e757d0884afcb766b88340c864fd",
    "span_id": "9fe89240fbae81f9",
    "parent_span_id": "88ab46c500235ff2",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:19.242383Z",
    "timestamp": "2026-05-19T07:28:19.242400Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20620
    },
    "data": {
      "thread.id": "139858074209152",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "a6e1e757d0884afcb766b88340c864fd",
    "span_id": "a05d121d8a3617a1",
    "parent_span_id": "88ab46c500235ff2",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:19.243901Z",
    "timestamp": "2026-05-19T07:28:19.768095Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139858074209152",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-sync-blocking-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "9d0528fa8ef9c5f9",
    "trace_id": "a6e1e757d0884afcb766b88340c864fd",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:28:19.160008Z",
    "timestamp": "2026-05-19T07:28:19.904776Z",
    "data": {
      "thread.id": "139858074209152",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "88ab46c500235ff2",
    "trace_id": "a6e1e757d0884afcb766b88340c864fd",
    "parent_span_id": "9d0528fa8ef9c5f9",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175699.168017,
    "timestamp": 1779175699.904668,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139858074209152",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "9d0528fa8ef9c5f9",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Basic LLM Test (async, streaming, openai)❗︎ 19354ms
checkAISpanCount(1)
checkChatSpanAttributes
a08fee07gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a08fee07gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "40bbe5ef4eae4d4ca537f24dd4c72e12",
    "span_id": "bb30b6dbad1971e9",
    "parent_span_id": "a08fee0730345bda",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:19.898969Z",
    "timestamp": "2026-05-19T07:28:19.901704Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20627
    },
    "data": {
      "thread.id": "139742713325248",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "40bbe5ef4eae4d4ca537f24dd4c72e12",
    "span_id": "96a2c4b8e728047d",
    "parent_span_id": "a08fee0730345bda",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:19.901793Z",
    "timestamp": "2026-05-19T07:28:19.901962Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20627
    },
    "data": {
      "thread.id": "139742713325248",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "40bbe5ef4eae4d4ca537f24dd4c72e12",
    "span_id": "b6be9f5145375a4a",
    "parent_span_id": "96a2c4b8e728047d",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:19.901913Z",
    "timestamp": "2026-05-19T07:28:19.901952Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20627
    },
    "data": {
      "thread.id": "139742713325248",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "40bbe5ef4eae4d4ca537f24dd4c72e12",
    "span_id": "aeeb7ebfb9d14d59",
    "parent_span_id": "a08fee0730345bda",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:19.902002Z",
    "timestamp": "2026-05-19T07:28:19.902017Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20627
    },
    "data": {
      "thread.id": "139742713325248",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "40bbe5ef4eae4d4ca537f24dd4c72e12",
    "span_id": "ade704584556d2a0",
    "parent_span_id": "a08fee0730345bda",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:28:19.903624Z",
    "timestamp": "2026-05-19T07:28:21.005631Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139742827207552",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 32,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-async-streaming-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "b119b071cbd24822",
    "trace_id": "40bbe5ef4eae4d4ca537f24dd4c72e12",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:28:19.886626Z",
    "timestamp": "2026-05-19T07:28:21.062467Z",
    "data": {
      "thread.id": "139742827207552",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "a08fee0730345bda",
    "trace_id": "40bbe5ef4eae4d4ca537f24dd4c72e12",
    "parent_span_id": "b119b071cbd24822",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175699.893525,
    "timestamp": 1779175701.061092,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139742713325248",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "Paris.",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 75,
      "gen_ai.usage.total_tokens": 98,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "b119b071cbd24822",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Basic LLM Test (async, streaming, anthropic)❗︎ 19780ms
checkAISpanCount(1)
checkChatSpanAttributes
a831324cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a831324cgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "05f634c8dc114e5ab67bbeac249cc708",
    "span_id": "9f38526f53d09de0",
    "parent_span_id": "a831324c467952d7",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:20.678530Z",
    "timestamp": "2026-05-19T07:28:20.681342Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20632
    },
    "data": {
      "thread.id": "139978590906048",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "05f634c8dc114e5ab67bbeac249cc708",
    "span_id": "88e7697f907c15ea",
    "parent_span_id": "a831324c467952d7",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:20.681445Z",
    "timestamp": "2026-05-19T07:28:20.682406Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20632
    },
    "data": {
      "thread.id": "139978590906048",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "05f634c8dc114e5ab67bbeac249cc708",
    "span_id": "a74c32ac9c96c21e",
    "parent_span_id": "88e7697f907c15ea",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:20.682306Z",
    "timestamp": "2026-05-19T07:28:20.682395Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20632
    },
    "data": {
      "thread.id": "139978590906048",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "05f634c8dc114e5ab67bbeac249cc708",
    "span_id": "ba43988d807743be",
    "parent_span_id": "a831324c467952d7",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:20.682441Z",
    "timestamp": "2026-05-19T07:28:20.682454Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20632
    },
    "data": {
      "thread.id": "139978590906048",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "05f634c8dc114e5ab67bbeac249cc708",
    "span_id": "80e263d9bd126188",
    "parent_span_id": "a831324c467952d7",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:20.684022Z",
    "timestamp": "2026-05-19T07:28:21.378675Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139978705931136",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 32,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-async-streaming-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "b83d8d591f5e7cf2",
    "trace_id": "05f634c8dc114e5ab67bbeac249cc708",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:28:20.598036Z",
    "timestamp": "2026-05-19T07:28:21.442595Z",
    "data": {
      "thread.id": "139978705931136",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "a831324c467952d7",
    "trace_id": "05f634c8dc114e5ab67bbeac249cc708",
    "parent_span_id": "b83d8d591f5e7cf2",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175700.610225,
    "timestamp": 1779175701.441392,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139978590906048",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "b83d8d591f5e7cf2",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Basic LLM Test (async, blocking, openai)❗︎ 111073ms
checkAISpanCount(1)
checkChatSpanAttributes
bfe959c9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bfe959c9gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "13754b5e13e34063aec8b4baa6be4df5",
    "span_id": "a3631398ad6e2e7a",
    "parent_span_id": "bfe959c9480cdf8a",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:20.710100Z",
    "timestamp": "2026-05-19T07:28:20.712973Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20635
    },
    "data": {
      "thread.id": "140270741595840",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "13754b5e13e34063aec8b4baa6be4df5",
    "span_id": "9223c88af3719ac9",
    "parent_span_id": "bfe959c9480cdf8a",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:20.713061Z",
    "timestamp": "2026-05-19T07:28:20.714489Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20635
    },
    "data": {
      "thread.id": "140270741595840",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "13754b5e13e34063aec8b4baa6be4df5",
    "span_id": "880c4818fad714a0",
    "parent_span_id": "9223c88af3719ac9",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:20.714286Z",
    "timestamp": "2026-05-19T07:28:20.714479Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20635
    },
    "data": {
      "thread.id": "140270741595840",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "13754b5e13e34063aec8b4baa6be4df5",
    "span_id": "be24c1985377e43b",
    "parent_span_id": "bfe959c9480cdf8a",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:20.714526Z",
    "timestamp": "2026-05-19T07:28:20.714541Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20635
    },
    "data": {
      "thread.id": "140270741595840",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "13754b5e13e34063aec8b4baa6be4df5",
    "span_id": "b95207316d394c29",
    "parent_span_id": "bfe959c9480cdf8a",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:28:20.718759Z",
    "timestamp": "2026-05-19T07:28:23.153278Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140270854638464",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 36,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-async-blocking-openai.py",
      "code.function": "<module>"
    }
  },
  {
    "span_id": "82cdd8a95aa8af7a",
    "trace_id": "13754b5e13e34063aec8b4baa6be4df5",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:28:20.694472Z",
    "timestamp": "2026-05-19T07:28:23.200204Z",
    "data": {
      "thread.id": "140270854638464",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "bfe959c9480cdf8a",
    "trace_id": "13754b5e13e34063aec8b4baa6be4df5",
    "parent_span_id": "82cdd8a95aa8af7a",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175700.699715,
    "timestamp": 1779175703.182131,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140270741595840",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "Paris.",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 267,
      "gen_ai.usage.total_tokens": 290,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "82cdd8a95aa8af7a",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Basic LLM Test (async, blocking, anthropic)❗︎ 1 110014ms
checkAISpanCount(1)
checkChatSpanAttributes
84b5b96agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
84b5b96agen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
84b5b96agen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "773cde96839d488a88377262b08ccbc3",
    "span_id": "82cdfa90d622d6e1",
    "parent_span_id": "84b5b96a189ff794",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:22.648126Z",
    "timestamp": "2026-05-19T07:28:22.656021Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20653
    },
    "data": {
      "thread.id": "140222790624960",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "773cde96839d488a88377262b08ccbc3",
    "span_id": "92d671203e7e8a60",
    "parent_span_id": "84b5b96a189ff794",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:22.656165Z",
    "timestamp": "2026-05-19T07:28:22.656334Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20653
    },
    "data": {
      "thread.id": "140222790624960",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "773cde96839d488a88377262b08ccbc3",
    "span_id": "98cefd0fb22bcf02",
    "parent_span_id": "92d671203e7e8a60",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:22.656286Z",
    "timestamp": "2026-05-19T07:28:22.656326Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20653
    },
    "data": {
      "thread.id": "140222790624960",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "773cde96839d488a88377262b08ccbc3",
    "span_id": "9a264fb30ccdfc24",
    "parent_span_id": "84b5b96a189ff794",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:22.656370Z",
    "timestamp": "2026-05-19T07:28:22.656383Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20653
    },
    "data": {
      "thread.id": "140222790624960",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "773cde96839d488a88377262b08ccbc3",
    "span_id": "b024f6f632947ec4",
    "parent_span_id": "84b5b96a189ff794",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:22.658244Z",
    "timestamp": "2026-05-19T07:28:23.427145Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140222904470400",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 36,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-async-blocking-anthropic.py",
      "code.function": "<module>"
    }
  },
  {
    "span_id": "9f3c6710ab579f51",
    "trace_id": "773cde96839d488a88377262b08ccbc3",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:28:22.517611Z",
    "timestamp": "2026-05-19T07:28:23.549304Z",
    "data": {
      "thread.id": "140222904470400",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "84b5b96a189ff794",
    "trace_id": "773cde96839d488a88377262b08ccbc3",
    "parent_span_id": "9f3c6710ab579f51",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175702.545412,
    "timestamp": 1779175703.543046,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140222790624960",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "9f3c6710ab579f51",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Multi-Turn LLM Test (sync, streaming, openai)❗︎ 119723ms
checkAISpanCount(3)
checkChatSpanAttributes
9588c06egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9588c06egen_ai.output.messagesMissing output messages attribute
83f866b4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
83f866b4gen_ai.output.messagesMissing output messages attribute
9f4baf8fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9f4baf8fgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (11)
[
  {
    "trace_id": "db801c65f6ad4626a165a2fd2eab39cd",
    "span_id": "9af705b6f959b964",
    "parent_span_id": "9588c06ebdf141e1",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:22.623254Z",
    "timestamp": "2026-05-19T07:28:22.629492Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20652
    },
    "data": {
      "thread.id": "140157532765056",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "db801c65f6ad4626a165a2fd2eab39cd",
    "span_id": "bd29b45ccfe38626",
    "parent_span_id": "9588c06ebdf141e1",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:22.629617Z",
    "timestamp": "2026-05-19T07:28:22.629780Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20652
    },
    "data": {
      "thread.id": "140157532765056",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "db801c65f6ad4626a165a2fd2eab39cd",
    "span_id": "a696f8c3949ba2e0",
    "parent_span_id": "bd29b45ccfe38626",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:22.629732Z",
    "timestamp": "2026-05-19T07:28:22.629771Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20652
    },
    "data": {
      "thread.id": "140157532765056",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "db801c65f6ad4626a165a2fd2eab39cd",
    "span_id": "a6770a8c3e984c8a",
    "parent_span_id": "9588c06ebdf141e1",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:22.629818Z",
    "timestamp": "2026-05-19T07:28:22.629832Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20652
    },
    "data": {
      "thread.id": "140157532765056",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "db801c65f6ad4626a165a2fd2eab39cd",
    "span_id": "b6dc2f8bc7a11a80",
    "parent_span_id": "9588c06ebdf141e1",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:28:22.631312Z",
    "timestamp": "2026-05-19T07:28:23.898169Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140157532765056",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 31,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-streaming-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "db801c65f6ad4626a165a2fd2eab39cd",
    "span_id": "9830a23a80af59bc",
    "parent_span_id": "83f866b41eb17e35",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:28:23.968622Z",
    "timestamp": "2026-05-19T07:28:30.076702Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140157532765056",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 44,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-streaming-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "db801c65f6ad4626a165a2fd2eab39cd",
    "span_id": "ada691e2a8b44c08",
    "parent_span_id": "9f4baf8fed6f84c2",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:28:30.420218Z",
    "timestamp": "2026-05-19T07:28:36.087727Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140157532765056",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 59,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-streaming-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "b2e8d0364526f351",
    "trace_id": "db801c65f6ad4626a165a2fd2eab39cd",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:28:22.610238Z",
    "timestamp": "2026-05-19T07:28:36.330167Z",
    "data": {
      "thread.id": "140157532765056",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "9588c06ebdf141e1",
    "trace_id": "db801c65f6ad4626a165a2fd2eab39cd",
    "parent_span_id": "b2e8d0364526f351",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175702.61319,
    "timestamp": 1779175703.946814,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140157532765056",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 144,
      "gen_ai.usage.total_tokens": 167,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "b2e8d0364526f351",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "83f866b41eb17e35",
    "trace_id": "db801c65f6ad4626a165a2fd2eab39cd",
    "parent_span_id": "b2e8d0364526f351",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175703.956514,
    "timestamp": 1779175710.413345,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140157532765056",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "Paris (city proper) has about 2.1 million residents. The wider Paris metropolitan area (Île-de-France) has roughly 12 million people. If you want the exact latest figure for a specific definition (city proper vs. metro area) and year, I can provide that.",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 1092,
      "gen_ai.usage.total_tokens": 1140,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "b2e8d0364526f351",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9f4baf8fed6f84c2",
    "trace_id": "db801c65f6ad4626a165a2fd2eab39cd",
    "parent_span_id": "b2e8d0364526f351",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175710.413908,
    "timestamp": 1779175716.329963,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140157532765056",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}, {\"role\": \"assistant\", \"content\": \"Paris has a population of approximately 2.2 million people in the city proper.\"}, {\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "Definitions vary, so numbers differ by source and year. Here are the common figures:\n\n- Paris city proper: about 2.2 million people.\n- Paris metropolitan area (aire urbaine / Greater Paris): roughly 12–13 million.\n- Métropole du Grand Paris (the intercommunal authority around Paris): about 7 million.\n\nIf you want precise values for a specific year and definition, tell me which one you need and I’ll pull the latest figures.",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 1769,
      "gen_ai.usage.total_tokens": 1850,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "b2e8d0364526f351",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Multi-Turn LLM Test (sync, streaming, anthropic)❗︎ 19609ms
checkAISpanCount(3)
checkChatSpanAttributes
b56ee2ecgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b56ee2ecgen_ai.output.messagesMissing output messages attribute
a9faff2dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a9faff2dgen_ai.output.messagesMissing output messages attribute
94df5cc7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
94df5cc7gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (11)
[
  {
    "trace_id": "b0a0aabeea28448eb92cc89ae4cac3c0",
    "span_id": "97b927bcb76f88df",
    "parent_span_id": "b56ee2ec30d5c53e",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:25.964229Z",
    "timestamp": "2026-05-19T07:28:25.968783Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20678
    },
    "data": {
      "thread.id": "140070947810176",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "b0a0aabeea28448eb92cc89ae4cac3c0",
    "span_id": "ac455907f2cfe66e",
    "parent_span_id": "b56ee2ec30d5c53e",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:25.968914Z",
    "timestamp": "2026-05-19T07:28:25.972229Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20678
    },
    "data": {
      "thread.id": "140070947810176",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "b0a0aabeea28448eb92cc89ae4cac3c0",
    "span_id": "80f132c069b33541",
    "parent_span_id": "ac455907f2cfe66e",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:25.972170Z",
    "timestamp": "2026-05-19T07:28:25.972215Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20678
    },
    "data": {
      "thread.id": "140070947810176",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "b0a0aabeea28448eb92cc89ae4cac3c0",
    "span_id": "a00ea94c0484201e",
    "parent_span_id": "b56ee2ec30d5c53e",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:25.972272Z",
    "timestamp": "2026-05-19T07:28:25.972287Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20678
    },
    "data": {
      "thread.id": "140070947810176",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "b0a0aabeea28448eb92cc89ae4cac3c0",
    "span_id": "8abe696c659397d7",
    "parent_span_id": "b56ee2ec30d5c53e",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:25.973689Z",
    "timestamp": "2026-05-19T07:28:27.098589Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140070947810176",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 31,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-streaming-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "b0a0aabeea28448eb92cc89ae4cac3c0",
    "span_id": "a39779fb1664fd0f",
    "parent_span_id": "a9faff2d1f7e2058",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:27.163753Z",
    "timestamp": "2026-05-19T07:28:27.594632Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140070947810176",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 44,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-streaming-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "b0a0aabeea28448eb92cc89ae4cac3c0",
    "span_id": "8a04d4b6e896fc98",
    "parent_span_id": "94df5cc7adbf7b07",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:28.181593Z",
    "timestamp": "2026-05-19T07:28:28.575619Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140070947810176",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 59,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-streaming-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "b23a5e4fe0417c2c",
    "trace_id": "b0a0aabeea28448eb92cc89ae4cac3c0",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:28:25.869327Z",
    "timestamp": "2026-05-19T07:28:28.844823Z",
    "data": {
      "thread.id": "140070947810176",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b56ee2ec30d5c53e",
    "trace_id": "b0a0aabeea28448eb92cc89ae4cac3c0",
    "parent_span_id": "b23a5e4fe0417c2c",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175705.88857,
    "timestamp": 1779175707.158505,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140070947810176",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "b23a5e4fe0417c2c",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a9faff2d1f7e2058",
    "trace_id": "b0a0aabeea28448eb92cc89ae4cac3c0",
    "parent_span_id": "b23a5e4fe0417c2c",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175707.158967,
    "timestamp": 1779175708.177462,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140070947810176",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "Paris has a population of approximately 2.1-2.2 million people within the city proper (as of recent data). However, if you include the greater Paris metropolitan area (Île-de-France), the population is much larger at around 12 million people, making it one of Europe's largest metropolitan areas.",
      "gen_ai.usage.input_tokens": 41,
      "gen_ai.usage.output_tokens": 71,
      "gen_ai.usage.total_tokens": 112,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "b23a5e4fe0417c2c",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "94df5cc7adbf7b07",
    "trace_id": "b0a0aabeea28448eb92cc89ae4cac3c0",
    "parent_span_id": "b23a5e4fe0417c2c",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175708.177858,
    "timestamp": 1779175708.844747,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140070947810176",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}, {\"role\": \"assistant\", \"content\": \"Paris has a population of approximately 2.2 million people in the city proper.\"}, {\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "The Paris metropolitan area (Île-de-France region) has a population of approximately 12 million people, making it one of the largest metropolitan areas in Europe.",
      "gen_ai.usage.input_tokens": 71,
      "gen_ai.usage.output_tokens": 38,
      "gen_ai.usage.total_tokens": 109,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "b23a5e4fe0417c2c",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Multi-Turn LLM Test (sync, blocking, openai)❗︎ 123243ms
checkAISpanCount(3)
checkChatSpanAttributes
bd358c90gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bd358c90gen_ai.output.messagesMissing output messages attribute
82079c1egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
82079c1egen_ai.output.messagesMissing output messages attribute
a2c0d840gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a2c0d840gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (11)
[
  {
    "trace_id": "998bbcebcda74fc3ac3c63568c87b4b0",
    "span_id": "9e021966bb5dbb13",
    "parent_span_id": "bd358c900e3aa07a",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:28.067830Z",
    "timestamp": "2026-05-19T07:28:28.078044Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20684
    },
    "data": {
      "thread.id": "140006921296768",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "998bbcebcda74fc3ac3c63568c87b4b0",
    "span_id": "af27e361c6822a2a",
    "parent_span_id": "bd358c900e3aa07a",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:28.078174Z",
    "timestamp": "2026-05-19T07:28:28.078347Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20684
    },
    "data": {
      "thread.id": "140006921296768",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "998bbcebcda74fc3ac3c63568c87b4b0",
    "span_id": "bc7fc6bbc7c4af12",
    "parent_span_id": "af27e361c6822a2a",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:28.078289Z",
    "timestamp": "2026-05-19T07:28:28.078336Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20684
    },
    "data": {
      "thread.id": "140006921296768",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "998bbcebcda74fc3ac3c63568c87b4b0",
    "span_id": "bb96b50ea744c6ae",
    "parent_span_id": "bd358c900e3aa07a",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:28.078387Z",
    "timestamp": "2026-05-19T07:28:28.078401Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20684
    },
    "data": {
      "thread.id": "140006921296768",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "998bbcebcda74fc3ac3c63568c87b4b0",
    "span_id": "b5f0c2201bce4a20",
    "parent_span_id": "bd358c900e3aa07a",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:28:28.079895Z",
    "timestamp": "2026-05-19T07:28:28.853017Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140006921296768",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-blocking-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "998bbcebcda74fc3ac3c63568c87b4b0",
    "span_id": "a6e7587cba2112fc",
    "parent_span_id": "82079c1e92b3d0a7",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:28:28.901664Z",
    "timestamp": "2026-05-19T07:28:36.106176Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140006921296768",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 40,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-blocking-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "998bbcebcda74fc3ac3c63568c87b4b0",
    "span_id": "9458f19757d01938",
    "parent_span_id": "a2c0d8409a54ba2d",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:28:36.117386Z",
    "timestamp": "2026-05-19T07:28:41.741007Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140006921296768",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 52,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-blocking-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "a26f5d1203631567",
    "trace_id": "998bbcebcda74fc3ac3c63568c87b4b0",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:28:28.040995Z",
    "timestamp": "2026-05-19T07:28:41.742111Z",
    "data": {
      "thread.id": "140006921296768",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "bd358c900e3aa07a",
    "trace_id": "998bbcebcda74fc3ac3c63568c87b4b0",
    "parent_span_id": "a26f5d1203631567",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175708.049619,
    "timestamp": 1779175708.89207,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140006921296768",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "Paris.",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 75,
      "gen_ai.usage.total_tokens": 98,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "a26f5d1203631567",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "82079c1e92b3d0a7",
    "trace_id": "998bbcebcda74fc3ac3c63568c87b4b0",
    "parent_span_id": "a26f5d1203631567",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175708.892588,
    "timestamp": 1779175716.107339,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140006921296768",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "- City proper (Paris, the commune): about 2.1 million residents.\n- Paris metropolitan/urban area (aire urbaine): around 12 million.\n- Île-de-France region (greater Paris region): about 12–13 million.\n\nIf you tell me which measure and year you want, I can give a more precise figure.",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 1168,
      "gen_ai.usage.total_tokens": 1216,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "a26f5d1203631567",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a2c0d8409a54ba2d",
    "trace_id": "998bbcebcda74fc3ac3c63568c87b4b0",
    "parent_span_id": "a26f5d1203631567",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175716.107771,
    "timestamp": 1779175721.742015,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140006921296768",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}, {\"role\": \"assistant\", \"content\": \"Paris has a population of approximately 2.2 million people in the city proper.\"}, {\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "It depends on the definition:\n\n- Île-de-France (the wider Paris region): about 12.3 million people (early 2020s).\n- Paris urban area (aire urbaine de Paris, the built-up area): around 12 million people.\n- City proper (not asked, but for context): about 2.2 million.\n\nDefinitions vary, so if you have a specific year or source in mind I can give a more precise figure.",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 1639,
      "gen_ai.usage.total_tokens": 1720,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "a26f5d1203631567",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Multi-Turn LLM Test (sync, blocking, anthropic)❗︎ 1 110783ms
checkAISpanCount(3)
checkChatSpanAttributes
9f4406adgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9f4406adgen_ai.output.messagesMissing output messages attribute
bac92190gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bac92190gen_ai.output.messagesMissing output messages attribute
bdfaeae3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bdfaeae3gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
9f4406adgen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (11)
[
  {
    "trace_id": "c0ad787a851f496dba6295f019133c58",
    "span_id": "af5a9f2833f2fc56",
    "parent_span_id": "9f4406adb97d578f",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:28.034757Z",
    "timestamp": "2026-05-19T07:28:28.040495Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20682
    },
    "data": {
      "thread.id": "140589957090176",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "c0ad787a851f496dba6295f019133c58",
    "span_id": "b498812a489f4791",
    "parent_span_id": "9f4406adb97d578f",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:28.040610Z",
    "timestamp": "2026-05-19T07:28:28.040766Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20682
    },
    "data": {
      "thread.id": "140589957090176",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "c0ad787a851f496dba6295f019133c58",
    "span_id": "8e9ff86a71429d1d",
    "parent_span_id": "b498812a489f4791",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:28.040720Z",
    "timestamp": "2026-05-19T07:28:28.040757Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20682
    },
    "data": {
      "thread.id": "140589957090176",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "c0ad787a851f496dba6295f019133c58",
    "span_id": "a23c0e8e6e19d416",
    "parent_span_id": "9f4406adb97d578f",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:28.040804Z",
    "timestamp": "2026-05-19T07:28:28.040820Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20682
    },
    "data": {
      "thread.id": "140589957090176",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "c0ad787a851f496dba6295f019133c58",
    "span_id": "9960774a5effbc0d",
    "parent_span_id": "9f4406adb97d578f",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:28.042262Z",
    "timestamp": "2026-05-19T07:28:28.647041Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140589957090176",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-blocking-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "c0ad787a851f496dba6295f019133c58",
    "span_id": "8430f52dbb1bdc38",
    "parent_span_id": "bac9219012c014ac",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:28.756415Z",
    "timestamp": "2026-05-19T07:28:30.284164Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140589957090176",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 40,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-blocking-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "c0ad787a851f496dba6295f019133c58",
    "span_id": "9bf27cc240cba159",
    "parent_span_id": "bdfaeae37f0b413f",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:30.290679Z",
    "timestamp": "2026-05-19T07:28:31.101564Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140589957090176",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 52,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-blocking-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "82bafe5654faa045",
    "trace_id": "c0ad787a851f496dba6295f019133c58",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:28:27.948936Z",
    "timestamp": "2026-05-19T07:28:31.102345Z",
    "data": {
      "thread.id": "140589957090176",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "9f4406adb97d578f",
    "trace_id": "c0ad787a851f496dba6295f019133c58",
    "parent_span_id": "82bafe5654faa045",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175707.958611,
    "timestamp": 1779175708.750951,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140589957090176",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "82bafe5654faa045",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "bac9219012c014ac",
    "trace_id": "c0ad787a851f496dba6295f019133c58",
    "parent_span_id": "82bafe5654faa045",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175708.751413,
    "timestamp": 1779175710.285341,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140589957090176",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "Paris has a population of approximately 2.1-2.2 million people within the city proper, making it the largest city in France.\n\nHowever, the greater Paris metropolitan area (Île-de-France region) has a much larger population of around 12 million people, making it one of the largest metropolitan areas in Europe.\n\nThe exact figures can vary depending on the source and how city boundaries are defined, but these are current approximate numbers.",
      "gen_ai.usage.input_tokens": 41,
      "gen_ai.usage.output_tokens": 98,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "82bafe5654faa045",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "bdfaeae37f0b413f",
    "trace_id": "c0ad787a851f496dba6295f019133c58",
    "parent_span_id": "82bafe5654faa045",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175710.285769,
    "timestamp": 1779175711.102279,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140589957090176",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}, {\"role\": \"assistant\", \"content\": \"Paris has a population of approximately 2.2 million people in the city proper.\"}, {\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "The Paris metropolitan area (also called the Île-de-France region) has a population of approximately 12-12.3 million people, making it one of the largest metropolitan areas in Europe.",
      "gen_ai.usage.input_tokens": 71,
      "gen_ai.usage.output_tokens": 45,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "82bafe5654faa045",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Multi-Turn LLM Test (async, streaming, openai)❗︎ 121891ms
checkAISpanCount(3)
checkChatSpanAttributes
af58b46dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
af58b46dgen_ai.output.messagesMissing output messages attribute
9ac3678egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9ac3678egen_ai.output.messagesMissing output messages attribute
9f9ec13fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9f9ec13fgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (11)
[
  {
    "trace_id": "0c94810fb1c44ff2b69adeb118e8229a",
    "span_id": "b9252ce2f023b5fb",
    "parent_span_id": "af58b46d87342eff",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:28.337552Z",
    "timestamp": "2026-05-19T07:28:28.341231Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20687
    },
    "data": {
      "thread.id": "139837155833536",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "0c94810fb1c44ff2b69adeb118e8229a",
    "span_id": "836a699e4ef3b091",
    "parent_span_id": "af58b46d87342eff",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:28.341330Z",
    "timestamp": "2026-05-19T07:28:28.344342Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20687
    },
    "data": {
      "thread.id": "139837155833536",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "0c94810fb1c44ff2b69adeb118e8229a",
    "span_id": "90948dd71cbbf535",
    "parent_span_id": "836a699e4ef3b091",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:28.344260Z",
    "timestamp": "2026-05-19T07:28:28.344323Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20687
    },
    "data": {
      "thread.id": "139837155833536",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "0c94810fb1c44ff2b69adeb118e8229a",
    "span_id": "abb4ef6a4758ba87",
    "parent_span_id": "af58b46d87342eff",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:28.344386Z",
    "timestamp": "2026-05-19T07:28:28.344403Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20687
    },
    "data": {
      "thread.id": "139837155833536",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "0c94810fb1c44ff2b69adeb118e8229a",
    "span_id": "a6cd7e8c44a80cd5",
    "parent_span_id": "af58b46d87342eff",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:28:28.346250Z",
    "timestamp": "2026-05-19T07:28:29.362376Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139837341879168",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 32,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "0c94810fb1c44ff2b69adeb118e8229a",
    "span_id": "9d322e7f4f8143dc",
    "parent_span_id": "9ac3678ef03ac5b9",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:28:29.497963Z",
    "timestamp": "2026-05-19T07:28:35.185172Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139837341879168",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 45,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "0c94810fb1c44ff2b69adeb118e8229a",
    "span_id": "8a712b2c9067c17e",
    "parent_span_id": "9f9ec13f3aab34bd",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:28:35.663397Z",
    "timestamp": "2026-05-19T07:28:41.137835Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139837341879168",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 60,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "a37f9639e88d0807",
    "trace_id": "0c94810fb1c44ff2b69adeb118e8229a",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:28:28.328370Z",
    "timestamp": "2026-05-19T07:28:41.466220Z",
    "data": {
      "thread.id": "139837341879168",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "af58b46d87342eff",
    "trace_id": "0c94810fb1c44ff2b69adeb118e8229a",
    "parent_span_id": "a37f9639e88d0807",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175708.332451,
    "timestamp": 1779175709.491097,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139837155833536",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "Paris. If you’d like, I can add a few facts about the city.",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 90,
      "gen_ai.usage.total_tokens": 113,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "a37f9639e88d0807",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9ac3678ef03ac5b9",
    "trace_id": "0c94810fb1c44ff2b69adeb118e8229a",
    "parent_span_id": "a37f9639e88d0807",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175709.491904,
    "timestamp": 1779175715.651883,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139837155833536",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "If you mean the city proper (the commune of Paris), it has about 2.1–2.2 million people.\n\nIf you mean the broader Paris metropolitan area, it’s around 12 million people.\n\nWould you like the exact latest figures for a specific year or for a particular definition (city proper vs. metro area)?",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 1036,
      "gen_ai.usage.total_tokens": 1084,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "a37f9639e88d0807",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9f9ec13f3aab34bd",
    "trace_id": "0c94810fb1c44ff2b69adeb118e8229a",
    "parent_span_id": "a37f9639e88d0807",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175715.654767,
    "timestamp": 1779175721.460273,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139837155833536",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}, {\"role\": \"assistant\", \"content\": \"Paris has a population of approximately 2.2 million people in the city proper.\"}, {\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "Depends on how you define \"metropolitan area.\" The Paris region is defined in a few common ways:\n\n- Paris urban area (aire urbaine): about 12.5–13 million people.\n- Île-de-France region (the wider administrative region around Paris): about 12–12.5 million.\n- Métropole du Grand Paris (the intercommunal metro area): about 7.5–7.8 million.\n\nIf you tell me which definition and year you want, I can give a precise figure.",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 1780,
      "gen_ai.usage.total_tokens": 1861,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "a37f9639e88d0807",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Multi-Turn LLM Test (async, streaming, anthropic)❗︎ 111440ms
checkAISpanCount(3)
checkChatSpanAttributes
b08569d3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b08569d3gen_ai.output.messagesMissing output messages attribute
8a0b9770gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8a0b9770gen_ai.output.messagesMissing output messages attribute
8d8811c2gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8d8811c2gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (11)
[
  {
    "trace_id": "b2901b1f12754e6291381e105f8ed8d5",
    "span_id": "ac3ea866a89190c7",
    "parent_span_id": "b08569d36adb859b",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:29.400087Z",
    "timestamp": "2026-05-19T07:28:29.403984Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20695
    },
    "data": {
      "thread.id": "140550925711040",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "b2901b1f12754e6291381e105f8ed8d5",
    "span_id": "bc49b9b4072bc064",
    "parent_span_id": "b08569d36adb859b",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:29.404082Z",
    "timestamp": "2026-05-19T07:28:29.404659Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20695
    },
    "data": {
      "thread.id": "140550925711040",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "b2901b1f12754e6291381e105f8ed8d5",
    "span_id": "9878914f23b42085",
    "parent_span_id": "bc49b9b4072bc064",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:29.404553Z",
    "timestamp": "2026-05-19T07:28:29.404647Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20695
    },
    "data": {
      "thread.id": "140550925711040",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "b2901b1f12754e6291381e105f8ed8d5",
    "span_id": "a537fdefda0750e4",
    "parent_span_id": "b08569d36adb859b",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:29.404703Z",
    "timestamp": "2026-05-19T07:28:29.404721Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20695
    },
    "data": {
      "thread.id": "140550925711040",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "b2901b1f12754e6291381e105f8ed8d5",
    "span_id": "ba31c2767c13ac9b",
    "parent_span_id": "b08569d36adb859b",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:29.408837Z",
    "timestamp": "2026-05-19T07:28:30.272639Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140551109696384",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 32,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "b2901b1f12754e6291381e105f8ed8d5",
    "span_id": "bd8e5b4b70dc3c0c",
    "parent_span_id": "8a0b9770247b969c",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:30.423055Z",
    "timestamp": "2026-05-19T07:28:31.127669Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140551109696384",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 45,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "b2901b1f12754e6291381e105f8ed8d5",
    "span_id": "bd5ead48054628db",
    "parent_span_id": "8d8811c26fc55a6a",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:32.074785Z",
    "timestamp": "2026-05-19T07:28:32.765540Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140551109696384",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 60,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "bcb8086e252e14c2",
    "trace_id": "b2901b1f12754e6291381e105f8ed8d5",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:28:29.317314Z",
    "timestamp": "2026-05-19T07:28:33.106342Z",
    "data": {
      "thread.id": "140551109696384",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b08569d36adb859b",
    "trace_id": "b2901b1f12754e6291381e105f8ed8d5",
    "parent_span_id": "bcb8086e252e14c2",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175709.328735,
    "timestamp": 1779175710.417131,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140550925711040",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "bcb8086e252e14c2",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8a0b9770247b969c",
    "trace_id": "b2901b1f12754e6291381e105f8ed8d5",
    "parent_span_id": "bcb8086e252e14c2",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175710.421043,
    "timestamp": 1779175712.072612,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140550925711040",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "The population of Paris depends on how you define the city:\n\n- **Paris proper** (the city itself within its administrative boundaries): approximately 2.1-2.2 million people\n\n- **Greater Paris (Île-de-France region)**: approximately 12 million people\n\nThe most commonly cited figure for Paris proper is around 2.1 million, making it one of the most densely populated cities in Europe. The metropolitan area is significantly larger.",
      "gen_ai.usage.input_tokens": 41,
      "gen_ai.usage.output_tokens": 101,
      "gen_ai.usage.total_tokens": 142,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "bcb8086e252e14c2",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8d8811c26fc55a6a",
    "trace_id": "b2901b1f12754e6291381e105f8ed8d5",
    "parent_span_id": "bcb8086e252e14c2",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175712.073249,
    "timestamp": 1779175713.105165,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140550925711040",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}, {\"role\": \"assistant\", \"content\": \"Paris has a population of approximately 2.2 million people in the city proper.\"}, {\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "The Paris metropolitan area (Île-de-France region) has a population of approximately 12 million people, making it one of the largest metropolitan areas in Europe.",
      "gen_ai.usage.input_tokens": 71,
      "gen_ai.usage.output_tokens": 38,
      "gen_ai.usage.total_tokens": 109,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "bcb8086e252e14c2",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Multi-Turn LLM Test (async, blocking, openai)❗︎ 123556ms
checkAISpanCount(3)
checkChatSpanAttributes
bb2850b8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bb2850b8gen_ai.output.messagesMissing output messages attribute
8bd7b1d5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8bd7b1d5gen_ai.output.messagesMissing output messages attribute
938ceb71gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
938ceb71gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (11)
[
  {
    "trace_id": "890e2e4804d746f3946cf7636873e684",
    "span_id": "a1dd4c4caadc411c",
    "parent_span_id": "bb2850b8581e569f",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:30.225900Z",
    "timestamp": "2026-05-19T07:28:30.228570Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20700
    },
    "data": {
      "thread.id": "140272448665280",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "890e2e4804d746f3946cf7636873e684",
    "span_id": "a2dde7ec4c048c45",
    "parent_span_id": "bb2850b8581e569f",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:30.228661Z",
    "timestamp": "2026-05-19T07:28:30.228804Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20700
    },
    "data": {
      "thread.id": "140272448665280",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "890e2e4804d746f3946cf7636873e684",
    "span_id": "bf286620024d3cf4",
    "parent_span_id": "a2dde7ec4c048c45",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:30.228758Z",
    "timestamp": "2026-05-19T07:28:30.228794Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20700
    },
    "data": {
      "thread.id": "140272448665280",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "890e2e4804d746f3946cf7636873e684",
    "span_id": "bc4aefbacdf6acf5",
    "parent_span_id": "bb2850b8581e569f",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:30.228841Z",
    "timestamp": "2026-05-19T07:28:30.228855Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20700
    },
    "data": {
      "thread.id": "140272448665280",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "890e2e4804d746f3946cf7636873e684",
    "span_id": "ab1d90282e112985",
    "parent_span_id": "bb2850b8581e569f",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:28:30.230535Z",
    "timestamp": "2026-05-19T07:28:31.465634Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140272561408896",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 58,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking-openai.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "890e2e4804d746f3946cf7636873e684",
    "span_id": "9b263a4f8593d489",
    "parent_span_id": "8bd7b1d5d91880d6",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:28:31.482110Z",
    "timestamp": "2026-05-19T07:28:39.047437Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140272561408896",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 58,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking-openai.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "890e2e4804d746f3946cf7636873e684",
    "span_id": "b470a6a8940b8bbe",
    "parent_span_id": "938ceb71416dbce6",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:28:39.073692Z",
    "timestamp": "2026-05-19T07:28:44.242294Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140272561408896",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 58,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking-openai.py",
      "code.function": "<module>"
    }
  },
  {
    "span_id": "8dfbf0dd3a9738b0",
    "trace_id": "890e2e4804d746f3946cf7636873e684",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:28:30.216709Z",
    "timestamp": "2026-05-19T07:28:44.264261Z",
    "data": {
      "thread.id": "140272561408896",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "bb2850b8581e569f",
    "trace_id": "890e2e4804d746f3946cf7636873e684",
    "parent_span_id": "8dfbf0dd3a9738b0",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175710.220835,
    "timestamp": 1779175711.478263,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140272448665280",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "Paris.",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 139,
      "gen_ai.usage.total_tokens": 162,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "8dfbf0dd3a9738b0",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8bd7b1d5d91880d6",
    "trace_id": "890e2e4804d746f3946cf7636873e684",
    "parent_span_id": "8dfbf0dd3a9738b0",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175711.479051,
    "timestamp": 1779175719.05782,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140272448665280",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "Paris, the city proper, has about 2.15 million inhabitants (as of the latest official figures around 2020). The wider Paris metropolitan area (the urban area) has about 12 million people. \n\nIf you’d like a specific year or a different definition (e.g., Île-de-France region), I can give those numbers too.",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 1105,
      "gen_ai.usage.total_tokens": 1153,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "8dfbf0dd3a9738b0",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "938ceb71416dbce6",
    "trace_id": "890e2e4804d746f3946cf7636873e684",
    "parent_span_id": "8dfbf0dd3a9738b0",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175719.058553,
    "timestamp": 1779175724.253999,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140272448665280",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}, {\"role\": \"assistant\", \"content\": \"Paris has a population of approximately 2.2 million people in the city proper.\"}, {\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "If by “metropolitan area” you mean the broader urban area around Paris, here are the common figures:\n\n- City proper (Paris itself): about 2.2 million people.\n- Paris urban area (aire urbaine): roughly 12 million to 12.5 million people.\n- Île-de-France region (the wider metropolitan region around Paris): about 12–13 million people.\n- Métropole du Grand Paris (the intercommunal metro area around Paris): around 7 million.\n\nDefinitions and years vary, so exact numbers can differ. Would you like a precise figure for a specific definition (e.g., aire urbaine vs. Île-de-France) and year? I can pull the latest INSEE numbers.",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 1440,
      "gen_ai.usage.total_tokens": 1521,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "8dfbf0dd3a9738b0",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Multi-Turn LLM Test (async, blocking, anthropic)❗︎ 1 111315ms
checkAISpanCount(3)
checkChatSpanAttributes
8f5deb43gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8f5deb43gen_ai.output.messagesMissing output messages attribute
a062921agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a062921agen_ai.output.messagesMissing output messages attribute
bce2eb11gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bce2eb11gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
8f5deb43gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (11)
[
  {
    "trace_id": "7092ff3d8e8a4dac955181c96941f254",
    "span_id": "baea7d17ef5b6d45",
    "parent_span_id": "8f5deb4373d8d493",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:30.667175Z",
    "timestamp": "2026-05-19T07:28:30.669703Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20705
    },
    "data": {
      "thread.id": "139646990280384",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "7092ff3d8e8a4dac955181c96941f254",
    "span_id": "be1bc7c7518ce80b",
    "parent_span_id": "8f5deb4373d8d493",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:30.669978Z",
    "timestamp": "2026-05-19T07:28:30.670259Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20705
    },
    "data": {
      "thread.id": "139646990280384",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "7092ff3d8e8a4dac955181c96941f254",
    "span_id": "8b568868f9774bcf",
    "parent_span_id": "be1bc7c7518ce80b",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:30.670185Z",
    "timestamp": "2026-05-19T07:28:30.670252Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20705
    },
    "data": {
      "thread.id": "139646990280384",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "7092ff3d8e8a4dac955181c96941f254",
    "span_id": "91a0495cdafe13a3",
    "parent_span_id": "8f5deb4373d8d493",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:30.670292Z",
    "timestamp": "2026-05-19T07:28:30.670303Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20705
    },
    "data": {
      "thread.id": "139646990280384",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "7092ff3d8e8a4dac955181c96941f254",
    "span_id": "9a6e78bb81ed9375",
    "parent_span_id": "8f5deb4373d8d493",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:30.673562Z",
    "timestamp": "2026-05-19T07:28:31.622043Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139647104596864",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 58,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking-anthropic.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "7092ff3d8e8a4dac955181c96941f254",
    "span_id": "9c54f9778a994456",
    "parent_span_id": "a062921a5ea60ed7",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:31.653397Z",
    "timestamp": "2026-05-19T07:28:32.563515Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139647104596864",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 58,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking-anthropic.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "7092ff3d8e8a4dac955181c96941f254",
    "span_id": "ba900351c71aea60",
    "parent_span_id": "bce2eb116c9bea20",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:32.574310Z",
    "timestamp": "2026-05-19T07:28:33.488172Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139647104596864",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 58,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking-anthropic.py",
      "code.function": "<module>"
    }
  },
  {
    "span_id": "a9ec22ff210a460b",
    "trace_id": "7092ff3d8e8a4dac955181c96941f254",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:28:30.634107Z",
    "timestamp": "2026-05-19T07:28:33.497243Z",
    "data": {
      "thread.id": "139647104596864",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "8f5deb4373d8d493",
    "trace_id": "7092ff3d8e8a4dac955181c96941f254",
    "parent_span_id": "a9ec22ff210a460b",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175710.639354,
    "timestamp": 1779175711.650612,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139646990280384",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "a9ec22ff210a460b",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a062921a5ea60ed7",
    "trace_id": "7092ff3d8e8a4dac955181c96941f254",
    "parent_span_id": "a9ec22ff210a460b",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175711.651416,
    "timestamp": 1779175712.5681,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139646990280384",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "The population of Paris is approximately 2.1-2.2 million people within the city proper. However, the greater Paris metropolitan area (Île-de-France region) has a much larger population of around 12 million people, making it one of the largest metropolitan areas in Europe.",
      "gen_ai.usage.input_tokens": 41,
      "gen_ai.usage.output_tokens": 65,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "a9ec22ff210a460b",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "bce2eb116c9bea20",
    "trace_id": "7092ff3d8e8a4dac955181c96941f254",
    "parent_span_id": "a9ec22ff210a460b",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175712.569013,
    "timestamp": 1779175713.493071,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139646990280384",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}, {\"role\": \"assistant\", \"content\": \"Paris has a population of approximately 2.2 million people in the city proper.\"}, {\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "The metropolitan area of Paris (the Île-de-France region) has a population of approximately 12 million people, making it one of the largest metropolitan areas in Europe.",
      "gen_ai.usage.input_tokens": 71,
      "gen_ai.usage.output_tokens": 40,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "a9ec22ff210a460b",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Vision LLM Test (sync, streaming, openai)❗︎ 1 19174ms
checkChatSpanAttributes
a892d0ffgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a892d0ffgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
a892d0ffgen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
a892d0ffgen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "ca46cdb3757343d89295e9b74389c44b",
    "span_id": "a5a1361723c9a7cb",
    "parent_span_id": "a892d0ff917d591c",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:40.557680Z",
    "timestamp": "2026-05-19T07:28:40.560034Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20771
    },
    "data": {
      "thread.id": "140139924802432",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "ca46cdb3757343d89295e9b74389c44b",
    "span_id": "b197efa1d37dacfa",
    "parent_span_id": "a892d0ff917d591c",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:40.560147Z",
    "timestamp": "2026-05-19T07:28:40.563420Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20771
    },
    "data": {
      "thread.id": "140139924802432",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "ca46cdb3757343d89295e9b74389c44b",
    "span_id": "acd701c6bc6595ff",
    "parent_span_id": "b197efa1d37dacfa",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:40.563352Z",
    "timestamp": "2026-05-19T07:28:40.563404Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20771
    },
    "data": {
      "thread.id": "140139924802432",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "ca46cdb3757343d89295e9b74389c44b",
    "span_id": "b6311992d7541d67",
    "parent_span_id": "a892d0ff917d591c",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:40.563465Z",
    "timestamp": "2026-05-19T07:28:40.563486Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20771
    },
    "data": {
      "thread.id": "140139924802432",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "ca46cdb3757343d89295e9b74389c44b",
    "span_id": "844b115a302bd9d4",
    "parent_span_id": "a892d0ff917d591c",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:28:40.564964Z",
    "timestamp": "2026-05-19T07:28:41.036769Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140139924802432",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 34,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-sync-streaming-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "8a682c6649cb4b9b",
    "trace_id": "ca46cdb3757343d89295e9b74389c44b",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:28:40.546810Z",
    "timestamp": "2026-05-19T07:28:41.184040Z",
    "data": {
      "thread.id": "140139924802432",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "a892d0ff917d591c",
    "trace_id": "ca46cdb3757343d89295e9b74389c44b",
    "parent_span_id": "8a682c6649cb4b9b",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175720.55037,
    "timestamp": 1779175721.183956,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140139924802432",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"blob\", \"modality\": \"image\", \"mime_type\": \"image/png\", \"content\": \"iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}]}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "Red",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 8538,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "8a682c6649cb4b9b",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Vision LLM Test (sync, streaming, anthropic)❗︎ 1 18232ms
checkChatSpanAttributes
822687cfgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
822687cfgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
822687cfgen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
822687cfgen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "3dc399814c884d37b5ba9e18cd5b5f85",
    "span_id": "8fd3546df5894dc4",
    "parent_span_id": "822687cf909f9947",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:40.996556Z",
    "timestamp": "2026-05-19T07:28:40.999986Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20780
    },
    "data": {
      "thread.id": "140170610150272",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "3dc399814c884d37b5ba9e18cd5b5f85",
    "span_id": "905b237b158996cc",
    "parent_span_id": "822687cf909f9947",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:41.000094Z",
    "timestamp": "2026-05-19T07:28:41.005962Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20780
    },
    "data": {
      "thread.id": "140170610150272",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "3dc399814c884d37b5ba9e18cd5b5f85",
    "span_id": "8318ab0da682b690",
    "parent_span_id": "905b237b158996cc",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:41.000195Z",
    "timestamp": "2026-05-19T07:28:41.005932Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20780
    },
    "data": {
      "thread.id": "140170610150272",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "3dc399814c884d37b5ba9e18cd5b5f85",
    "span_id": "812aef46ef229a27",
    "parent_span_id": "822687cf909f9947",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:41.006051Z",
    "timestamp": "2026-05-19T07:28:41.006087Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20780
    },
    "data": {
      "thread.id": "140170610150272",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "3dc399814c884d37b5ba9e18cd5b5f85",
    "span_id": "af7a2c257a8d6091",
    "parent_span_id": "822687cf909f9947",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:41.007634Z",
    "timestamp": "2026-05-19T07:28:41.888421Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140170610150272",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 34,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-sync-streaming-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "b0abdcbab9510f66",
    "trace_id": "3dc399814c884d37b5ba9e18cd5b5f85",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:28:40.851719Z",
    "timestamp": "2026-05-19T07:28:41.985529Z",
    "data": {
      "thread.id": "140170610150272",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "822687cf909f9947",
    "trace_id": "3dc399814c884d37b5ba9e18cd5b5f85",
    "parent_span_id": "b0abdcbab9510f66",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175720.868768,
    "timestamp": 1779175721.985453,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140170610150272",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"blob\", \"modality\": \"image\", \"mime_type\": \"image/png\", \"content\": \"iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}]}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "Pink",
      "gen_ai.usage.input_tokens": 38,
      "gen_ai.usage.output_tokens": 4,
      "gen_ai.usage.total_tokens": 42,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "b0abdcbab9510f66",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Vision LLM Test (sync, blocking, openai)❗︎ 1 19154ms
checkChatSpanAttributes
acb54188gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
acb54188gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
acb54188gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
acb54188gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "02c7de828b234bb3bb3340e0d7d05748",
    "span_id": "9975d1bd56112cde",
    "parent_span_id": "acb5418800959218",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:41.827892Z",
    "timestamp": "2026-05-19T07:28:41.834007Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20786
    },
    "data": {
      "thread.id": "140617721465728",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "02c7de828b234bb3bb3340e0d7d05748",
    "span_id": "a0194117c051ee5f",
    "parent_span_id": "acb5418800959218",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:41.834142Z",
    "timestamp": "2026-05-19T07:28:41.834308Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20786
    },
    "data": {
      "thread.id": "140617721465728",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "02c7de828b234bb3bb3340e0d7d05748",
    "span_id": "ac639415d11ea1ba",
    "parent_span_id": "a0194117c051ee5f",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:41.834258Z",
    "timestamp": "2026-05-19T07:28:41.834297Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20786
    },
    "data": {
      "thread.id": "140617721465728",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "02c7de828b234bb3bb3340e0d7d05748",
    "span_id": "97e3cf2bf92a6e87",
    "parent_span_id": "acb5418800959218",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:41.834340Z",
    "timestamp": "2026-05-19T07:28:41.834351Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20786
    },
    "data": {
      "thread.id": "140617721465728",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "02c7de828b234bb3bb3340e0d7d05748",
    "span_id": "9d719a121994e5f2",
    "parent_span_id": "acb5418800959218",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:28:41.838793Z",
    "timestamp": "2026-05-19T07:28:42.572934Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140617721465728",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 33,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-sync-blocking-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "86014804f96bd7f1",
    "trace_id": "02c7de828b234bb3bb3340e0d7d05748",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:28:41.796926Z",
    "timestamp": "2026-05-19T07:28:42.604022Z",
    "data": {
      "thread.id": "140617721465728",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "acb5418800959218",
    "trace_id": "02c7de828b234bb3bb3340e0d7d05748",
    "parent_span_id": "86014804f96bd7f1",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175721.80275,
    "timestamp": 1779175722.597816,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140617721465728",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"blob\", \"modality\": \"image\", \"mime_type\": \"image/png\", \"content\": \"iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}]}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "Red",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 8538,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "86014804f96bd7f1",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Vision LLM Test (sync, blocking, anthropic)❗︎ 1 27927ms
checkChatSpanAttributes
b0621fdbgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b0621fdbgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
b0621fdbgen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkBinaryRedaction
b0621fdbgen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
b0621fdbgen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "d6bf12fcd6234af9a1b08245da69a752",
    "span_id": "ad57185b63073a18",
    "parent_span_id": "b0621fdb8a6600e6",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:41.966705Z",
    "timestamp": "2026-05-19T07:28:41.970521Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20788
    },
    "data": {
      "thread.id": "140626029939584",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "d6bf12fcd6234af9a1b08245da69a752",
    "span_id": "bec4f0ea95a9cc7d",
    "parent_span_id": "b0621fdb8a6600e6",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:41.970625Z",
    "timestamp": "2026-05-19T07:28:41.970763Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20788
    },
    "data": {
      "thread.id": "140626029939584",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "d6bf12fcd6234af9a1b08245da69a752",
    "span_id": "b310fb38f0b31ca7",
    "parent_span_id": "bec4f0ea95a9cc7d",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:41.970720Z",
    "timestamp": "2026-05-19T07:28:41.970755Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20788
    },
    "data": {
      "thread.id": "140626029939584",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "d6bf12fcd6234af9a1b08245da69a752",
    "span_id": "8596e94df21ee52d",
    "parent_span_id": "b0621fdb8a6600e6",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:41.970794Z",
    "timestamp": "2026-05-19T07:28:41.970806Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20788
    },
    "data": {
      "thread.id": "140626029939584",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "d6bf12fcd6234af9a1b08245da69a752",
    "span_id": "a2f4290ad3582023",
    "parent_span_id": "b0621fdb8a6600e6",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:41.972146Z",
    "timestamp": "2026-05-19T07:28:42.539424Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140626029939584",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 33,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-sync-blocking-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "9e99693307b90a27",
    "trace_id": "d6bf12fcd6234af9a1b08245da69a752",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:28:41.857317Z",
    "timestamp": "2026-05-19T07:28:42.624745Z",
    "data": {
      "thread.id": "140626029939584",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b0621fdb8a6600e6",
    "trace_id": "d6bf12fcd6234af9a1b08245da69a752",
    "parent_span_id": "9e99693307b90a27",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175721.867653,
    "timestamp": 1779175722.624641,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140626029939584",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"blob\", \"modality\": \"image\", \"mime_type\": \"image/png\", \"content\": \"iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}]}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "Pink",
      "gen_ai.usage.input_tokens": 38,
      "gen_ai.usage.output_tokens": 4,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "9e99693307b90a27",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Vision LLM Test (async, streaming, openai)❗︎ 1 110750ms
checkChatSpanAttributes
b7b888b7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b7b888b7gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
b7b888b7gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
b7b888b7gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "da4c6dce6762436eb6b9a42ed020879e",
    "span_id": "8b3083b46e4a4f15",
    "parent_span_id": "b7b888b70d86e497",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:44.424143Z",
    "timestamp": "2026-05-19T07:28:44.427927Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20812
    },
    "data": {
      "thread.id": "140116864116416",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "da4c6dce6762436eb6b9a42ed020879e",
    "span_id": "83bd46033f0725aa",
    "parent_span_id": "b7b888b70d86e497",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:44.428046Z",
    "timestamp": "2026-05-19T07:28:44.428205Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20812
    },
    "data": {
      "thread.id": "140116864116416",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "da4c6dce6762436eb6b9a42ed020879e",
    "span_id": "908867dd718299bd",
    "parent_span_id": "83bd46033f0725aa",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:44.428155Z",
    "timestamp": "2026-05-19T07:28:44.428194Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20812
    },
    "data": {
      "thread.id": "140116864116416",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "da4c6dce6762436eb6b9a42ed020879e",
    "span_id": "97c5fa5468c70ff9",
    "parent_span_id": "b7b888b70d86e497",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:44.428240Z",
    "timestamp": "2026-05-19T07:28:44.428254Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20812
    },
    "data": {
      "thread.id": "140116864116416",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "da4c6dce6762436eb6b9a42ed020879e",
    "span_id": "98b2beb317dd013a",
    "parent_span_id": "b7b888b70d86e497",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:28:44.431921Z",
    "timestamp": "2026-05-19T07:28:45.777285Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140116978031488",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 35,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-async-streaming-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "9948a6689c999009",
    "trace_id": "da4c6dce6762436eb6b9a42ed020879e",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:28:44.366846Z",
    "timestamp": "2026-05-19T07:28:45.856187Z",
    "data": {
      "thread.id": "140116978031488",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b7b888b70d86e497",
    "trace_id": "da4c6dce6762436eb6b9a42ed020879e",
    "parent_span_id": "9948a6689c999009",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175724.395128,
    "timestamp": 1779175725.852679,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140116864116416",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"blob\", \"modality\": \"image\", \"mime_type\": \"image/png\", \"content\": \"iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}]}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "Red",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 8538,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "9948a6689c999009",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Vision LLM Test (async, streaming, anthropic)❗︎ 1 110937ms
checkChatSpanAttributes
9ce62291gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9ce62291gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
9ce62291gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
9ce62291gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "daaec0312f484eebbcd7e7d2d0d6f60a",
    "span_id": "bd5993cb80c95de6",
    "parent_span_id": "9ce622919109c5e3",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:47.934229Z",
    "timestamp": "2026-05-19T07:28:47.936939Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20823
    },
    "data": {
      "thread.id": "139733046912704",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "daaec0312f484eebbcd7e7d2d0d6f60a",
    "span_id": "960cc64d48ffa2a5",
    "parent_span_id": "9ce622919109c5e3",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:47.937058Z",
    "timestamp": "2026-05-19T07:28:47.937225Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20823
    },
    "data": {
      "thread.id": "139733046912704",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "daaec0312f484eebbcd7e7d2d0d6f60a",
    "span_id": "8b675590edbd89b7",
    "parent_span_id": "960cc64d48ffa2a5",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:47.937174Z",
    "timestamp": "2026-05-19T07:28:47.937215Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20823
    },
    "data": {
      "thread.id": "139733046912704",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "daaec0312f484eebbcd7e7d2d0d6f60a",
    "span_id": "ae03471f54bd03b8",
    "parent_span_id": "9ce622919109c5e3",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:47.937261Z",
    "timestamp": "2026-05-19T07:28:47.937274Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20823
    },
    "data": {
      "thread.id": "139733046912704",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "daaec0312f484eebbcd7e7d2d0d6f60a",
    "span_id": "adf6aefe73639f16",
    "parent_span_id": "9ce622919109c5e3",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:47.942159Z",
    "timestamp": "2026-05-19T07:28:48.432662Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139733161012096",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 35,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-async-streaming-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "ad44a76c1df59785",
    "trace_id": "daaec0312f484eebbcd7e7d2d0d6f60a",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:28:47.834328Z",
    "timestamp": "2026-05-19T07:28:48.543369Z",
    "data": {
      "thread.id": "139733161012096",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "9ce622919109c5e3",
    "trace_id": "daaec0312f484eebbcd7e7d2d0d6f60a",
    "parent_span_id": "ad44a76c1df59785",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175727.850634,
    "timestamp": 1779175728.539198,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139733046912704",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"blob\", \"modality\": \"image\", \"mime_type\": \"image/png\", \"content\": \"iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}]}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "Pink",
      "gen_ai.usage.input_tokens": 38,
      "gen_ai.usage.output_tokens": 4,
      "gen_ai.usage.total_tokens": 42,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "ad44a76c1df59785",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Vision LLM Test (async, blocking, openai)❗︎ 1 111324ms
checkChatSpanAttributes
b0e1ca5egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b0e1ca5egen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
b0e1ca5egen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
b0e1ca5egen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "1060c9f1daea4f3083d93fa1026233a3",
    "span_id": "a797e9bc3e5c1513",
    "parent_span_id": "b0e1ca5ed107fe51",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:48.497097Z",
    "timestamp": "2026-05-19T07:28:48.500996Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20828
    },
    "data": {
      "thread.id": "139848401397440",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "1060c9f1daea4f3083d93fa1026233a3",
    "span_id": "9b42696761c93088",
    "parent_span_id": "b0e1ca5ed107fe51",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:48.501087Z",
    "timestamp": "2026-05-19T07:28:48.501230Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20828
    },
    "data": {
      "thread.id": "139848401397440",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "1060c9f1daea4f3083d93fa1026233a3",
    "span_id": "b8b03d2195ee3505",
    "parent_span_id": "9b42696761c93088",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:48.501183Z",
    "timestamp": "2026-05-19T07:28:48.501220Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20828
    },
    "data": {
      "thread.id": "139848401397440",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "1060c9f1daea4f3083d93fa1026233a3",
    "span_id": "bef7e8cfbd55170a",
    "parent_span_id": "b0e1ca5ed107fe51",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:48.501266Z",
    "timestamp": "2026-05-19T07:28:48.501280Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20828
    },
    "data": {
      "thread.id": "139848401397440",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "1060c9f1daea4f3083d93fa1026233a3",
    "span_id": "ab001d1fb365e2ff",
    "parent_span_id": "b0e1ca5ed107fe51",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:28:48.503063Z",
    "timestamp": "2026-05-19T07:28:49.353599Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139848515165056",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 39,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-async-blocking-openai.py",
      "code.function": "<module>"
    }
  },
  {
    "span_id": "9ab374c6ca24d690",
    "trace_id": "1060c9f1daea4f3083d93fa1026233a3",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:28:48.463501Z",
    "timestamp": "2026-05-19T07:28:49.405278Z",
    "data": {
      "thread.id": "139848515165056",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b0e1ca5ed107fe51",
    "trace_id": "1060c9f1daea4f3083d93fa1026233a3",
    "parent_span_id": "9ab374c6ca24d690",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175728.479218,
    "timestamp": 1779175729.39303,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139848401397440",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"blob\", \"modality\": \"image\", \"mime_type\": \"image/png\", \"content\": \"iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}]}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "Red",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 8538,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "9ab374c6ca24d690",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Vision LLM Test (async, blocking, anthropic)❗︎ 1 211898ms
checkChatSpanAttributes
891622abgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
891622abgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
891622abgen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkBinaryRedaction
891622abgen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
891622abgen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "30b7557caa524c95b41b41d6ed03a3d2",
    "span_id": "a464a5af73dd96e0",
    "parent_span_id": "891622abb1f902f5",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:51.655118Z",
    "timestamp": "2026-05-19T07:28:51.661010Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20843
    },
    "data": {
      "thread.id": "139907577145024",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "30b7557caa524c95b41b41d6ed03a3d2",
    "span_id": "a8e5fa88b4511f41",
    "parent_span_id": "891622abb1f902f5",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:51.661127Z",
    "timestamp": "2026-05-19T07:28:51.661286Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20843
    },
    "data": {
      "thread.id": "139907577145024",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "30b7557caa524c95b41b41d6ed03a3d2",
    "span_id": "8dd1773523be92a6",
    "parent_span_id": "a8e5fa88b4511f41",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:51.661237Z",
    "timestamp": "2026-05-19T07:28:51.661276Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20843
    },
    "data": {
      "thread.id": "139907577145024",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "30b7557caa524c95b41b41d6ed03a3d2",
    "span_id": "91217fc243935c38",
    "parent_span_id": "891622abb1f902f5",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:51.661325Z",
    "timestamp": "2026-05-19T07:28:51.661340Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20843
    },
    "data": {
      "thread.id": "139907577145024",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "30b7557caa524c95b41b41d6ed03a3d2",
    "span_id": "bf1a108c8255d0c2",
    "parent_span_id": "891622abb1f902f5",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:51.663268Z",
    "timestamp": "2026-05-19T07:28:52.489401Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139907692051328",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 39,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-async-blocking-anthropic.py",
      "code.function": "<module>"
    }
  },
  {
    "span_id": "b40b11745840e990",
    "trace_id": "30b7557caa524c95b41b41d6ed03a3d2",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:28:51.461668Z",
    "timestamp": "2026-05-19T07:28:52.630355Z",
    "data": {
      "thread.id": "139907692051328",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "891622abb1f902f5",
    "trace_id": "30b7557caa524c95b41b41d6ed03a3d2",
    "parent_span_id": "b40b11745840e990",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175731.501765,
    "timestamp": 1779175732.624099,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139907577145024",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"blob\", \"modality\": \"image\", \"mime_type\": \"image/png\", \"content\": \"iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}]}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "Pink",
      "gen_ai.usage.input_tokens": 38,
      "gen_ai.usage.output_tokens": 4,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "b40b11745840e990",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Long Input LLM Test (sync, streaming, openai)❗︎ 112611ms
checkChatSpanAttributes
94f5ea59gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
94f5ea59gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "8ffe86e98d65463698429791240fe868",
    "span_id": "bf804e2665a415da",
    "parent_span_id": "94f5ea5972c67fd1",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:52.284191Z",
    "timestamp": "2026-05-19T07:28:52.293390Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20849
    },
    "data": {
      "thread.id": "140019940281216",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "8ffe86e98d65463698429791240fe868",
    "span_id": "97b5f5138607466e",
    "parent_span_id": "94f5ea5972c67fd1",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:52.293537Z",
    "timestamp": "2026-05-19T07:28:52.296064Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20849
    },
    "data": {
      "thread.id": "140019940281216",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "8ffe86e98d65463698429791240fe868",
    "span_id": "97956e3564af356e",
    "parent_span_id": "97b5f5138607466e",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:52.295999Z",
    "timestamp": "2026-05-19T07:28:52.296048Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20849
    },
    "data": {
      "thread.id": "140019940281216",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "8ffe86e98d65463698429791240fe868",
    "span_id": "9d8ba5dc0e2a5c9a",
    "parent_span_id": "94f5ea5972c67fd1",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:52.296103Z",
    "timestamp": "2026-05-19T07:28:52.296119Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20849
    },
    "data": {
      "thread.id": "140019940281216",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "8ffe86e98d65463698429791240fe868",
    "span_id": "aa8b981ce6cfb589",
    "parent_span_id": "94f5ea5972c67fd1",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:28:52.297898Z",
    "timestamp": "2026-05-19T07:28:52.749201Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140019940281216",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 31,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-sync-streaming-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "8055f4e7aa3615f1",
    "trace_id": "8ffe86e98d65463698429791240fe868",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:28:52.258736Z",
    "timestamp": "2026-05-19T07:28:53.004487Z",
    "data": {
      "thread.id": "140019940281216",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "94f5ea5972c67fd1",
    "trace_id": "8ffe86e98d65463698429791240fe868",
    "parent_span_id": "8055f4e7aa3615f1",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175732.273053,
    "timestamp": 1779175733.004384,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140019940281216",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "This test message will be repeated multiple times to generate an extensive input.",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.output_tokens": 14,
      "gen_ai.usage.total_tokens": 5443,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "8055f4e7aa3615f1",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Long Input LLM Test (sync, streaming, anthropic)❗︎ 113458ms
checkChatSpanAttributes
85617d7bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
85617d7bgen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "fc1fb4df96794fbe8d77505554f42936",
    "span_id": "b7c550453b0163c3",
    "parent_span_id": "85617d7b8544aad9",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:53.494424Z",
    "timestamp": "2026-05-19T07:28:53.500024Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20862
    },
    "data": {
      "thread.id": "140020731231104",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "fc1fb4df96794fbe8d77505554f42936",
    "span_id": "a84dc8d93c4f1aee",
    "parent_span_id": "85617d7b8544aad9",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:53.500155Z",
    "timestamp": "2026-05-19T07:28:53.500317Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20862
    },
    "data": {
      "thread.id": "140020731231104",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "fc1fb4df96794fbe8d77505554f42936",
    "span_id": "b5cab6425325e7ba",
    "parent_span_id": "a84dc8d93c4f1aee",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:53.500266Z",
    "timestamp": "2026-05-19T07:28:53.500307Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20862
    },
    "data": {
      "thread.id": "140020731231104",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "fc1fb4df96794fbe8d77505554f42936",
    "span_id": "88126d635d005fc8",
    "parent_span_id": "85617d7b8544aad9",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:53.500356Z",
    "timestamp": "2026-05-19T07:28:53.500371Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20862
    },
    "data": {
      "thread.id": "140020731231104",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "fc1fb4df96794fbe8d77505554f42936",
    "span_id": "b474e63c9c969a5e",
    "parent_span_id": "85617d7b8544aad9",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:53.502146Z",
    "timestamp": "2026-05-19T07:28:54.272442Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140020731231104",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 31,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-sync-streaming-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "815ca22a2c23b138",
    "trace_id": "fc1fb4df96794fbe8d77505554f42936",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:28:53.381752Z",
    "timestamp": "2026-05-19T07:28:54.441398Z",
    "data": {
      "thread.id": "140020731231104",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "85617d7b8544aad9",
    "trace_id": "fc1fb4df96794fbe8d77505554f42936",
    "parent_span_id": "815ca22a2c23b138",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175733.39895,
    "timestamp": 1779175734.441314,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140020731231104",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "This is a test message that is repeated many times to create a lengthy input.",
      "gen_ai.usage.input_tokens": 5426,
      "gen_ai.usage.output_tokens": 19,
      "gen_ai.usage.total_tokens": 5445,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "815ca22a2c23b138",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Long Input LLM Test (sync, blocking, openai)❗︎ 112613ms
checkChatSpanAttributes
aad97fbfgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
aad97fbfgen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "5f7643e000334aacb6f2fbdffba07d7d",
    "span_id": "9a439b7c61808b0c",
    "parent_span_id": "aad97fbf4f5ca77b",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:53.084185Z",
    "timestamp": "2026-05-19T07:28:53.094014Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20857
    },
    "data": {
      "thread.id": "140424476605312",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "5f7643e000334aacb6f2fbdffba07d7d",
    "span_id": "9d4a3a6ad6a2d33e",
    "parent_span_id": "aad97fbf4f5ca77b",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:53.094136Z",
    "timestamp": "2026-05-19T07:28:53.094305Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20857
    },
    "data": {
      "thread.id": "140424476605312",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "5f7643e000334aacb6f2fbdffba07d7d",
    "span_id": "af967d7d340f815f",
    "parent_span_id": "9d4a3a6ad6a2d33e",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:53.094248Z",
    "timestamp": "2026-05-19T07:28:53.094293Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20857
    },
    "data": {
      "thread.id": "140424476605312",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "5f7643e000334aacb6f2fbdffba07d7d",
    "span_id": "87406d1d52befdb0",
    "parent_span_id": "aad97fbf4f5ca77b",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:53.094345Z",
    "timestamp": "2026-05-19T07:28:53.094360Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20857
    },
    "data": {
      "thread.id": "140424476605312",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "5f7643e000334aacb6f2fbdffba07d7d",
    "span_id": "bbf7815aa9476d25",
    "parent_span_id": "aad97fbf4f5ca77b",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:28:53.095894Z",
    "timestamp": "2026-05-19T07:28:53.969364Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140424476605312",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-sync-blocking-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "b0f5ebdf45ff4345",
    "trace_id": "5f7643e000334aacb6f2fbdffba07d7d",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:28:53.066949Z",
    "timestamp": "2026-05-19T07:28:54.011953Z",
    "data": {
      "thread.id": "140424476605312",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "aad97fbf4f5ca77b",
    "trace_id": "5f7643e000334aacb6f2fbdffba07d7d",
    "parent_span_id": "b0f5ebdf45ff4345",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175733.072564,
    "timestamp": 1779175734.002786,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140424476605312",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "This repetitive test message will be repeated numerous times to generate a lengthy input.",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.output_tokens": 15,
      "gen_ai.usage.total_tokens": 5444,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "b0f5ebdf45ff4345",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Long Input LLM Test (sync, blocking, anthropic)❗︎ 112152ms
checkChatSpanAttributes
a12e4842gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a12e4842gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "078f115396f74a17bb4d41178b0622e1",
    "span_id": "8f477eedd006a1f6",
    "parent_span_id": "a12e48424696e0d4",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:53.008748Z",
    "timestamp": "2026-05-19T07:28:53.014561Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20854
    },
    "data": {
      "thread.id": "139788815825792",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "078f115396f74a17bb4d41178b0622e1",
    "span_id": "836b9da4557e63db",
    "parent_span_id": "a12e48424696e0d4",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:53.014669Z",
    "timestamp": "2026-05-19T07:28:53.014822Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20854
    },
    "data": {
      "thread.id": "139788815825792",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "078f115396f74a17bb4d41178b0622e1",
    "span_id": "a9026f6cbb5687ac",
    "parent_span_id": "836b9da4557e63db",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:53.014774Z",
    "timestamp": "2026-05-19T07:28:53.014812Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20854
    },
    "data": {
      "thread.id": "139788815825792",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "078f115396f74a17bb4d41178b0622e1",
    "span_id": "83bada81f10ea4c1",
    "parent_span_id": "a12e48424696e0d4",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:53.014858Z",
    "timestamp": "2026-05-19T07:28:53.014894Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20854
    },
    "data": {
      "thread.id": "139788815825792",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "078f115396f74a17bb4d41178b0622e1",
    "span_id": "814976e8c86fca40",
    "parent_span_id": "a12e48424696e0d4",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:53.016656Z",
    "timestamp": "2026-05-19T07:28:53.800497Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139788815825792",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-sync-blocking-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "b6a2ed982a353e1f",
    "trace_id": "078f115396f74a17bb4d41178b0622e1",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:28:52.930451Z",
    "timestamp": "2026-05-19T07:28:53.898739Z",
    "data": {
      "thread.id": "139788815825792",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "a12e48424696e0d4",
    "trace_id": "078f115396f74a17bb4d41178b0622e1",
    "parent_span_id": "b6a2ed982a353e1f",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175732.942187,
    "timestamp": 1779175733.898621,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139788815825792",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "This is a test message that is repeated many times to create a lengthy input.",
      "gen_ai.usage.input_tokens": 5426,
      "gen_ai.usage.output_tokens": 19,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "b6a2ed982a353e1f",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Long Input LLM Test (async, streaming, openai)❗︎ 112865ms
checkChatSpanAttributes
90024e27gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
90024e27gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "5a37c236039444bdbe97ba77da44359d",
    "span_id": "9e328d1a0f7213b5",
    "parent_span_id": "90024e27fa349c52",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:53.703177Z",
    "timestamp": "2026-05-19T07:28:53.707205Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20866
    },
    "data": {
      "thread.id": "139790915692224",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "5a37c236039444bdbe97ba77da44359d",
    "span_id": "af180d0b41deba42",
    "parent_span_id": "90024e27fa349c52",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:53.707305Z",
    "timestamp": "2026-05-19T07:28:53.707438Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20866
    },
    "data": {
      "thread.id": "139790915692224",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "5a37c236039444bdbe97ba77da44359d",
    "span_id": "8ca2a270a21382fe",
    "parent_span_id": "af180d0b41deba42",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:53.707398Z",
    "timestamp": "2026-05-19T07:28:53.707431Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20866
    },
    "data": {
      "thread.id": "139790915692224",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "5a37c236039444bdbe97ba77da44359d",
    "span_id": "ac9b1a30032f83c9",
    "parent_span_id": "90024e27fa349c52",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:53.707467Z",
    "timestamp": "2026-05-19T07:28:53.707477Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20866
    },
    "data": {
      "thread.id": "139790915692224",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "5a37c236039444bdbe97ba77da44359d",
    "span_id": "a16b254f32f93620",
    "parent_span_id": "90024e27fa349c52",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:28:53.710218Z",
    "timestamp": "2026-05-19T07:28:54.401633Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139791021685632",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 32,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-async-streaming-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "a022330d1b53a7bd",
    "trace_id": "5a37c236039444bdbe97ba77da44359d",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:28:53.682200Z",
    "timestamp": "2026-05-19T07:28:54.696177Z",
    "data": {
      "thread.id": "139791021685632",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "90024e27fa349c52",
    "trace_id": "5a37c236039444bdbe97ba77da44359d",
    "parent_span_id": "a022330d1b53a7bd",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175733.693092,
    "timestamp": 1779175734.683399,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139790915692224",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "The message is a repeated test phrase designed to generate a lengthy input.",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.output_tokens": 14,
      "gen_ai.usage.total_tokens": 5443,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "a022330d1b53a7bd",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Long Input LLM Test (async, streaming, anthropic)❗︎ 112449ms
checkChatSpanAttributes
9ba6a2f2gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9ba6a2f2gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "7895af4a7a944efab04ed9999687296b",
    "span_id": "be20677a71347172",
    "parent_span_id": "9ba6a2f28cf871d8",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:53.427136Z",
    "timestamp": "2026-05-19T07:28:53.433995Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20861
    },
    "data": {
      "thread.id": "140033603397312",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "7895af4a7a944efab04ed9999687296b",
    "span_id": "baf99718c3ba8f86",
    "parent_span_id": "9ba6a2f28cf871d8",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:53.434113Z",
    "timestamp": "2026-05-19T07:28:53.434267Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20861
    },
    "data": {
      "thread.id": "140033603397312",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "7895af4a7a944efab04ed9999687296b",
    "span_id": "bd59247f19d7b37f",
    "parent_span_id": "baf99718c3ba8f86",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:53.434220Z",
    "timestamp": "2026-05-19T07:28:53.434258Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20861
    },
    "data": {
      "thread.id": "140033603397312",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "7895af4a7a944efab04ed9999687296b",
    "span_id": "855d3ee2ad9461c1",
    "parent_span_id": "9ba6a2f28cf871d8",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:53.434298Z",
    "timestamp": "2026-05-19T07:28:53.434310Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20861
    },
    "data": {
      "thread.id": "140033603397312",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "7895af4a7a944efab04ed9999687296b",
    "span_id": "9652ea7e5893ab5e",
    "parent_span_id": "9ba6a2f28cf871d8",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:53.436380Z",
    "timestamp": "2026-05-19T07:28:53.927931Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140033718557568",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 32,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-async-streaming-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "982e7c762ab4844b",
    "trace_id": "7895af4a7a944efab04ed9999687296b",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:28:53.342568Z",
    "timestamp": "2026-05-19T07:28:54.077611Z",
    "data": {
      "thread.id": "140033718557568",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "9ba6a2f28cf871d8",
    "trace_id": "7895af4a7a944efab04ed9999687296b",
    "parent_span_id": "982e7c762ab4844b",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175733.36027,
    "timestamp": 1779175734.074127,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140033603397312",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "This is a test message that is repeated many times to create a long input.",
      "gen_ai.usage.input_tokens": 5426,
      "gen_ai.usage.output_tokens": 19,
      "gen_ai.usage.total_tokens": 5445,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "982e7c762ab4844b",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Long Input LLM Test (async, blocking, openai)❗︎ 112920ms
checkChatSpanAttributes
8fa1110egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8fa1110egen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "f752c51b95c147fd861b56a5026a22ba",
    "span_id": "97132826ea4177a8",
    "parent_span_id": "8fa1110eaf42d9e7",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:54.774827Z",
    "timestamp": "2026-05-19T07:28:54.777973Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20877
    },
    "data": {
      "thread.id": "140587726919360",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "f752c51b95c147fd861b56a5026a22ba",
    "span_id": "97775a6320590909",
    "parent_span_id": "8fa1110eaf42d9e7",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:54.778070Z",
    "timestamp": "2026-05-19T07:28:54.786961Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20877
    },
    "data": {
      "thread.id": "140587726919360",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "f752c51b95c147fd861b56a5026a22ba",
    "span_id": "b22b7a65152a4b41",
    "parent_span_id": "97775a6320590909",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:54.778165Z",
    "timestamp": "2026-05-19T07:28:54.786929Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20877
    },
    "data": {
      "thread.id": "140587726919360",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "f752c51b95c147fd861b56a5026a22ba",
    "span_id": "80e7dbd6fb7bb7db",
    "parent_span_id": "8fa1110eaf42d9e7",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:54.787048Z",
    "timestamp": "2026-05-19T07:28:54.787080Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20877
    },
    "data": {
      "thread.id": "140587726919360",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "f752c51b95c147fd861b56a5026a22ba",
    "span_id": "b0bd8e3c929bf120",
    "parent_span_id": "8fa1110eaf42d9e7",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:28:54.792175Z",
    "timestamp": "2026-05-19T07:28:55.626784Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140587840756608",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 36,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-async-blocking-openai.py",
      "code.function": "<module>"
    }
  },
  {
    "span_id": "adf56215f615585b",
    "trace_id": "f752c51b95c147fd861b56a5026a22ba",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:28:54.748639Z",
    "timestamp": "2026-05-19T07:28:55.688493Z",
    "data": {
      "thread.id": "140587840756608",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "8fa1110eaf42d9e7",
    "trace_id": "f752c51b95c147fd861b56a5026a22ba",
    "parent_span_id": "adf56215f615585b",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175734.763731,
    "timestamp": 1779175735.681832,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140587726919360",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "This message is a repeated test statement designed to generate a long input.",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.output_tokens": 14,
      "gen_ai.usage.total_tokens": 5443,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "adf56215f615585b",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Long Input LLM Test (async, blocking, anthropic)❗︎ 112786ms
checkChatSpanAttributes
926cee5fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
926cee5fgen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "fa92b56d38794f2490deba1c3570a619",
    "span_id": "9a20cdb17e26b41e",
    "parent_span_id": "926cee5fb399f62e",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:56.250209Z",
    "timestamp": "2026-05-19T07:28:56.254987Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20891
    },
    "data": {
      "thread.id": "140028080551616",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "fa92b56d38794f2490deba1c3570a619",
    "span_id": "a9350e7a231bf55a",
    "parent_span_id": "926cee5fb399f62e",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:56.255102Z",
    "timestamp": "2026-05-19T07:28:56.255267Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20891
    },
    "data": {
      "thread.id": "140028080551616",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "fa92b56d38794f2490deba1c3570a619",
    "span_id": "8d90eb9140992377",
    "parent_span_id": "a9350e7a231bf55a",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:56.255216Z",
    "timestamp": "2026-05-19T07:28:56.255257Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20891
    },
    "data": {
      "thread.id": "140028080551616",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "fa92b56d38794f2490deba1c3570a619",
    "span_id": "ad4e4c90af0c2e33",
    "parent_span_id": "926cee5fb399f62e",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:56.255304Z",
    "timestamp": "2026-05-19T07:28:56.255319Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20891
    },
    "data": {
      "thread.id": "140028080551616",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "fa92b56d38794f2490deba1c3570a619",
    "span_id": "ba4cfd83da2eb989",
    "parent_span_id": "926cee5fb399f62e",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:56.257415Z",
    "timestamp": "2026-05-19T07:28:57.226257Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140028269906816",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 36,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-async-blocking-anthropic.py",
      "code.function": "<module>"
    }
  },
  {
    "span_id": "a17fe6571caf5e3a",
    "trace_id": "fa92b56d38794f2490deba1c3570a619",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:28:56.135546Z",
    "timestamp": "2026-05-19T07:28:57.342583Z",
    "data": {
      "thread.id": "140028269906816",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "926cee5fb399f62e",
    "trace_id": "fa92b56d38794f2490deba1c3570a619",
    "parent_span_id": "a17fe6571caf5e3a",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175736.160771,
    "timestamp": 1779175737.341407,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140028080551616",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "This is a test message that is repeated many times to create a long input.",
      "gen_ai.usage.input_tokens": 5426,
      "gen_ai.usage.output_tokens": 19,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "a17fe6571caf5e3a",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Conversation ID LLM Test (sync, streaming, openai)❗︎ 116701ms
checkAISpanCount(4)
checkChatSpanAttributes
878db588gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
878db588gen_ai.output.messagesMissing output messages attribute
bcf6a3d3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bcf6a3d3gen_ai.output.messagesMissing output messages attribute
a40a6e4cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a40a6e4cgen_ai.output.messagesMissing output messages attribute
b3c7b48dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b3c7b48dgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (13)
[
  {
    "trace_id": "ec1a1f201c304b59adc6b0f7f1247f4c",
    "span_id": "abdd35380823cde7",
    "parent_span_id": "878db58843ff9e70",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:57.813048Z",
    "timestamp": "2026-05-19T07:28:57.819391Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20901
    },
    "data": {
      "thread.id": "140681921121152",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "ec1a1f201c304b59adc6b0f7f1247f4c",
    "span_id": "8f1ec1b27df47a4f",
    "parent_span_id": "878db58843ff9e70",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:57.819541Z",
    "timestamp": "2026-05-19T07:28:57.822129Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20901
    },
    "data": {
      "thread.id": "140681921121152",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "ec1a1f201c304b59adc6b0f7f1247f4c",
    "span_id": "b0c01dd911324228",
    "parent_span_id": "8f1ec1b27df47a4f",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:57.822031Z",
    "timestamp": "2026-05-19T07:28:57.822102Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20901
    },
    "data": {
      "thread.id": "140681921121152",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "ec1a1f201c304b59adc6b0f7f1247f4c",
    "span_id": "a7ec13947b2abd54",
    "parent_span_id": "878db58843ff9e70",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:57.822186Z",
    "timestamp": "2026-05-19T07:28:57.822204Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20901
    },
    "data": {
      "thread.id": "140681921121152",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "ec1a1f201c304b59adc6b0f7f1247f4c",
    "span_id": "827ae0ab7a831ed6",
    "parent_span_id": "878db58843ff9e70",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:28:57.823953Z",
    "timestamp": "2026-05-19T07:28:58.726398Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140681921121152",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 32,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "ec1a1f201c304b59adc6b0f7f1247f4c",
    "span_id": "b1dca1f3bcba48cb",
    "parent_span_id": "bcf6a3d351c71683",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:28:58.788080Z",
    "timestamp": "2026-05-19T07:29:00.177442Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140681921121152",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 44,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "ec1a1f201c304b59adc6b0f7f1247f4c",
    "span_id": "84c021efc6327c41",
    "parent_span_id": "a40a6e4c545cad70",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:00.242286Z",
    "timestamp": "2026-05-19T07:29:01.310020Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140681921121152",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 58,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "ec1a1f201c304b59adc6b0f7f1247f4c",
    "span_id": "ac2f6e02cd4e7e12",
    "parent_span_id": "b3c7b48d27a4baa5",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:01.434290Z",
    "timestamp": "2026-05-19T07:29:03.086550Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140681921121152",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 72,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "ae6775eb7c98ea2d",
    "trace_id": "ec1a1f201c304b59adc6b0f7f1247f4c",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:28:57.795837Z",
    "timestamp": "2026-05-19T07:29:03.187742Z",
    "data": {
      "thread.id": "140681921121152",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "878db58843ff9e70",
    "trace_id": "ec1a1f201c304b59adc6b0f7f1247f4c",
    "parent_span_id": "ae6775eb7c98ea2d",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175737.805026,
    "timestamp": 1779175738.776184,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140681921121152",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "Paris.",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 139,
      "gen_ai.usage.total_tokens": 162,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "ae6775eb7c98ea2d",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "bcf6a3d351c71683",
    "trace_id": "ec1a1f201c304b59adc6b0f7f1247f4c",
    "parent_span_id": "ae6775eb7c98ea2d",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175738.776642,
    "timestamp": 1779175740.236246,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140681921121152",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "4. Two plus two equals four.",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 337,
      "gen_ai.usage.total_tokens": 361,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "ae6775eb7c98ea2d",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a40a6e4c545cad70",
    "trace_id": "ec1a1f201c304b59adc6b0f7f1247f4c",
    "parent_span_id": "ae6775eb7c98ea2d",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175740.236697,
    "timestamp": 1779175741.425775,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140681921121152",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "Germany's capital is Berlin. Would you like a bit more information about Berlin?",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 217,
      "gen_ai.usage.total_tokens": 261,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "ae6775eb7c98ea2d",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b3c7b48d27a4baa5",
    "trace_id": "ec1a1f201c304b59adc6b0f7f1247f4c",
    "parent_span_id": "ae6775eb7c98ea2d",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175741.42629,
    "timestamp": 1779175743.187626,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140681921121152",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}, {\"role\": \"assistant\", \"content\": \"2 + 2 equals 4.\"}, {\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "3 + 3 = 6. It’s the same as 2 × 3, since adding a number to itself doubles it. Want a few more practice problems?",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 364,
      "gen_ai.usage.total_tokens": 414,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "ae6775eb7c98ea2d",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Conversation ID LLM Test (sync, streaming, anthropic)❗︎ 113920ms
checkAISpanCount(4)
checkChatSpanAttributes
a1f88719gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a1f88719gen_ai.output.messagesMissing output messages attribute
9496c4eagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9496c4eagen_ai.output.messagesMissing output messages attribute
8682221dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8682221dgen_ai.output.messagesMissing output messages attribute
a09b5551gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a09b5551gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (13)
[
  {
    "trace_id": "5fce749db25b4da6b7f2f19f6a17ecc0",
    "span_id": "94315d35195c3e87",
    "parent_span_id": "a1f88719e573b4cf",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:28:59.401454Z",
    "timestamp": "2026-05-19T07:28:59.413006Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20906
    },
    "data": {
      "thread.id": "139701083253632",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "5fce749db25b4da6b7f2f19f6a17ecc0",
    "span_id": "90a076820c39f54c",
    "parent_span_id": "a1f88719e573b4cf",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:59.413145Z",
    "timestamp": "2026-05-19T07:28:59.416412Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20906
    },
    "data": {
      "thread.id": "139701083253632",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "5fce749db25b4da6b7f2f19f6a17ecc0",
    "span_id": "b718c44ebc461091",
    "parent_span_id": "90a076820c39f54c",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:59.416330Z",
    "timestamp": "2026-05-19T07:28:59.416390Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20906
    },
    "data": {
      "thread.id": "139701083253632",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "5fce749db25b4da6b7f2f19f6a17ecc0",
    "span_id": "84fcbb5f5dd8a501",
    "parent_span_id": "a1f88719e573b4cf",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:28:59.416457Z",
    "timestamp": "2026-05-19T07:28:59.416473Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20906
    },
    "data": {
      "thread.id": "139701083253632",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "5fce749db25b4da6b7f2f19f6a17ecc0",
    "span_id": "9e84e4d2fb800e2f",
    "parent_span_id": "a1f88719e573b4cf",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:28:59.418003Z",
    "timestamp": "2026-05-19T07:29:00.099577Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139701083253632",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 32,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "5fce749db25b4da6b7f2f19f6a17ecc0",
    "span_id": "90b51f5590bf49c9",
    "parent_span_id": "9496c4ea6267a7c4",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:00.194202Z",
    "timestamp": "2026-05-19T07:29:00.792896Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139701083253632",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 44,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "5fce749db25b4da6b7f2f19f6a17ecc0",
    "span_id": "9bf86ec8862ec3fd",
    "parent_span_id": "8682221d1e6ef558",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:01.244272Z",
    "timestamp": "2026-05-19T07:29:01.937674Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139701083253632",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 58,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "5fce749db25b4da6b7f2f19f6a17ecc0",
    "span_id": "89e62267138ea776",
    "parent_span_id": "a09b55511af8e3d0",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:01.984313Z",
    "timestamp": "2026-05-19T07:29:02.696162Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139701083253632",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 72,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "9304d6972c2175d2",
    "trace_id": "5fce749db25b4da6b7f2f19f6a17ecc0",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:28:59.284454Z",
    "timestamp": "2026-05-19T07:29:02.757076Z",
    "data": {
      "thread.id": "139701083253632",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "a1f88719e573b4cf",
    "trace_id": "5fce749db25b4da6b7f2f19f6a17ecc0",
    "parent_span_id": "9304d6972c2175d2",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175739.302599,
    "timestamp": 1779175740.19216,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139701083253632",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "9304d6972c2175d2",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9496c4ea6267a7c4",
    "trace_id": "5fce749db25b4da6b7f2f19f6a17ecc0",
    "parent_span_id": "9304d6972c2175d2",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175740.192601,
    "timestamp": 1779175741.233995,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139701083253632",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "2 + 2 = **4**\n\nThis is one of the fundamental addition facts in mathematics. You can think of it as having 2 objects and adding 2 more objects, which gives you a total of 4 objects.",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 56,
      "gen_ai.usage.total_tokens": 79,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "9304d6972c2175d2",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8682221d1e6ef558",
    "trace_id": "5fce749db25b4da6b7f2f19f6a17ecc0",
    "parent_span_id": "9304d6972c2175d2",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175741.234416,
    "timestamp": 1779175741.982337,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139701083253632",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "The capital of Germany is Berlin.",
      "gen_ai.usage.input_tokens": 37,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 47,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "9304d6972c2175d2",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a09b55511af8e3d0",
    "trace_id": "5fce749db25b4da6b7f2f19f6a17ecc0",
    "parent_span_id": "9304d6972c2175d2",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175741.982701,
    "timestamp": 1779175742.756995,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "139701083253632",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}, {\"role\": \"assistant\", \"content\": \"2 + 2 equals 4.\"}, {\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "3 + 3 equals 6.",
      "gen_ai.usage.input_tokens": 49,
      "gen_ai.usage.output_tokens": 14,
      "gen_ai.usage.total_tokens": 63,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "9304d6972c2175d2",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Conversation ID LLM Test (sync, blocking, openai)❗︎ 117358ms
checkAISpanCount(4)
checkChatSpanAttributes
9d8c3724gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9d8c3724gen_ai.output.messagesMissing output messages attribute
b3b44364gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b3b44364gen_ai.output.messagesMissing output messages attribute
a154929bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a154929bgen_ai.output.messagesMissing output messages attribute
b9583714gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b9583714gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (13)
[
  {
    "trace_id": "ace05736a898488aa27e45546db780e6",
    "span_id": "a664ecfc35d007e5",
    "parent_span_id": "9d8c3724c46f7ea9",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:29:00.179983Z",
    "timestamp": "2026-05-19T07:29:00.185022Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20912
    },
    "data": {
      "thread.id": "140286388284288",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "ace05736a898488aa27e45546db780e6",
    "span_id": "bc952f0895aace1a",
    "parent_span_id": "9d8c3724c46f7ea9",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:00.185129Z",
    "timestamp": "2026-05-19T07:29:00.185269Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20912
    },
    "data": {
      "thread.id": "140286388284288",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "ace05736a898488aa27e45546db780e6",
    "span_id": "8f9ca0b2c4753b52",
    "parent_span_id": "bc952f0895aace1a",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:00.185224Z",
    "timestamp": "2026-05-19T07:29:00.185260Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20912
    },
    "data": {
      "thread.id": "140286388284288",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "ace05736a898488aa27e45546db780e6",
    "span_id": "a937b948d09e7496",
    "parent_span_id": "9d8c3724c46f7ea9",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:00.185300Z",
    "timestamp": "2026-05-19T07:29:00.185311Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20912
    },
    "data": {
      "thread.id": "140286388284288",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "ace05736a898488aa27e45546db780e6",
    "span_id": "95646ba529de2a7d",
    "parent_span_id": "9d8c3724c46f7ea9",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:00.186580Z",
    "timestamp": "2026-05-19T07:29:01.055948Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140286388284288",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 31,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "ace05736a898488aa27e45546db780e6",
    "span_id": "95da754874a1ec9a",
    "parent_span_id": "b3b443641da55cbd",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:01.112002Z",
    "timestamp": "2026-05-19T07:29:03.300041Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140286388284288",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 40,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "ace05736a898488aa27e45546db780e6",
    "span_id": "866397c49dada188",
    "parent_span_id": "a154929bced0b3b8",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:03.312298Z",
    "timestamp": "2026-05-19T07:29:04.486765Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140286388284288",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 51,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "ace05736a898488aa27e45546db780e6",
    "span_id": "8a3116f552b093ba",
    "parent_span_id": "b9583714237ffcdd",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:04.507442Z",
    "timestamp": "2026-05-19T07:29:07.232937Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140286388284288",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 62,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "bb43d6d1eb657798",
    "trace_id": "ace05736a898488aa27e45546db780e6",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:29:00.162458Z",
    "timestamp": "2026-05-19T07:29:07.233896Z",
    "data": {
      "thread.id": "140286388284288",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "9d8c3724c46f7ea9",
    "trace_id": "ace05736a898488aa27e45546db780e6",
    "parent_span_id": "bb43d6d1eb657798",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175740.168669,
    "timestamp": 1779175741.106537,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140286388284288",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "Paris.",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 75,
      "gen_ai.usage.total_tokens": 98,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "bb43d6d1eb657798",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b3b443641da55cbd",
    "trace_id": "ace05736a898488aa27e45546db780e6",
    "parent_span_id": "bb43d6d1eb657798",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175741.10706,
    "timestamp": 1779175743.301092,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140286388284288",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "4. Explanation: If you have two objects and add two more, you end up with four. On a number line, start at 2 and move 2 steps to the right to land on 4. Want a quick practice problem?",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 442,
      "gen_ai.usage.total_tokens": 466,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "bb43d6d1eb657798",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a154929bced0b3b8",
    "trace_id": "ace05736a898488aa27e45546db780e6",
    "parent_span_id": "bb43d6d1eb657798",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175743.301486,
    "timestamp": 1779175744.487598,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140286388284288",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "Berlin is the capital of Germany.",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 144,
      "gen_ai.usage.total_tokens": 188,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "bb43d6d1eb657798",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b9583714237ffcdd",
    "trace_id": "ace05736a898488aa27e45546db780e6",
    "parent_span_id": "bb43d6d1eb657798",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175744.493133,
    "timestamp": 1779175747.233836,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140286388284288",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}, {\"role\": \"assistant\", \"content\": \"2 + 2 equals 4.\"}, {\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "3 + 3 equals 6.\n\nThis is doubling: adding a number to itself. On a number line, start at 0, move 3 to reach 3, then 3 more to reach 6. Want to try a few more examples?",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 446,
      "gen_ai.usage.total_tokens": 496,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "bb43d6d1eb657798",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Conversation ID LLM Test (sync, blocking, anthropic)❗︎ 1 112686ms
checkAISpanCount(4)
checkChatSpanAttributes
bca9f716gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bca9f716gen_ai.output.messagesMissing output messages attribute
b1ba8c61gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b1ba8c61gen_ai.output.messagesMissing output messages attribute
9cfecc90gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9cfecc90gen_ai.output.messagesMissing output messages attribute
8f919da4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8f919da4gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
bca9f716gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (13)
[
  {
    "trace_id": "a2143bf1eea5493cad701d477fe5e5c3",
    "span_id": "ba473eb7ec5c32fa",
    "parent_span_id": "bca9f7167fa604ee",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:29:03.089015Z",
    "timestamp": "2026-05-19T07:29:03.094012Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20917
    },
    "data": {
      "thread.id": "140163532163968",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "a2143bf1eea5493cad701d477fe5e5c3",
    "span_id": "9cfc4b8e6228abde",
    "parent_span_id": "bca9f7167fa604ee",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:03.094131Z",
    "timestamp": "2026-05-19T07:29:03.094284Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20917
    },
    "data": {
      "thread.id": "140163532163968",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "a2143bf1eea5493cad701d477fe5e5c3",
    "span_id": "84b7ae5e713e1df4",
    "parent_span_id": "9cfc4b8e6228abde",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:03.094235Z",
    "timestamp": "2026-05-19T07:29:03.094273Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20917
    },
    "data": {
      "thread.id": "140163532163968",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "a2143bf1eea5493cad701d477fe5e5c3",
    "span_id": "ac66fbac42fc6049",
    "parent_span_id": "bca9f7167fa604ee",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:03.094317Z",
    "timestamp": "2026-05-19T07:29:03.094329Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20917
    },
    "data": {
      "thread.id": "140163532163968",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "a2143bf1eea5493cad701d477fe5e5c3",
    "span_id": "98032a7ae0c32ea5",
    "parent_span_id": "bca9f7167fa604ee",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:03.095816Z",
    "timestamp": "2026-05-19T07:29:03.885862Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140163532163968",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 31,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "a2143bf1eea5493cad701d477fe5e5c3",
    "span_id": "a8326be901eb280e",
    "parent_span_id": "b1ba8c6181750e6d",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:04.046812Z",
    "timestamp": "2026-05-19T07:29:04.791249Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140163532163968",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 40,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "a2143bf1eea5493cad701d477fe5e5c3",
    "span_id": "962d2903e1bd3a9f",
    "parent_span_id": "9cfecc90d2275ce0",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:04.797500Z",
    "timestamp": "2026-05-19T07:29:05.270511Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140163532163968",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 51,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "a2143bf1eea5493cad701d477fe5e5c3",
    "span_id": "b8f9d693b2c63bff",
    "parent_span_id": "8f919da424d5c739",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:05.276600Z",
    "timestamp": "2026-05-19T07:29:05.751924Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140163532163968",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 62,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "acfca2a6fed1f8f9",
    "trace_id": "a2143bf1eea5493cad701d477fe5e5c3",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:29:03.009745Z",
    "timestamp": "2026-05-19T07:29:05.756055Z",
    "data": {
      "thread.id": "140163532163968",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "bca9f7167fa604ee",
    "trace_id": "a2143bf1eea5493cad701d477fe5e5c3",
    "parent_span_id": "acfca2a6fed1f8f9",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175743.018556,
    "timestamp": 1779175744.044608,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140163532163968",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "The capital of France is **Paris**. It is located in the north-central part of the country along the Seine River and is the country's largest city.",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 36,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "acfca2a6fed1f8f9",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b1ba8c6181750e6d",
    "trace_id": "a2143bf1eea5493cad701d477fe5e5c3",
    "parent_span_id": "acfca2a6fed1f8f9",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175744.045079,
    "timestamp": 1779175744.792338,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140163532163968",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "2 + 2 = **4**\n\nThis is one of the most fundamental addition facts in mathematics! Is there anything else you'd like to know?",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 37,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "acfca2a6fed1f8f9",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9cfecc90d2275ce0",
    "trace_id": "a2143bf1eea5493cad701d477fe5e5c3",
    "parent_span_id": "acfca2a6fed1f8f9",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175744.792718,
    "timestamp": 1779175745.271469,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140163532163968",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "The capital of Germany is Berlin.",
      "gen_ai.usage.input_tokens": 37,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "acfca2a6fed1f8f9",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8f919da424d5c739",
    "trace_id": "a2143bf1eea5493cad701d477fe5e5c3",
    "parent_span_id": "acfca2a6fed1f8f9",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175745.271839,
    "timestamp": 1779175745.755936,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140163532163968",
      "thread.name": "MainThread",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}, {\"role\": \"assistant\", \"content\": \"2 + 2 equals 4.\"}, {\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "3 + 3 equals 6.",
      "gen_ai.usage.input_tokens": 49,
      "gen_ai.usage.output_tokens": 14,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "acfca2a6fed1f8f9",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Conversation ID LLM Test (async, streaming, openai)❗︎ 116556ms
checkAISpanCount(4)
checkChatSpanAttributes
a3144421gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a3144421gen_ai.output.messagesMissing output messages attribute
92bc19b7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
92bc19b7gen_ai.output.messagesMissing output messages attribute
9f2e6672gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9f2e6672gen_ai.output.messagesMissing output messages attribute
b30500a6gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b30500a6gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (13)
[
  {
    "trace_id": "34041d05ca0c4c9aa30950f93509a20c",
    "span_id": "a864ab30c87af6e2",
    "parent_span_id": "a31444210fe8582c",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:29:04.509457Z",
    "timestamp": "2026-05-19T07:29:04.516216Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20921
    },
    "data": {
      "thread.id": "140666420065984",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "34041d05ca0c4c9aa30950f93509a20c",
    "span_id": "a9f64d4723ebdadf",
    "parent_span_id": "a31444210fe8582c",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:04.516337Z",
    "timestamp": "2026-05-19T07:29:04.516509Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20921
    },
    "data": {
      "thread.id": "140666420065984",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "34041d05ca0c4c9aa30950f93509a20c",
    "span_id": "83d7d7f1821d85fa",
    "parent_span_id": "a9f64d4723ebdadf",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:04.516453Z",
    "timestamp": "2026-05-19T07:29:04.516494Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20921
    },
    "data": {
      "thread.id": "140666420065984",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "34041d05ca0c4c9aa30950f93509a20c",
    "span_id": "b64ccbbb118757d3",
    "parent_span_id": "a31444210fe8582c",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:04.516548Z",
    "timestamp": "2026-05-19T07:29:04.516563Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20921
    },
    "data": {
      "thread.id": "140666420065984",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "34041d05ca0c4c9aa30950f93509a20c",
    "span_id": "af6eb2ce2cd08436",
    "parent_span_id": "a31444210fe8582c",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:04.520761Z",
    "timestamp": "2026-05-19T07:29:05.240382Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140666605517696",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 33,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "34041d05ca0c4c9aa30950f93509a20c",
    "span_id": "b6ea44cbf3e40d39",
    "parent_span_id": "92bc19b76e4109f8",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:05.288660Z",
    "timestamp": "2026-05-19T07:29:06.505905Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140666605517696",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 45,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "34041d05ca0c4c9aa30950f93509a20c",
    "span_id": "9a80075ead0f90d1",
    "parent_span_id": "9f2e66726df53b07",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:06.649794Z",
    "timestamp": "2026-05-19T07:29:07.938776Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140666605517696",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 59,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "34041d05ca0c4c9aa30950f93509a20c",
    "span_id": "a8f69eef0c83ee54",
    "parent_span_id": "b30500a6b9c75725",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:08.081921Z",
    "timestamp": "2026-05-19T07:29:09.445803Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140666605517696",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 73,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "a09e001bb1d49332",
    "trace_id": "34041d05ca0c4c9aa30950f93509a20c",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:29:04.476503Z",
    "timestamp": "2026-05-19T07:29:09.601982Z",
    "data": {
      "thread.id": "140666605517696",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "a31444210fe8582c",
    "trace_id": "34041d05ca0c4c9aa30950f93509a20c",
    "parent_span_id": "a09e001bb1d49332",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175744.493209,
    "timestamp": 1779175745.282693,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140666420065984",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "Paris.",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 139,
      "gen_ai.usage.total_tokens": 162,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "a09e001bb1d49332",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "92bc19b76e4109f8",
    "trace_id": "34041d05ca0c4c9aa30950f93509a20c",
    "parent_span_id": "a09e001bb1d49332",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175745.286216,
    "timestamp": 1779175746.640681,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140666420065984",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "4. For example, 2 apples plus 2 apples equals 4 apples. Want a few more simple addition problems?",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 290,
      "gen_ai.usage.total_tokens": 314,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "a09e001bb1d49332",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9f2e66726df53b07",
    "trace_id": "34041d05ca0c4c9aa30950f93509a20c",
    "parent_span_id": "a09e001bb1d49332",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175746.644021,
    "timestamp": 1779175748.072735,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140666420065984",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "The capital of Germany is Berlin. It’s also the country’s largest city and a major cultural hub.",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 286,
      "gen_ai.usage.total_tokens": 330,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "a09e001bb1d49332",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b30500a6b9c75725",
    "trace_id": "34041d05ca0c4c9aa30950f93509a20c",
    "parent_span_id": "a09e001bb1d49332",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175748.075728,
    "timestamp": 1779175749.598401,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140666420065984",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}, {\"role\": \"assistant\", \"content\": \"2 + 2 equals 4.\"}, {\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "6. For example, three apples plus three apples makes six apples. Want a few more quick ones?",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 286,
      "gen_ai.usage.total_tokens": 336,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "a09e001bb1d49332",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Conversation ID LLM Test (async, streaming, anthropic)❗︎ 113437ms
checkAISpanCount(4)
checkChatSpanAttributes
b7a6518dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b7a6518dgen_ai.output.messagesMissing output messages attribute
8c9401ffgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8c9401ffgen_ai.output.messagesMissing output messages attribute
8076b34bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8076b34bgen_ai.output.messagesMissing output messages attribute
88780527gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
88780527gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (13)
[
  {
    "trace_id": "d9c4fbeb14884384af069040c13b1b1a",
    "span_id": "9587085b76e8cc90",
    "parent_span_id": "b7a6518d9caccaa1",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:29:04.656114Z",
    "timestamp": "2026-05-19T07:29:04.660204Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20927
    },
    "data": {
      "thread.id": "140149547595456",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "d9c4fbeb14884384af069040c13b1b1a",
    "span_id": "8f10d99192bf3c9f",
    "parent_span_id": "b7a6518d9caccaa1",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:04.660312Z",
    "timestamp": "2026-05-19T07:29:04.660444Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20927
    },
    "data": {
      "thread.id": "140149547595456",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "d9c4fbeb14884384af069040c13b1b1a",
    "span_id": "83a4cc88387c291a",
    "parent_span_id": "8f10d99192bf3c9f",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:04.660404Z",
    "timestamp": "2026-05-19T07:29:04.660435Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20927
    },
    "data": {
      "thread.id": "140149547595456",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "d9c4fbeb14884384af069040c13b1b1a",
    "span_id": "960855e033882ee9",
    "parent_span_id": "b7a6518d9caccaa1",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:04.660472Z",
    "timestamp": "2026-05-19T07:29:04.660482Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20927
    },
    "data": {
      "thread.id": "140149547595456",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "d9c4fbeb14884384af069040c13b1b1a",
    "span_id": "b435ef5adf0b7026",
    "parent_span_id": "b7a6518d9caccaa1",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:04.662214Z",
    "timestamp": "2026-05-19T07:29:05.084401Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140149741542272",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 33,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "d9c4fbeb14884384af069040c13b1b1a",
    "span_id": "b0622c442caf94e2",
    "parent_span_id": "8c9401ff3cb5a8c7",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:05.142825Z",
    "timestamp": "2026-05-19T07:29:05.886817Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140149741542272",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 45,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "d9c4fbeb14884384af069040c13b1b1a",
    "span_id": "9eecfdf8499f5366",
    "parent_span_id": "8076b34bebfa35cb",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:06.235219Z",
    "timestamp": "2026-05-19T07:29:06.653849Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140149741542272",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 59,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "d9c4fbeb14884384af069040c13b1b1a",
    "span_id": "aaa23f3354d4d254",
    "parent_span_id": "8878052751df996f",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:06.719675Z",
    "timestamp": "2026-05-19T07:29:07.152801Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140149741542272",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 73,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "9738535aed1d2f47",
    "trace_id": "d9c4fbeb14884384af069040c13b1b1a",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:29:04.566637Z",
    "timestamp": "2026-05-19T07:29:07.208055Z",
    "data": {
      "thread.id": "140149741542272",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b7a6518d9caccaa1",
    "trace_id": "d9c4fbeb14884384af069040c13b1b1a",
    "parent_span_id": "9738535aed1d2f47",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175744.585211,
    "timestamp": 1779175745.137462,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140149547595456",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "The capital of France is Paris.",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "9738535aed1d2f47",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8c9401ff3cb5a8c7",
    "trace_id": "d9c4fbeb14884384af069040c13b1b1a",
    "parent_span_id": "9738535aed1d2f47",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175745.141039,
    "timestamp": 1779175746.231087,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140149547595456",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "2 + 2 = **4**\n\nThis is a basic addition problem. When you combine 2 groups of 2 items, you get a total of 4 items.",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 45,
      "gen_ai.usage.total_tokens": 68,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "9738535aed1d2f47",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8076b34bebfa35cb",
    "trace_id": "d9c4fbeb14884384af069040c13b1b1a",
    "parent_span_id": "9738535aed1d2f47",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175746.233145,
    "timestamp": 1779175746.710168,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140149547595456",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "The capital of Germany is Berlin.",
      "gen_ai.usage.input_tokens": 37,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 47,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "9738535aed1d2f47",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8878052751df996f",
    "trace_id": "d9c4fbeb14884384af069040c13b1b1a",
    "parent_span_id": "9738535aed1d2f47",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175746.711359,
    "timestamp": 1779175747.206901,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140149547595456",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}, {\"role\": \"assistant\", \"content\": \"2 + 2 equals 4.\"}, {\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "3 + 3 equals 6.",
      "gen_ai.usage.input_tokens": 49,
      "gen_ai.usage.output_tokens": 14,
      "gen_ai.usage.total_tokens": 63,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "9738535aed1d2f47",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Conversation ID LLM Test (async, blocking, openai)❗︎ 117631ms
checkAISpanCount(4)
checkChatSpanAttributes
acd284dbgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
acd284dbgen_ai.output.messagesMissing output messages attribute
83baae2agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
83baae2agen_ai.output.messagesMissing output messages attribute
87cb2ab0gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
87cb2ab0gen_ai.output.messagesMissing output messages attribute
ace019e7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ace019e7gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (13)
[
  {
    "trace_id": "f79aa55c095b46e2860b8f8dbc97a422",
    "span_id": "89ac03c5e2a1d925",
    "parent_span_id": "acd284db2ce411aa",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:29:04.655179Z",
    "timestamp": "2026-05-19T07:29:04.658657Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20926
    },
    "data": {
      "thread.id": "140371298313920",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "f79aa55c095b46e2860b8f8dbc97a422",
    "span_id": "a7febe5fd46b20b9",
    "parent_span_id": "acd284db2ce411aa",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:04.658786Z",
    "timestamp": "2026-05-19T07:29:04.658983Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20926
    },
    "data": {
      "thread.id": "140371298313920",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "f79aa55c095b46e2860b8f8dbc97a422",
    "span_id": "9302e69f42613f7e",
    "parent_span_id": "a7febe5fd46b20b9",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:04.658928Z",
    "timestamp": "2026-05-19T07:29:04.658972Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20926
    },
    "data": {
      "thread.id": "140371298313920",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "f79aa55c095b46e2860b8f8dbc97a422",
    "span_id": "b05b2fd156395290",
    "parent_span_id": "acd284db2ce411aa",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:04.659025Z",
    "timestamp": "2026-05-19T07:29:04.659039Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20926
    },
    "data": {
      "thread.id": "140371298313920",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "f79aa55c095b46e2860b8f8dbc97a422",
    "span_id": "9c8f5ea1a73dc18b",
    "parent_span_id": "acd284db2ce411aa",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:04.660828Z",
    "timestamp": "2026-05-19T07:29:05.539542Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140371411110784",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 68,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-openai.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "f79aa55c095b46e2860b8f8dbc97a422",
    "span_id": "a896e67b22842cc3",
    "parent_span_id": "83baae2a28ef037b",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:05.598784Z",
    "timestamp": "2026-05-19T07:29:07.117509Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140371411110784",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 68,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-openai.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "f79aa55c095b46e2860b8f8dbc97a422",
    "span_id": "9a1839f8f0b71bde",
    "parent_span_id": "87cb2ab0daa40520",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:07.128330Z",
    "timestamp": "2026-05-19T07:29:08.144237Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140371411110784",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 68,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-openai.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "f79aa55c095b46e2860b8f8dbc97a422",
    "span_id": "9fc91b6c071d259c",
    "parent_span_id": "ace019e7df24aea4",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:08.161017Z",
    "timestamp": "2026-05-19T07:29:10.956231Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140371411110784",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 68,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-openai.py",
      "code.function": "<module>"
    }
  },
  {
    "span_id": "b66499272aac4af4",
    "trace_id": "f79aa55c095b46e2860b8f8dbc97a422",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:29:04.631467Z",
    "timestamp": "2026-05-19T07:29:10.973164Z",
    "data": {
      "thread.id": "140371411110784",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "acd284db2ce411aa",
    "trace_id": "f79aa55c095b46e2860b8f8dbc97a422",
    "parent_span_id": "b66499272aac4af4",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175744.643171,
    "timestamp": 1779175745.595051,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140371298313920",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "Paris.",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 139,
      "gen_ai.usage.total_tokens": 162,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "b66499272aac4af4",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "83baae2a28ef037b",
    "trace_id": "f79aa55c095b46e2860b8f8dbc97a422",
    "parent_span_id": "b66499272aac4af4",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175745.596069,
    "timestamp": 1779175747.121431,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140371298313920",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "4\n\nThat’s the basic addition: two plus two equals four. If you’d like, I can show quick ways to see it (like with a number line or with counting).",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 302,
      "gen_ai.usage.total_tokens": 326,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "b66499272aac4af4",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "87cb2ab0daa40520",
    "trace_id": "f79aa55c095b46e2860b8f8dbc97a422",
    "parent_span_id": "b66499272aac4af4",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175747.12222,
    "timestamp": 1779175748.14865,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140371298313920",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "The capital of Germany is Berlin.",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 144,
      "gen_ai.usage.total_tokens": 188,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "b66499272aac4af4",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "ace019e7df24aea4",
    "trace_id": "f79aa55c095b46e2860b8f8dbc97a422",
    "parent_span_id": "b66499272aac4af4",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175748.152036,
    "timestamp": 1779175750.966712,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140371298313920",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system": "openai-chat",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}, {\"role\": \"assistant\", \"content\": \"2 + 2 equals 4.\"}, {\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.finish_reasons": [
        "stop"
      ],
      "gen_ai.response.text": "3 + 3 equals 6. It’s adding two threes together (3 added to 3). If you want, I can give more examples.",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 233,
      "gen_ai.usage.total_tokens": 283,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "b66499272aac4af4",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/langchain :: Conversation ID LLM Test (async, blocking, anthropic)❗︎ 1 112950ms
checkAISpanCount(4)
checkChatSpanAttributes
94c8090dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
94c8090dgen_ai.output.messagesMissing output messages attribute
92687d51gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
92687d51gen_ai.output.messagesMissing output messages attribute
b06815bfgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b06815bfgen_ai.output.messagesMissing output messages attribute
a7523640gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a7523640gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
94c8090dgen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (13)
[
  {
    "trace_id": "39aaafeed2c141b6a8166fb726989955",
    "span_id": "85765dbcaa6db434",
    "parent_span_id": "94c8090de1a43d8e",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:29:04.925091Z",
    "timestamp": "2026-05-19T07:29:04.927978Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20930
    },
    "data": {
      "thread.id": "140644341249728",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "39aaafeed2c141b6a8166fb726989955",
    "span_id": "8eb77139a222d25b",
    "parent_span_id": "94c8090de1a43d8e",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:04.928084Z",
    "timestamp": "2026-05-19T07:29:04.929725Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20930
    },
    "data": {
      "thread.id": "140644341249728",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "39aaafeed2c141b6a8166fb726989955",
    "span_id": "a6a8d20d0a74fadc",
    "parent_span_id": "8eb77139a222d25b",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:04.929627Z",
    "timestamp": "2026-05-19T07:29:04.929707Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20930
    },
    "data": {
      "thread.id": "140644341249728",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "39aaafeed2c141b6a8166fb726989955",
    "span_id": "b7f99cbb9d75e44a",
    "parent_span_id": "94c8090de1a43d8e",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:04.929765Z",
    "timestamp": "2026-05-19T07:29:04.929784Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20930
    },
    "data": {
      "thread.id": "140644341249728",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "39aaafeed2c141b6a8166fb726989955",
    "span_id": "bf8a2f0083457e2e",
    "parent_span_id": "94c8090de1a43d8e",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:04.931541Z",
    "timestamp": "2026-05-19T07:29:05.622221Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140644537457536",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 68,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-anthropic.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "39aaafeed2c141b6a8166fb726989955",
    "span_id": "972b823072e93dca",
    "parent_span_id": "92687d517fdd6528",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:05.712307Z",
    "timestamp": "2026-05-19T07:29:06.785505Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140644537457536",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 68,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-anthropic.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "39aaafeed2c141b6a8166fb726989955",
    "span_id": "92811d7872ee55c8",
    "parent_span_id": "b06815bf20a370f6",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:06.795900Z",
    "timestamp": "2026-05-19T07:29:07.542725Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140644537457536",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 68,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-anthropic.py",
      "code.function": "<module>"
    }
  },
  {
    "trace_id": "39aaafeed2c141b6a8166fb726989955",
    "span_id": "9200b572325b2535",
    "parent_span_id": "a752364028546290",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:07.556068Z",
    "timestamp": "2026-05-19T07:29:08.029516Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140644537457536",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 68,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-anthropic.py",
      "code.function": "<module>"
    }
  },
  {
    "span_id": "9514540400e283ea",
    "trace_id": "39aaafeed2c141b6a8166fb726989955",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:29:04.883835Z",
    "timestamp": "2026-05-19T07:29:08.040683Z",
    "data": {
      "thread.id": "140644537457536",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "94c8090de1a43d8e",
    "trace_id": "39aaafeed2c141b6a8166fb726989955",
    "parent_span_id": "9514540400e283ea",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175744.890283,
    "timestamp": 1779175745.707072,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140644341249728",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "The capital of France is **Paris**. It is located in the north-central part of the country along the Seine River and is the largest city in France.",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 36,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "9514540400e283ea",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "92687d517fdd6528",
    "trace_id": "39aaafeed2c141b6a8166fb726989955",
    "parent_span_id": "9514540400e283ea",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175745.708158,
    "timestamp": 1779175746.793082,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140644341249728",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "2 + 2 = **4**\n\nThat's one of the most fundamental addition facts! Is there anything else you'd like help with in math?",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 37,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "9514540400e283ea",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b06815bf20a370f6",
    "trace_id": "39aaafeed2c141b6a8166fb726989955",
    "parent_span_id": "9514540400e283ea",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175746.79399,
    "timestamp": 1779175747.553142,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140644341249728",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "The capital of Germany is Berlin.",
      "gen_ai.usage.input_tokens": 37,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "9514540400e283ea",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a752364028546290",
    "trace_id": "39aaafeed2c141b6a8166fb726989955",
    "parent_span_id": "9514540400e283ea",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175747.554042,
    "timestamp": 1779175748.037101,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.langchain",
      "thread.id": "140644341249728",
      "thread.name": "asyncio_0",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.system": "anthropic-chat",
      "gen_ai.request.max_tokens": 64000,
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}, {\"role\": \"assistant\", \"content\": \"2 + 2 equals 4.\"}, {\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "3 + 3 equals 6.",
      "gen_ai.usage.input_tokens": 49,
      "gen_ai.usage.output_tokens": 14,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "9514540400e283ea",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Basic LLM Test (sync, streaming, completion, openai)❗︎ 116267ms
checkAISpanCount(1)
checkChatSpanAttributes
85d1201agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
85d1201agen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "3217eb24769f406da42d9ed745e2015d",
    "span_id": "ad7545b9bcad3181",
    "parent_span_id": "85d1201ac749f46c",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:29:07.891736Z",
    "timestamp": "2026-05-19T07:29:07.893989Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20950
    },
    "data": {
      "thread.id": "140185296870272",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "3217eb24769f406da42d9ed745e2015d",
    "span_id": "af5748366744a6a2",
    "parent_span_id": "85d1201ac749f46c",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:07.894087Z",
    "timestamp": "2026-05-19T07:29:07.897522Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20950
    },
    "data": {
      "thread.id": "140185296870272",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "3217eb24769f406da42d9ed745e2015d",
    "span_id": "8ba0b0943278ee62",
    "parent_span_id": "af5748366744a6a2",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:07.897451Z",
    "timestamp": "2026-05-19T07:29:07.897505Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20950
    },
    "data": {
      "thread.id": "140185296870272",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "3217eb24769f406da42d9ed745e2015d",
    "span_id": "b5d05eb5dbe71886",
    "parent_span_id": "85d1201ac749f46c",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:07.897562Z",
    "timestamp": "2026-05-19T07:29:07.897577Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20950
    },
    "data": {
      "thread.id": "140185296870272",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "3217eb24769f406da42d9ed745e2015d",
    "span_id": "825c6cbd9b8ce20c",
    "parent_span_id": "85d1201ac749f46c",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:07.899388Z",
    "timestamp": "2026-05-19T07:29:08.893340Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140185296870272",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-sync-streaming-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "bdf8bcffb4e2f64f",
    "trace_id": "3217eb24769f406da42d9ed745e2015d",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:29:07.831006Z",
    "timestamp": "2026-05-19T07:29:09.523877Z",
    "data": {
      "thread.id": "140185296870272",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "85d1201ac749f46c",
    "trace_id": "3217eb24769f406da42d9ed745e2015d",
    "parent_span_id": "bdf8bcffb4e2f64f",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175747.880594,
    "timestamp": 1779175749.420425,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140185296870272",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-5-nano",
      "gen_ai.response.text": "{\"content\": \"Paris.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 75,
      "gen_ai.usage.total_tokens": 98,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "bdf8bcffb4e2f64f",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Basic LLM Test (sync, streaming, completion, anthropic)❗︎ 114838ms
checkAISpanCount(1)
checkChatSpanAttributes
b5143d1bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b5143d1bgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "trace_id": "196b8d1fd49548a49a4c91a1e18e95ad",
    "span_id": "9e6281c611fb3e51",
    "parent_span_id": "b5143d1bc668e0be",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:08.431285Z",
    "timestamp": "2026-05-19T07:29:08.846077Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139969675516800",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-sync-streaming-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "9fe1c4ed8e34da96",
    "trace_id": "196b8d1fd49548a49a4c91a1e18e95ad",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:29:07.832459Z",
    "timestamp": "2026-05-19T07:29:09.011097Z",
    "data": {
      "thread.id": "139969675516800",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b5143d1bc668e0be",
    "trace_id": "196b8d1fd49548a49a4c91a1e18e95ad",
    "parent_span_id": "9fe1c4ed8e34da96",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175748.426624,
    "timestamp": 1779175748.912203,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139969675516800",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "gen_ai.response.text": "{\"content\": \"The capital of France is Paris.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "9fe1c4ed8e34da96",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Basic LLM Test (sync, streaming, responses, openai)❗︎ 1 114488ms
checkAISpanCount(1)
checkChatSpanAttributes
95de0308gen_ai.usage.input_tokensSpan 95de0308: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
95de0308gen_ai.usage.output_tokensSpan 95de0308: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkValidTokenUsage
95de0308gen_ai.usage.input_tokensinput_tokens must exist
95de0308gen_ai.usage.output_tokensoutput_tokens must exist
95de0308gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "trace_id": "2b89d7e871e04bada97c43dfd50140c6",
    "span_id": "831d0c58de48d93d",
    "parent_span_id": "95de030829323dfa",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:29:07.868328Z",
    "timestamp": "2026-05-19T07:29:08.053005Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139927787473792",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-sync-streaming-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "9df0dec87bc4fbf2",
    "trace_id": "2b89d7e871e04bada97c43dfd50140c6",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:29:07.839114Z",
    "timestamp": "2026-05-19T07:29:09.145989Z",
    "data": {
      "thread.id": "139927787473792",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "95de030829323dfa",
    "trace_id": "2b89d7e871e04bada97c43dfd50140c6",
    "parent_span_id": "9df0dec87bc4fbf2",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175747.865143,
    "timestamp": 1779175749.036371,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139927787473792",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "9df0dec87bc4fbf2",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Basic LLM Test (sync, streaming, responses, anthropic)❗︎ 112747ms
checkAISpanCount(1)
checkChatSpanAttributes
81c1ed36gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
81c1ed36gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "trace_id": "e54b41bcc4b049dc9190301aeb55bf82",
    "span_id": "b4fa16a6594b5448",
    "parent_span_id": "81c1ed363f5efb3f",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:08.526937Z",
    "timestamp": "2026-05-19T07:29:09.287000Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140617834437504",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-sync-streaming-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "8ec2cf69012052b7",
    "trace_id": "e54b41bcc4b049dc9190301aeb55bf82",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:29:07.832933Z",
    "timestamp": "2026-05-19T07:29:09.511715Z",
    "data": {
      "thread.id": "140617834437504",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "81c1ed363f5efb3f",
    "trace_id": "e54b41bcc4b049dc9190301aeb55bf82",
    "parent_span_id": "8ec2cf69012052b7",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175748.518234,
    "timestamp": 1779175749.373257,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140617834437504",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "gen_ai.response.text": "{\"content\": \"The capital of France is Paris.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "8ec2cf69012052b7",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Basic LLM Test (sync, blocking, completion, openai)❗︎ 112482ms
checkAISpanCount(1)
checkChatSpanAttributes
b21e792agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b21e792agen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "3fea4bdb71264a69a82a5677a9d35e4a",
    "span_id": "b0528e80496ca732",
    "parent_span_id": "b21e792af3bec523",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:29:12.776283Z",
    "timestamp": "2026-05-19T07:29:12.783902Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20983
    },
    "data": {
      "thread.id": "140133358533504",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "3fea4bdb71264a69a82a5677a9d35e4a",
    "span_id": "87e652d9a806fbd2",
    "parent_span_id": "b21e792af3bec523",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:12.784032Z",
    "timestamp": "2026-05-19T07:29:12.791368Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20983
    },
    "data": {
      "thread.id": "140133358533504",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "3fea4bdb71264a69a82a5677a9d35e4a",
    "span_id": "91442e2c70e78854",
    "parent_span_id": "87e652d9a806fbd2",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:12.791285Z",
    "timestamp": "2026-05-19T07:29:12.791346Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20983
    },
    "data": {
      "thread.id": "140133358533504",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "3fea4bdb71264a69a82a5677a9d35e4a",
    "span_id": "9213de0941066b46",
    "parent_span_id": "b21e792af3bec523",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:12.791410Z",
    "timestamp": "2026-05-19T07:29:12.791425Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 20983
    },
    "data": {
      "thread.id": "140133358533504",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "3fea4bdb71264a69a82a5677a9d35e4a",
    "span_id": "ad9ad28bf55ff6d6",
    "parent_span_id": "b21e792af3bec523",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:12.793181Z",
    "timestamp": "2026-05-19T07:29:13.810518Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140133358533504",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-sync-blocking-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "a94e200f74946a01",
    "trace_id": "3fea4bdb71264a69a82a5677a9d35e4a",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:29:12.695849Z",
    "timestamp": "2026-05-19T07:29:14.021161Z",
    "data": {
      "thread.id": "140133358533504",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b21e792af3bec523",
    "trace_id": "3fea4bdb71264a69a82a5677a9d35e4a",
    "parent_span_id": "a94e200f74946a01",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175752.764914,
    "timestamp": 1779175753.920373,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140133358533504",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "{\"content\": \"Paris.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"refusal\": \"None\"}, \"annotations\": []}",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 75,
      "gen_ai.usage.total_tokens": 98,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "a94e200f74946a01",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Basic LLM Test (sync, blocking, completion, anthropic)❗︎ 114403ms
checkAISpanCount(1)
checkChatSpanAttributes
abd8e006gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
abd8e006gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "trace_id": "865784419d114c8c8f4df4b0770aa9b4",
    "span_id": "b6a6ff48a8350fa4",
    "parent_span_id": "abd8e006fc0e0922",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:15.872090Z",
    "timestamp": "2026-05-19T07:29:16.352801Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140311387900800",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-sync-blocking-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "96afc3fb9df7d4bd",
    "trace_id": "865784419d114c8c8f4df4b0770aa9b4",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:29:14.952405Z",
    "timestamp": "2026-05-19T07:29:16.479978Z",
    "data": {
      "thread.id": "140311387900800",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "abd8e006fc0e0922",
    "trace_id": "865784419d114c8c8f4df4b0770aa9b4",
    "parent_span_id": "96afc3fb9df7d4bd",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175755.867386,
    "timestamp": 1779175756.375525,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140311387900800",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"The capital of France is Paris.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "96afc3fb9df7d4bd",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Basic LLM Test (sync, blocking, responses, openai)❗︎ 115478ms
checkAISpanCount(1)
checkChatSpanAttributes
8406cde7gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "trace_id": "6b37aa20ffd14ae9ae34b20411f4b2c3",
    "span_id": "b4f43b835a05326c",
    "parent_span_id": "8406cde79a70d9cc",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:29:17.886705Z",
    "timestamp": "2026-05-19T07:29:19.516421Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140250847124352",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-sync-blocking-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "8518f89b7623229d",
    "trace_id": "6b37aa20ffd14ae9ae34b20411f4b2c3",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:29:17.828567Z",
    "timestamp": "2026-05-19T07:29:19.650136Z",
    "data": {
      "thread.id": "140250847124352",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "8406cde79a70d9cc",
    "trace_id": "6b37aa20ffd14ae9ae34b20411f4b2c3",
    "parent_span_id": "8518f89b7623229d",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175757.876476,
    "timestamp": 1779175759.5491,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140250847124352",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 232,
      "gen_ai.usage.total_tokens": 255,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "8518f89b7623229d",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Basic LLM Test (sync, blocking, responses, anthropic)❗︎ 117026ms
checkAISpanCount(1)
checkChatSpanAttributes
9c8cbb20gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9c8cbb20gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "trace_id": "cf3882c9e1d14053bd45ff10a0d41cf8",
    "span_id": "a8d074d84ff1e6b5",
    "parent_span_id": "9c8cbb206fb133d5",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:23.624796Z",
    "timestamp": "2026-05-19T07:29:24.371930Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140064100580224",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-sync-blocking-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "8496224517527e10",
    "trace_id": "cf3882c9e1d14053bd45ff10a0d41cf8",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:29:23.020587Z",
    "timestamp": "2026-05-19T07:29:24.500050Z",
    "data": {
      "thread.id": "140064100580224",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "9c8cbb206fb133d5",
    "trace_id": "cf3882c9e1d14053bd45ff10a0d41cf8",
    "parent_span_id": "8496224517527e10",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175763.623209,
    "timestamp": 1779175764.392127,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140064100580224",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"The capital of France is Paris.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "8496224517527e10",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Basic LLM Test (async, streaming, completion, openai)❗︎ 117277ms
checkAISpanCount(1)
checkChatSpanAttributes
842532f5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
842532f5gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (8)
[
  {
    "trace_id": "08a945a692704a11899e1acee244333f",
    "span_id": "9222be4016327838",
    "parent_span_id": "842532f5bd7d2084",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:29:21.751262Z",
    "timestamp": "2026-05-19T07:29:21.756938Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21006
    },
    "data": {
      "thread.id": "139768073119424",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "08a945a692704a11899e1acee244333f",
    "span_id": "8e3fb7e874bb497b",
    "parent_span_id": "842532f5bd7d2084",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:21.757073Z",
    "timestamp": "2026-05-19T07:29:21.763126Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21006
    },
    "data": {
      "thread.id": "139768073119424",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "08a945a692704a11899e1acee244333f",
    "span_id": "84da525abbcac038",
    "parent_span_id": "8e3fb7e874bb497b",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:21.757235Z",
    "timestamp": "2026-05-19T07:29:21.763098Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21006
    },
    "data": {
      "thread.id": "139768073119424",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "08a945a692704a11899e1acee244333f",
    "span_id": "baf0fcbea477c1ed",
    "parent_span_id": "842532f5bd7d2084",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:21.763211Z",
    "timestamp": "2026-05-19T07:29:21.763243Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21006
    },
    "data": {
      "thread.id": "139768073119424",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "08a945a692704a11899e1acee244333f",
    "span_id": "b15959a4855aaa98",
    "parent_span_id": "842532f5bd7d2084",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:21.765284Z",
    "timestamp": "2026-05-19T07:29:23.536835Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139768228154240",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-async-streaming-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "08a945a692704a11899e1acee244333f",
    "span_id": "992887e91572ed18",
    "parent_span_id": "b15959a4855aaa98",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:21.766237Z",
    "timestamp": "2026-05-19T07:29:23.535586Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139768228154240",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-async-streaming-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "9985d165384a66c3",
    "trace_id": "08a945a692704a11899e1acee244333f",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:29:21.635534Z",
    "timestamp": "2026-05-19T07:29:24.208409Z",
    "data": {
      "thread.id": "139768228154240",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "842532f5bd7d2084",
    "trace_id": "08a945a692704a11899e1acee244333f",
    "parent_span_id": "9985d165384a66c3",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175761.734462,
    "timestamp": 1779175764.101784,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139768228154240",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-5-nano",
      "gen_ai.response.text": "{\"content\": \"Paris.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 203,
      "gen_ai.usage.total_tokens": 226,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "9985d165384a66c3",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Basic LLM Test (async, streaming, completion, anthropic)❗︎ 118374ms
checkAISpanCount(1)
checkChatSpanAttributes
9296215egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9296215egen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "trace_id": "1cf66322cb0c4a908407994f81dd1c73",
    "span_id": "952ee8d36dfd4e98",
    "parent_span_id": "9296215eeb8b8476",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:23.811712Z",
    "timestamp": "2026-05-19T07:29:24.543189Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140459321338752",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-async-streaming-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "1cf66322cb0c4a908407994f81dd1c73",
    "span_id": "8b2d9c1d764449fd",
    "parent_span_id": "952ee8d36dfd4e98",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:23.812605Z",
    "timestamp": "2026-05-19T07:29:24.541904Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140459321338752",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-async-streaming-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "a16a280c61e00423",
    "trace_id": "1cf66322cb0c4a908407994f81dd1c73",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:29:23.015854Z",
    "timestamp": "2026-05-19T07:29:24.812226Z",
    "data": {
      "thread.id": "140459321338752",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "9296215eeb8b8476",
    "trace_id": "1cf66322cb0c4a908407994f81dd1c73",
    "parent_span_id": "a16a280c61e00423",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175763.810232,
    "timestamp": 1779175764.700832,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140459165443776",
      "thread.name": "asyncio_0",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.response.text": "{\"content\": \"The capital of France is Paris.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "a16a280c61e00423",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Basic LLM Test (async, streaming, responses, openai)❗︎ 1 117584ms
checkAISpanCount(1)
checkChatSpanAttributes
8bf4011fgen_ai.usage.input_tokensSpan 8bf4011f: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
8bf4011fgen_ai.usage.output_tokensSpan 8bf4011f: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkValidTokenUsage
8bf4011fgen_ai.usage.input_tokensinput_tokens must exist
8bf4011fgen_ai.usage.output_tokensoutput_tokens must exist
8bf4011fgen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "trace_id": "a7f8c6a6ef0b432dbad0799e6b9b777f",
    "span_id": "b19665708a1f5c30",
    "parent_span_id": "8bf4011f3fdaac57",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:29:24.349618Z",
    "timestamp": "2026-05-19T07:29:24.559907Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139704254311296",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-async-streaming-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "a7f8c6a6ef0b432dbad0799e6b9b777f",
    "span_id": "ad71bdc714c90bee",
    "parent_span_id": "b19665708a1f5c30",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:29:24.350456Z",
    "timestamp": "2026-05-19T07:29:24.558627Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139704254311296",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-async-streaming-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "8faa1080f8d6a7b3",
    "trace_id": "a7f8c6a6ef0b432dbad0799e6b9b777f",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:29:23.891534Z",
    "timestamp": "2026-05-19T07:29:26.991229Z",
    "data": {
      "thread.id": "139704254311296",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "8bf4011f3fdaac57",
    "trace_id": "a7f8c6a6ef0b432dbad0799e6b9b777f",
    "parent_span_id": "8faa1080f8d6a7b3",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175764.348602,
    "timestamp": 1779175766.887155,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139704254311296",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "8faa1080f8d6a7b3",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Basic LLM Test (async, streaming, responses, anthropic)❗︎ 118807ms
checkAISpanCount(1)
checkChatSpanAttributes
b4c450b4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b4c450b4gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "trace_id": "13090f2e35c04cc08098f456ffecc540",
    "span_id": "991f35fa7feb9d39",
    "parent_span_id": "b4c450b4a2481ce8",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:26.224162Z",
    "timestamp": "2026-05-19T07:29:26.936686Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139887886728064",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-async-streaming-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "13090f2e35c04cc08098f456ffecc540",
    "span_id": "bd82f96406f7fd02",
    "parent_span_id": "991f35fa7feb9d39",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:26.225252Z",
    "timestamp": "2026-05-19T07:29:26.935524Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139887886728064",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-async-streaming-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "a4ad674f668c4dad",
    "trace_id": "13090f2e35c04cc08098f456ffecc540",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:29:25.779345Z",
    "timestamp": "2026-05-19T07:29:27.282415Z",
    "data": {
      "thread.id": "139887886728064",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b4c450b4a2481ce8",
    "trace_id": "13090f2e35c04cc08098f456ffecc540",
    "parent_span_id": "a4ad674f668c4dad",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175766.222705,
    "timestamp": 1779175767.170854,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139887617369792",
      "thread.name": "asyncio_1",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.response.text": "{\"content\": \"The capital of France is **Paris**. It is located in the north-central part of the country and is the largest city in France.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 32,
      "gen_ai.usage.total_tokens": 52,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "a4ad674f668c4dad",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Basic LLM Test (async, blocking, completion, openai)❗︎ 117958ms
checkAISpanCount(1)
checkChatSpanAttributes
81abc7f3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
81abc7f3gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (8)
[
  {
    "trace_id": "d383e30b482b49fdb2dd4bb18bec66b3",
    "span_id": "9cbf0f15fddee2e0",
    "parent_span_id": "81abc7f38c11bffb",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:29:25.836272Z",
    "timestamp": "2026-05-19T07:29:25.840000Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21036
    },
    "data": {
      "thread.id": "139989864769216",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "d383e30b482b49fdb2dd4bb18bec66b3",
    "span_id": "905f0c9cb8931c4b",
    "parent_span_id": "81abc7f38c11bffb",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:25.840118Z",
    "timestamp": "2026-05-19T07:29:25.841065Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21036
    },
    "data": {
      "thread.id": "139989864769216",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "d383e30b482b49fdb2dd4bb18bec66b3",
    "span_id": "bb21f19dd5cd8187",
    "parent_span_id": "905f0c9cb8931c4b",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:25.841007Z",
    "timestamp": "2026-05-19T07:29:25.841053Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21036
    },
    "data": {
      "thread.id": "139989864769216",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "d383e30b482b49fdb2dd4bb18bec66b3",
    "span_id": "a15e316617702352",
    "parent_span_id": "81abc7f38c11bffb",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:25.841103Z",
    "timestamp": "2026-05-19T07:29:25.841118Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21036
    },
    "data": {
      "thread.id": "139989864769216",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "d383e30b482b49fdb2dd4bb18bec66b3",
    "span_id": "adf9acb870b4aae6",
    "parent_span_id": "81abc7f38c11bffb",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:25.845080Z",
    "timestamp": "2026-05-19T07:29:27.432189Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139990020119424",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-async-blocking-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "d383e30b482b49fdb2dd4bb18bec66b3",
    "span_id": "9ef7840ad5c6bdcc",
    "parent_span_id": "adf9acb870b4aae6",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:25.845857Z",
    "timestamp": "2026-05-19T07:29:27.424721Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139990020119424",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-async-blocking-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "ba457632ec08bad3",
    "trace_id": "d383e30b482b49fdb2dd4bb18bec66b3",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:29:25.741670Z",
    "timestamp": "2026-05-19T07:29:27.621418Z",
    "data": {
      "thread.id": "139990020119424",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "81abc7f38c11bffb",
    "trace_id": "d383e30b482b49fdb2dd4bb18bec66b3",
    "parent_span_id": "ba457632ec08bad3",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175765.822741,
    "timestamp": 1779175767.518477,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139990020119424",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "{\"content\": \"The capital of France is Paris.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"refusal\": \"None\"}, \"annotations\": []}",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 208,
      "gen_ai.usage.total_tokens": 231,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "ba457632ec08bad3",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Basic LLM Test (async, blocking, completion, anthropic)❗︎ 118362ms
checkAISpanCount(1)
checkChatSpanAttributes
be3d54bdgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
be3d54bdgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "trace_id": "1baba02ac1404bc8951a03c746e9d67e",
    "span_id": "a5dfb39de1ad6190",
    "parent_span_id": "be3d54bdca19a99a",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:26.756191Z",
    "timestamp": "2026-05-19T07:29:27.248800Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139852560268160",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-async-blocking-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "1baba02ac1404bc8951a03c746e9d67e",
    "span_id": "8fb4514a0d967ff5",
    "parent_span_id": "a5dfb39de1ad6190",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:26.757091Z",
    "timestamp": "2026-05-19T07:29:27.247108Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139852560268160",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-async-blocking-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "b8e4d0ab238916d5",
    "trace_id": "1baba02ac1404bc8951a03c746e9d67e",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:29:26.122943Z",
    "timestamp": "2026-05-19T07:29:27.396294Z",
    "data": {
      "thread.id": "139852560268160",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "be3d54bdca19a99a",
    "trace_id": "1baba02ac1404bc8951a03c746e9d67e",
    "parent_span_id": "b8e4d0ab238916d5",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175766.754632,
    "timestamp": 1779175767.29051,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139852322436800",
      "thread.name": "asyncio_0",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"The capital of France is **Paris**.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 11,
      "gen_ai.usage.total_tokens": 31,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "b8e4d0ab238916d5",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Basic LLM Test (async, blocking, responses, openai)❗︎ 116151ms
checkAISpanCount(1)
checkChatSpanAttributes
82178220gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "trace_id": "73a2363926404033858c301d942a318b",
    "span_id": "9e301a6a2cb28df3",
    "parent_span_id": "821782204b40248c",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:29:24.841376Z",
    "timestamp": "2026-05-19T07:29:26.128071Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139911639174016",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-async-blocking-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "73a2363926404033858c301d942a318b",
    "span_id": "88e01cc7ef09d4f6",
    "parent_span_id": "9e301a6a2cb28df3",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:29:24.842241Z",
    "timestamp": "2026-05-19T07:29:26.124502Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139911639174016",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-async-blocking-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "b506ebc1aa5308eb",
    "trace_id": "73a2363926404033858c301d942a318b",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:29:24.810662Z",
    "timestamp": "2026-05-19T07:29:26.273341Z",
    "data": {
      "thread.id": "139911639174016",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "821782204b40248c",
    "trace_id": "73a2363926404033858c301d942a318b",
    "parent_span_id": "b506ebc1aa5308eb",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175764.840573,
    "timestamp": 1779175766.173106,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139911639174016",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 143,
      "gen_ai.usage.total_tokens": 166,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "b506ebc1aa5308eb",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Basic LLM Test (async, blocking, responses, anthropic)❗︎ 118805ms
checkAISpanCount(1)
checkChatSpanAttributes
8fecf1begen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8fecf1begen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "trace_id": "749f4e3c695b4f0eb3740a24551ff587",
    "span_id": "95cb6b0835dfe633",
    "parent_span_id": "8fecf1be954ee627",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:28.386168Z",
    "timestamp": "2026-05-19T07:29:28.934333Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140043623299968",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-async-blocking-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "749f4e3c695b4f0eb3740a24551ff587",
    "span_id": "b8c453661997a9f7",
    "parent_span_id": "95cb6b0835dfe633",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:28.387093Z",
    "timestamp": "2026-05-19T07:29:28.932613Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140043623299968",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-async-blocking-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "80c7c9028981d6d7",
    "trace_id": "749f4e3c695b4f0eb3740a24551ff587",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:29:27.410208Z",
    "timestamp": "2026-05-19T07:29:29.120227Z",
    "data": {
      "thread.id": "140043623299968",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "8fecf1be954ee627",
    "trace_id": "749f4e3c695b4f0eb3740a24551ff587",
    "parent_span_id": "80c7c9028981d6d7",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175768.384632,
    "timestamp": 1779175769.016919,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140043467974336",
      "thread.name": "asyncio_0",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"The capital of France is Paris.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "80c7c9028981d6d7",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Multi-Turn LLM Test (sync, streaming, completion, openai)❗︎ 125580ms
checkAISpanCount(3)
checkChatSpanAttributes
a84f56edgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a84f56edgen_ai.output.messagesMissing output messages attribute
b0e7e208gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b0e7e208gen_ai.output.messagesMissing output messages attribute
9c994bfegen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9c994bfegen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (11)
[
  {
    "trace_id": "708c27baa45e4bce9172e07129cb6f51",
    "span_id": "8ad0c99be4af214e",
    "parent_span_id": "a84f56ed1e735d58",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:29:28.353384Z",
    "timestamp": "2026-05-19T07:29:28.360039Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21068
    },
    "data": {
      "thread.id": "139770823809920",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "708c27baa45e4bce9172e07129cb6f51",
    "span_id": "a378517843421b8a",
    "parent_span_id": "a84f56ed1e735d58",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:28.360182Z",
    "timestamp": "2026-05-19T07:29:28.360342Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21068
    },
    "data": {
      "thread.id": "139770823809920",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "708c27baa45e4bce9172e07129cb6f51",
    "span_id": "8c115562edbc206c",
    "parent_span_id": "a378517843421b8a",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:28.360296Z",
    "timestamp": "2026-05-19T07:29:28.360334Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21068
    },
    "data": {
      "thread.id": "139770823809920",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "708c27baa45e4bce9172e07129cb6f51",
    "span_id": "baa798a3d13f552c",
    "parent_span_id": "a84f56ed1e735d58",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:28.360369Z",
    "timestamp": "2026-05-19T07:29:28.360382Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21068
    },
    "data": {
      "thread.id": "139770823809920",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "708c27baa45e4bce9172e07129cb6f51",
    "span_id": "af74842c418d9972",
    "parent_span_id": "a84f56ed1e735d58",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:28.362219Z",
    "timestamp": "2026-05-19T07:29:29.098977Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139770823809920",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-streaming-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "708c27baa45e4bce9172e07129cb6f51",
    "span_id": "8f0f7c0f62413836",
    "parent_span_id": "b0e7e208f1ab0654",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:29.905273Z",
    "timestamp": "2026-05-19T07:29:34.451718Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139770823809920",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 56,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-streaming-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "708c27baa45e4bce9172e07129cb6f51",
    "span_id": "90132cf6c5f21521",
    "parent_span_id": "9c994bfe60c87790",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:34.980654Z",
    "timestamp": "2026-05-19T07:29:41.301328Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139770823809920",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 90,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-streaming-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "a3442d45d5680a60",
    "trace_id": "708c27baa45e4bce9172e07129cb6f51",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:29:28.302481Z",
    "timestamp": "2026-05-19T07:29:41.790613Z",
    "data": {
      "thread.id": "139770823809920",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "a84f56ed1e735d58",
    "trace_id": "708c27baa45e4bce9172e07129cb6f51",
    "parent_span_id": "a3442d45d5680a60",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175768.342632,
    "timestamp": 1779175769.790802,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139770823809920",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-5-nano",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 75,
      "gen_ai.usage.total_tokens": 98,
      "gen_ai.response.text": "{\"content\": \"Paris.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "a3442d45d5680a60",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b0e7e208f1ab0654",
    "trace_id": "708c27baa45e4bce9172e07129cb6f51",
    "parent_span_id": "a3442d45d5680a60",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175769.89611,
    "timestamp": 1779175774.864723,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139770823809920",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-5-nano",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 1097,
      "gen_ai.usage.total_tokens": 1145,
      "gen_ai.response.text": "{\"content\": \"Paris (city proper) has about 2.1 million residents. The Paris metropolitan area (the wider urban area) is much larger, around 12 million people.\\n\\nIf you had a different definition in mind (e.g., \\u00cele-de-France region vs. the city proper), tell me and I\\u2019ll adjust.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "a3442d45d5680a60",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9c994bfe60c87790",
    "trace_id": "708c27baa45e4bce9172e07129cb6f51",
    "parent_span_id": "a3442d45d5680a60",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175774.970448,
    "timestamp": 1779175781.691336,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139770823809920",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}, {\"role\": \"assistant\", \"content\": \"Paris has a population of approximately 2.2 million people in the city proper.\"}, {\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-5-nano",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 1505,
      "gen_ai.usage.total_tokens": 1586,
      "gen_ai.response.text": "{\"content\": \"Definitions vary, but commonly cited figures are:\\n\\n- Paris metropolitan area (the urban area around Paris, \\u201caire urbaine\\u201d): about 12 million people.\\n- \\u00cele-de-France region (administrative region that includes Paris and surrounding d\\u00e9partements): around 12\\u201313 million.\\n- Paris city proper: about 2.2 million.\\n\\nIf you have a specific definition or year in mind, I can give a precise figure.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "a3442d45d5680a60",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Multi-Turn LLM Test (sync, streaming, completion, anthropic)❗︎ 120362ms
checkAISpanCount(3)
checkChatSpanAttributes
9a37593bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9a37593bgen_ai.output.messagesMissing output messages attribute
bc24f2c0gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bc24f2c0gen_ai.output.messagesMissing output messages attribute
b75ef5c9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b75ef5c9gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "02a8ef833ce449b0a84bbf741070fbc3",
    "span_id": "bf764e06da863d59",
    "parent_span_id": "9a37593b56a86f21",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:34.206112Z",
    "timestamp": "2026-05-19T07:29:34.936081Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140355917093760",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-streaming-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "02a8ef833ce449b0a84bbf741070fbc3",
    "span_id": "99046f351ad7b68b",
    "parent_span_id": "bc24f2c0bc186fb8",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:35.123580Z",
    "timestamp": "2026-05-19T07:29:35.652694Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140355917093760",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 56,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-streaming-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "02a8ef833ce449b0a84bbf741070fbc3",
    "span_id": "84ac23cfdab0369f",
    "parent_span_id": "b75ef5c94bba3918",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:36.600364Z",
    "timestamp": "2026-05-19T07:29:37.022671Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140355917093760",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 90,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-streaming-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "a8ea5759ee27968d",
    "trace_id": "02a8ef833ce449b0a84bbf741070fbc3",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:29:33.242227Z",
    "timestamp": "2026-05-19T07:29:37.392949Z",
    "data": {
      "thread.id": "140355917093760",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "9a37593b56a86f21",
    "trace_id": "02a8ef833ce449b0a84bbf741070fbc3",
    "parent_span_id": "a8ea5759ee27968d",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175774.198316,
    "timestamp": 1779175775.020204,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140355917093760",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "gen_ai.response.text": "{\"content\": \"The capital of France is Paris.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "a8ea5759ee27968d",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "bc24f2c0bc186fb8",
    "trace_id": "02a8ef833ce449b0a84bbf741070fbc3",
    "parent_span_id": "a8ea5759ee27968d",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175775.12271,
    "timestamp": 1779175776.496275,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140355917093760",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.usage.input_tokens": 41,
      "gen_ai.usage.output_tokens": 90,
      "gen_ai.usage.total_tokens": 131,
      "gen_ai.response.text": "{\"content\": \"Paris has a population of approximately 2.1-2.2 million people within the city proper (the administrative boundaries of Paris).\\n\\nHowever, the greater Paris metropolitan area (\\u00cele-de-France region) has a much larger population of around 12 million people, making it one of the largest metropolitan areas in Europe.\\n\\nThe exact figures can vary slightly depending on the source and the most recent census data.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "a8ea5759ee27968d",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b75ef5c94bba3918",
    "trace_id": "02a8ef833ce449b0a84bbf741070fbc3",
    "parent_span_id": "a8ea5759ee27968d",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175776.598489,
    "timestamp": 1779175777.294685,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140355917093760",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}, {\"role\": \"assistant\", \"content\": \"Paris has a population of approximately 2.2 million people in the city proper.\"}, {\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.usage.input_tokens": 71,
      "gen_ai.usage.output_tokens": 38,
      "gen_ai.usage.total_tokens": 109,
      "gen_ai.response.text": "{\"content\": \"The Paris metropolitan area (\\u00cele-de-France region) has a population of approximately 12 million people, making it one of the largest metropolitan areas in Europe.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "a8ea5759ee27968d",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Multi-Turn LLM Test (sync, streaming, responses, openai)❗︎ 1 133302ms
checkAISpanCount(3)
checkChatSpanAttributes
be687087gen_ai.usage.input_tokensSpan be687087: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
be687087gen_ai.usage.output_tokensSpan be687087: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
818fdadegen_ai.usage.input_tokensSpan 818fdade: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
818fdadegen_ai.usage.output_tokensSpan 818fdade: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
8485474cgen_ai.usage.input_tokensSpan 8485474c: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
8485474cgen_ai.usage.output_tokensSpan 8485474c: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkValidTokenUsage
be687087gen_ai.usage.input_tokensinput_tokens must exist
be687087gen_ai.usage.output_tokensoutput_tokens must exist
be687087gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "8e87cb048fa44947b0004ab50bafe238",
    "span_id": "91030ed3f5e7fd1b",
    "parent_span_id": "be6870875825ed59",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:29:35.236703Z",
    "timestamp": "2026-05-19T07:29:35.433077Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140159042816896",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-streaming-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "8e87cb048fa44947b0004ab50bafe238",
    "span_id": "90620928593e6242",
    "parent_span_id": "818fdade1e0bf386",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:29:36.549706Z",
    "timestamp": "2026-05-19T07:29:36.755561Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140159042816896",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 53,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-streaming-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "8e87cb048fa44947b0004ab50bafe238",
    "span_id": "92a899381d0d2598",
    "parent_span_id": "8485474cfc9ba52d",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:29:43.686072Z",
    "timestamp": "2026-05-19T07:29:43.890196Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140159042816896",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 84,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-streaming-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "804d33de19f05ced",
    "trace_id": "8e87cb048fa44947b0004ab50bafe238",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:29:35.209771Z",
    "timestamp": "2026-05-19T07:29:53.874998Z",
    "data": {
      "thread.id": "140159042816896",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "be6870875825ed59",
    "trace_id": "8e87cb048fa44947b0004ab50bafe238",
    "parent_span_id": "804d33de19f05ced",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175775.235695,
    "timestamp": 1779175776.441561,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140159042816896",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "804d33de19f05ced",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "818fdade1e0bf386",
    "trace_id": "8e87cb048fa44947b0004ab50bafe238",
    "parent_span_id": "804d33de19f05ced",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175776.548823,
    "timestamp": 1779175783.578175,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140159042816896",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "804d33de19f05ced",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8485474cfc9ba52d",
    "trace_id": "8e87cb048fa44947b0004ab50bafe238",
    "parent_span_id": "804d33de19f05ced",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175783.682266,
    "timestamp": 1779175793.766856,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140159042816896",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}, {\"role\": \"assistant\", \"content\": \"Paris has a population of approximately 2.2 million people in the city proper.\"}, {\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "804d33de19f05ced",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Multi-Turn LLM Test (sync, streaming, responses, anthropic)❗︎ 115242ms
checkAISpanCount(3)
checkChatSpanAttributes
b3c3644bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b3c3644bgen_ai.output.messagesMissing output messages attribute
9e5c2c84gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9e5c2c84gen_ai.output.messagesMissing output messages attribute
9c9e1c91gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9c9e1c91gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "b37d9cc0f0414eb0a971bd13ee75d16b",
    "span_id": "95420d8a79e30234",
    "parent_span_id": "b3c3644be92d073c",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:36.417560Z",
    "timestamp": "2026-05-19T07:29:36.892208Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140463385734016",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-streaming-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "b37d9cc0f0414eb0a971bd13ee75d16b",
    "span_id": "93649c25d31d2e03",
    "parent_span_id": "9e5c2c84325d05dd",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:37.140268Z",
    "timestamp": "2026-05-19T07:29:37.674679Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140463385734016",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 53,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-streaming-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "b37d9cc0f0414eb0a971bd13ee75d16b",
    "span_id": "bdb7c6790217eec3",
    "parent_span_id": "9c9e1c91602082c4",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:38.573386Z",
    "timestamp": "2026-05-19T07:29:39.087607Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140463385734016",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 84,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-streaming-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "9d98b0475860be3f",
    "trace_id": "b37d9cc0f0414eb0a971bd13ee75d16b",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:29:35.616638Z",
    "timestamp": "2026-05-19T07:29:39.611697Z",
    "data": {
      "thread.id": "140463385734016",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b3c3644be92d073c",
    "trace_id": "b37d9cc0f0414eb0a971bd13ee75d16b",
    "parent_span_id": "9d98b0475860be3f",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175776.416002,
    "timestamp": 1779175776.998953,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140463385734016",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "gen_ai.response.text": "{\"content\": \"The capital of France is Paris.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "9d98b0475860be3f",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9e5c2c84325d05dd",
    "trace_id": "b37d9cc0f0414eb0a971bd13ee75d16b",
    "parent_span_id": "9d98b0475860be3f",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175777.133345,
    "timestamp": 1779175778.453943,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140463385734016",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.usage.input_tokens": 41,
      "gen_ai.usage.output_tokens": 82,
      "gen_ai.usage.total_tokens": 123,
      "gen_ai.response.text": "{\"content\": \"The population of Paris depends on which area you're referring to:\\n\\n- **City of Paris proper**: Approximately 2.1 million people\\n- **Paris metropolitan area (\\u00cele-de-France region)**: Approximately 12 million people\\n\\nThe larger metropolitan area figure is often used when discussing Paris's total population, as it includes the surrounding suburbs and urban areas.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "9d98b0475860be3f",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9c9e1c91602082c4",
    "trace_id": "b37d9cc0f0414eb0a971bd13ee75d16b",
    "parent_span_id": "9d98b0475860be3f",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175778.569506,
    "timestamp": 1779175779.491259,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140463385734016",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}, {\"role\": \"assistant\", \"content\": \"Paris has a population of approximately 2.2 million people in the city proper.\"}, {\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.usage.input_tokens": 71,
      "gen_ai.usage.output_tokens": 42,
      "gen_ai.usage.total_tokens": 113,
      "gen_ai.response.text": "{\"content\": \"The Paris metropolitan area (\\u00cele-de-France region) has a population of approximately 12-12.5 million people, making it one of the largest metropolitan areas in Europe.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "9d98b0475860be3f",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Multi-Turn LLM Test (sync, blocking, completion, openai)❗︎ 129274ms
checkAISpanCount(3)
checkChatSpanAttributes
8349e477gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8349e477gen_ai.output.messagesMissing output messages attribute
b99f3631gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b99f3631gen_ai.output.messagesMissing output messages attribute
81e0d834gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
81e0d834gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (11)
[
  {
    "trace_id": "4c333d93a74d4c489aa8af3b4af64c74",
    "span_id": "8d4f89551624004a",
    "parent_span_id": "8349e477fb6fcebe",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:29:37.932806Z",
    "timestamp": "2026-05-19T07:29:37.939573Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21119
    },
    "data": {
      "thread.id": "140344313195392",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "4c333d93a74d4c489aa8af3b4af64c74",
    "span_id": "bb40a78fe3f024f6",
    "parent_span_id": "8349e477fb6fcebe",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:37.939713Z",
    "timestamp": "2026-05-19T07:29:37.939927Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21119
    },
    "data": {
      "thread.id": "140344313195392",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "4c333d93a74d4c489aa8af3b4af64c74",
    "span_id": "976a5f047842d20c",
    "parent_span_id": "bb40a78fe3f024f6",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:37.939839Z",
    "timestamp": "2026-05-19T07:29:37.939916Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21119
    },
    "data": {
      "thread.id": "140344313195392",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "4c333d93a74d4c489aa8af3b4af64c74",
    "span_id": "8db9c32860057424",
    "parent_span_id": "8349e477fb6fcebe",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:37.939971Z",
    "timestamp": "2026-05-19T07:29:37.939987Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21119
    },
    "data": {
      "thread.id": "140344313195392",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "4c333d93a74d4c489aa8af3b4af64c74",
    "span_id": "af172c1deb136972",
    "parent_span_id": "8349e477fb6fcebe",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:37.941790Z",
    "timestamp": "2026-05-19T07:29:38.662639Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140344313195392",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-blocking-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "4c333d93a74d4c489aa8af3b4af64c74",
    "span_id": "9196a17bc5473f3c",
    "parent_span_id": "b99f36311e43dfb1",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:38.878511Z",
    "timestamp": "2026-05-19T07:29:44.283079Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140344313195392",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 48,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-blocking-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "4c333d93a74d4c489aa8af3b4af64c74",
    "span_id": "a4b050cdabfce87e",
    "parent_span_id": "81e0d83482c24844",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:44.391970Z",
    "timestamp": "2026-05-19T07:29:53.894652Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140344313195392",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 74,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-blocking-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "967104c78b52689e",
    "trace_id": "4c333d93a74d4c489aa8af3b4af64c74",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:29:37.876714Z",
    "timestamp": "2026-05-19T07:29:54.000595Z",
    "data": {
      "thread.id": "140344313195392",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "8349e477fb6fcebe",
    "trace_id": "4c333d93a74d4c489aa8af3b4af64c74",
    "parent_span_id": "967104c78b52689e",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175777.915062,
    "timestamp": 1779175778.763691,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140344313195392",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "{\"content\": \"Paris.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"refusal\": \"None\"}, \"annotations\": []}",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 75,
      "gen_ai.usage.total_tokens": 98,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "967104c78b52689e",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b99f36311e43dfb1",
    "trace_id": "4c333d93a74d4c489aa8af3b4af64c74",
    "parent_span_id": "967104c78b52689e",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175778.869119,
    "timestamp": 1779175784.289358,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140344313195392",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "{\"content\": \"Paris (the city proper) has about 2.1 million residents. The wider Paris metropolitan area (\\u00cele-de-France) has roughly 12 million people. If you\\u2019d like, I can give the latest official figures from INSEE and specify which definition you want (city proper, urban area, or metropolitan area).\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"refusal\": \"None\"}, \"annotations\": []}",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 906,
      "gen_ai.usage.total_tokens": 954,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "967104c78b52689e",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "81e0d83482c24844",
    "trace_id": "4c333d93a74d4c489aa8af3b4af64c74",
    "parent_span_id": "967104c78b52689e",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175784.389317,
    "timestamp": 1779175793.900853,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140344313195392",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}, {\"role\": \"assistant\", \"content\": \"Paris has a population of approximately 2.2 million people in the city proper.\"}, {\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "{\"content\": \"If by \\u201cmetropolitan area\\u201d you mean the common Paris metro area definitions, here are the main figures (approximate and year can vary by source):\\n\\n- Paris urban area (aire urbaine): about 12 million people.\\n- \\u00cele-de-France region (the administrative region that includes Paris and its suburbs): about 12 million people as well.\\n- M\\u00e9tropole du Grand Paris (the intercommunal metropolis around Paris): about 7\\u20138 million people.\\n\\nDefinitions vary, so if you can specify which one you want (urban area vs. administrative region vs. a specific metro governance area), I can give a precise figure and source.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"refusal\": \"None\"}, \"annotations\": []}",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 1869,
      "gen_ai.usage.total_tokens": 1950,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "967104c78b52689e",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Multi-Turn LLM Test (sync, blocking, completion, anthropic)❗︎ 116889ms
checkAISpanCount(3)
checkChatSpanAttributes
8bf41254gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8bf41254gen_ai.output.messagesMissing output messages attribute
a2c39445gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a2c39445gen_ai.output.messagesMissing output messages attribute
b6270dcagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b6270dcagen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "a2885417f2744d6e818847d5007d6196",
    "span_id": "a85dfba69c8367e0",
    "parent_span_id": "8bf41254f44bcea9",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:39.991767Z",
    "timestamp": "2026-05-19T07:29:40.553481Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139726290594688",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-blocking-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "a2885417f2744d6e818847d5007d6196",
    "span_id": "bdcc2af93e273658",
    "parent_span_id": "a2c39445cd3011ca",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:40.678383Z",
    "timestamp": "2026-05-19T07:29:42.449018Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139726290594688",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 48,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-blocking-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "a2885417f2744d6e818847d5007d6196",
    "span_id": "b4f169b972b3570f",
    "parent_span_id": "b6270dca0f4d2755",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:42.553536Z",
    "timestamp": "2026-05-19T07:29:43.303728Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139726290594688",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 74,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-blocking-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "b6842a43d1da0a19",
    "trace_id": "a2885417f2744d6e818847d5007d6196",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:29:39.509157Z",
    "timestamp": "2026-05-19T07:29:43.405638Z",
    "data": {
      "thread.id": "139726290594688",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "8bf41254f44bcea9",
    "trace_id": "a2885417f2744d6e818847d5007d6196",
    "parent_span_id": "b6842a43d1da0a19",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175779.990194,
    "timestamp": 1779175780.569275,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139726290594688",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"The capital of France is Paris.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "b6842a43d1da0a19",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a2c39445cd3011ca",
    "trace_id": "a2885417f2744d6e818847d5007d6196",
    "parent_span_id": "b6842a43d1da0a19",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175780.673389,
    "timestamp": 1779175782.451242,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139726290594688",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"The population of Paris depends on how you measure it:\\n\\n- **City proper** (Paris municipality): Approximately 2.1 million people\\n- **Metropolitan area** (\\u00cele-de-France region): Approximately 12 million people\\n\\nThe city proper refers to just the central city within its administrative boundaries, while the metropolitan area includes the larger urban region surrounding Paris. Most people use the metropolitan figure when discussing the greater Paris area.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 41,
      "gen_ai.usage.output_tokens": 95,
      "gen_ai.usage.total_tokens": 136,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "b6842a43d1da0a19",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b6270dca0f4d2755",
    "trace_id": "a2885417f2744d6e818847d5007d6196",
    "parent_span_id": "b6842a43d1da0a19",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175782.552561,
    "timestamp": 1779175783.305942,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139726290594688",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}, {\"role\": \"assistant\", \"content\": \"Paris has a population of approximately 2.2 million people in the city proper.\"}, {\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"The Paris metropolitan area (\\u00cele-de-France region) has a population of approximately 12 million people, making it one of the largest metropolitan areas in Europe.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 71,
      "gen_ai.usage.output_tokens": 38,
      "gen_ai.usage.total_tokens": 109,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "b6842a43d1da0a19",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Multi-Turn LLM Test (sync, blocking, responses, openai)❗︎ 133868ms
checkAISpanCount(3)
checkChatSpanAttributes
83a0dfd7gen_ai.output.messagesMissing output messages attribute
bd746c02gen_ai.output.messagesMissing output messages attribute
8bf8226dgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "8601269402454766bc5d1d3a9d469031",
    "span_id": "bcc2bacdb012e35a",
    "parent_span_id": "83a0dfd71846d0a0",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:29:39.468428Z",
    "timestamp": "2026-05-19T07:29:40.923496Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139961224448896",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-blocking-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "8601269402454766bc5d1d3a9d469031",
    "span_id": "b30a735dfc1a7905",
    "parent_span_id": "bd746c02cbbaab46",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:29:41.054756Z",
    "timestamp": "2026-05-19T07:29:50.035336Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139961224448896",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 45,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-blocking-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "8601269402454766bc5d1d3a9d469031",
    "span_id": "b577f2878d9617c5",
    "parent_span_id": "8bf8226de48de220",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:29:50.141609Z",
    "timestamp": "2026-05-19T07:30:00.303906Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139961224448896",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 68,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-blocking-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "9a2c792b7ec9d716",
    "trace_id": "8601269402454766bc5d1d3a9d469031",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:29:39.439553Z",
    "timestamp": "2026-05-19T07:30:00.412098Z",
    "data": {
      "thread.id": "139961224448896",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "83a0dfd71846d0a0",
    "trace_id": "8601269402454766bc5d1d3a9d469031",
    "parent_span_id": "9a2c792b7ec9d716",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175779.467454,
    "timestamp": 1779175780.951566,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139961224448896",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 162,
      "gen_ai.usage.total_tokens": 185,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "9a2c792b7ec9d716",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "bd746c02cbbaab46",
    "trace_id": "8601269402454766bc5d1d3a9d469031",
    "parent_span_id": "9a2c792b7ec9d716",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175781.054009,
    "timestamp": 1779175790.040799,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139961224448896",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 1381,
      "gen_ai.usage.total_tokens": 1429,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "9a2c792b7ec9d716",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8bf8226de48de220",
    "trace_id": "8601269402454766bc5d1d3a9d469031",
    "parent_span_id": "9a2c792b7ec9d716",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175790.141069,
    "timestamp": 1779175800.312883,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139961224448896",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}, {\"role\": \"assistant\", \"content\": \"Paris has a population of approximately 2.2 million people in the city proper.\"}, {\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 1779,
      "gen_ai.usage.total_tokens": 1860,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "9a2c792b7ec9d716",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Multi-Turn LLM Test (sync, blocking, responses, anthropic)❗︎ 115885ms
checkAISpanCount(3)
checkChatSpanAttributes
9444bcc1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9444bcc1gen_ai.output.messagesMissing output messages attribute
8fde2dd6gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8fde2dd6gen_ai.output.messagesMissing output messages attribute
92598af4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
92598af4gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "2fd4144238f94e319becfd3d1faa9b7b",
    "span_id": "9766558ed1c0511b",
    "parent_span_id": "9444bcc178b756e5",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:40.746079Z",
    "timestamp": "2026-05-19T07:29:41.649412Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140207582731136",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-blocking-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "2fd4144238f94e319becfd3d1faa9b7b",
    "span_id": "a0d9bdec799c60c4",
    "parent_span_id": "8fde2dd60d7965b6",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:41.765788Z",
    "timestamp": "2026-05-19T07:29:43.029994Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140207582731136",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 45,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-blocking-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "2fd4144238f94e319becfd3d1faa9b7b",
    "span_id": "b4ec806f152fc5e7",
    "parent_span_id": "92598af4a3ca53eb",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:43.137023Z",
    "timestamp": "2026-05-19T07:29:43.867993Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140207582731136",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 68,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-blocking-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "b017873dcb39f9ca",
    "trace_id": "2fd4144238f94e319becfd3d1faa9b7b",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:29:40.186359Z",
    "timestamp": "2026-05-19T07:29:43.978975Z",
    "data": {
      "thread.id": "140207582731136",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "9444bcc178b756e5",
    "trace_id": "2fd4144238f94e319becfd3d1faa9b7b",
    "parent_span_id": "b017873dcb39f9ca",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175780.744405,
    "timestamp": 1779175781.660417,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140207582731136",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"The capital of France is **Paris**. It is located in the north-central part of the country along the Seine River and is the largest city in France. Paris is known for its iconic landmarks, including the Eiffel Tower, Notre-Dame Cathedral, and the Louvre Museum.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 64,
      "gen_ai.usage.total_tokens": 84,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "b017873dcb39f9ca",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8fde2dd60d7965b6",
    "trace_id": "2fd4144238f94e319becfd3d1faa9b7b",
    "parent_span_id": "b017873dcb39f9ca",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175781.764922,
    "timestamp": 1779175783.033574,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140207582731136",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"The population of Paris depends on which area you're referring to:\\n\\n- **City of Paris proper**: Approximately 2.1-2.2 million people, making it the most populous city in France\\n- **Paris metropolitan area (\\u00cele-de-France region)**: Approximately 12 million people\\n\\nThese figures are based on recent estimates and can vary slightly depending on the source and year of the data.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 41,
      "gen_ai.usage.output_tokens": 91,
      "gen_ai.usage.total_tokens": 132,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "b017873dcb39f9ca",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "92598af4a3ca53eb",
    "trace_id": "2fd4144238f94e319becfd3d1faa9b7b",
    "parent_span_id": "b017873dcb39f9ca",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175783.135743,
    "timestamp": 1779175783.875479,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140207582731136",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}, {\"role\": \"assistant\", \"content\": \"Paris has a population of approximately 2.2 million people in the city proper.\"}, {\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"The Paris metropolitan area (\\u00cele-de-France region) has a population of approximately 12 million people, making it one of the largest metropolitan areas in Europe.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 71,
      "gen_ai.usage.output_tokens": 38,
      "gen_ai.usage.total_tokens": 109,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "b017873dcb39f9ca",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Multi-Turn LLM Test (async, streaming, completion, openai)❗︎ 135669ms
checkAISpanCount(3)
checkChatSpanAttributes
8882cdedgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8882cdedgen_ai.output.messagesMissing output messages attribute
9d4d11c3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9d4d11c3gen_ai.output.messagesMissing output messages attribute
b2449671gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b2449671gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (14)
[
  {
    "trace_id": "823fea1f1284459e8d1804f6c4139d82",
    "span_id": "9bdc8506f13f651d",
    "parent_span_id": "8882cdeddb89bfc6",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:29:41.325415Z",
    "timestamp": "2026-05-19T07:29:41.326994Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21150
    },
    "data": {
      "thread.id": "139645937084096",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "823fea1f1284459e8d1804f6c4139d82",
    "span_id": "813c9a2ae7a2993d",
    "parent_span_id": "8882cdeddb89bfc6",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:41.327080Z",
    "timestamp": "2026-05-19T07:29:41.328165Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21150
    },
    "data": {
      "thread.id": "139645937084096",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "823fea1f1284459e8d1804f6c4139d82",
    "span_id": "97c279505790fb7b",
    "parent_span_id": "813c9a2ae7a2993d",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:41.328074Z",
    "timestamp": "2026-05-19T07:29:41.328154Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21150
    },
    "data": {
      "thread.id": "139645937084096",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "823fea1f1284459e8d1804f6c4139d82",
    "span_id": "abfa566901c87e18",
    "parent_span_id": "8882cdeddb89bfc6",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:41.328198Z",
    "timestamp": "2026-05-19T07:29:41.328210Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21150
    },
    "data": {
      "thread.id": "139645937084096",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "823fea1f1284459e8d1804f6c4139d82",
    "span_id": "9da2cc5f4f7fdd57",
    "parent_span_id": "8882cdeddb89bfc6",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:41.329569Z",
    "timestamp": "2026-05-19T07:29:42.842739Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139646091709312",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "823fea1f1284459e8d1804f6c4139d82",
    "span_id": "90f6b55061af80b7",
    "parent_span_id": "9da2cc5f4f7fdd57",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:41.330244Z",
    "timestamp": "2026-05-19T07:29:42.841520Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139646091709312",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "823fea1f1284459e8d1804f6c4139d82",
    "span_id": "b7fafbfec6b8f5f9",
    "parent_span_id": "9d4d11c32baaba75",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:43.243811Z",
    "timestamp": "2026-05-19T07:29:48.451059Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139646091709312",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 56,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "823fea1f1284459e8d1804f6c4139d82",
    "span_id": "a59368da5f4ebd2a",
    "parent_span_id": "b7fafbfec6b8f5f9",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:43.244442Z",
    "timestamp": "2026-05-19T07:29:48.450342Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139646091709312",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 56,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "823fea1f1284459e8d1804f6c4139d82",
    "span_id": "b0dd49759431828a",
    "parent_span_id": "b24496711c689360",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:49.023333Z",
    "timestamp": "2026-05-19T07:30:02.482967Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139646091709312",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 90,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "823fea1f1284459e8d1804f6c4139d82",
    "span_id": "8c62f4667027eee3",
    "parent_span_id": "b0dd49759431828a",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:49.023804Z",
    "timestamp": "2026-05-19T07:30:02.482359Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139646091709312",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 90,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "b2c26747494b43c3",
    "trace_id": "823fea1f1284459e8d1804f6c4139d82",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:29:41.299667Z",
    "timestamp": "2026-05-19T07:30:03.234372Z",
    "data": {
      "thread.id": "139646091709312",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "8882cdeddb89bfc6",
    "trace_id": "823fea1f1284459e8d1804f6c4139d82",
    "parent_span_id": "b2c26747494b43c3",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175781.321349,
    "timestamp": 1779175783.13714,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139646091709312",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-5-nano",
      "gen_ai.response.text": "{\"content\": \"Paris.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 203,
      "gen_ai.usage.total_tokens": 226,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "b2c26747494b43c3",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9d4d11c32baaba75",
    "trace_id": "823fea1f1284459e8d1804f6c4139d82",
    "parent_span_id": "b2c26747494b43c3",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175783.240128,
    "timestamp": 1779175788.913697,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139646091709312",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-5-nano",
      "gen_ai.response.text": "{\"content\": \"There are different ways to define \\u201cParis\\u201d:\\n\\n- City proper (the commune of Paris): about 2.1 million people.\\n- Paris metropolitan area (the urban area around Paris): about 12 million people.\\n- \\u00cele-de-France region (surrounding region including Paris and suburbs): about 12\\u201313 million people.\\n\\nIf you\\u2019d like, I can provide the latest exact figures from INSEE for a specific year and definition.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 1252,
      "gen_ai.usage.total_tokens": 1300,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "b2c26747494b43c3",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b24496711c689360",
    "trace_id": "823fea1f1284459e8d1804f6c4139d82",
    "parent_span_id": "b2c26747494b43c3",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175789.017317,
    "timestamp": 1779175803.122702,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139646091709312",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}, {\"role\": \"assistant\", \"content\": \"Paris has a population of approximately 2.2 million people in the city proper.\"}, {\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-5-nano",
      "gen_ai.response.text": "{\"content\": \"There are a few ways to define \\\"metropolitan area\\\" for Paris, so figures vary. Here are the common ones:\\n\\n- Paris urban area (aire urbaine): about 12 million people.\\n- \\u00cele-de-France region (the wider metropolitan region around Paris): roughly 12\\u201313 million people.\\n- City proper (for comparison): about 2.2 million.\\n\\nIf you have a specific definition or year in mind, I can give a more precise figure.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 1834,
      "gen_ai.usage.total_tokens": 1915,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "b2c26747494b43c3",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Multi-Turn LLM Test (async, streaming, completion, anthropic)❗︎ 115250ms
checkAISpanCount(3)
checkChatSpanAttributes
94843cefgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
94843cefgen_ai.output.messagesMissing output messages attribute
9f616e9bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9f616e9bgen_ai.output.messagesMissing output messages attribute
82f668f9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
82f668f9gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (10)
[
  {
    "trace_id": "74ed7de914974100afc626637c23daf3",
    "span_id": "89d08fcabbc53072",
    "parent_span_id": "94843cef713beef6",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:41.766335Z",
    "timestamp": "2026-05-19T07:29:42.201382Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140197103319936",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "74ed7de914974100afc626637c23daf3",
    "span_id": "8252de1a8d6db829",
    "parent_span_id": "89d08fcabbc53072",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:41.767256Z",
    "timestamp": "2026-05-19T07:29:42.200099Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140197103319936",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "74ed7de914974100afc626637c23daf3",
    "span_id": "bc73b1cff42e357d",
    "parent_span_id": "9f616e9b94735bd0",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:42.358313Z",
    "timestamp": "2026-05-19T07:29:42.828761Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140197103319936",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 56,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "74ed7de914974100afc626637c23daf3",
    "span_id": "99d10b7c5ff37627",
    "parent_span_id": "bc73b1cff42e357d",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:42.358843Z",
    "timestamp": "2026-05-19T07:29:42.828209Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140197103319936",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 56,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "74ed7de914974100afc626637c23daf3",
    "span_id": "ad2915c239634c6d",
    "parent_span_id": "82f668f9b0f75103",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:43.815205Z",
    "timestamp": "2026-05-19T07:29:44.247706Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140197103319936",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 90,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "74ed7de914974100afc626637c23daf3",
    "span_id": "a030028e444d3455",
    "parent_span_id": "ad2915c239634c6d",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:43.815622Z",
    "timestamp": "2026-05-19T07:29:44.247233Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140197103319936",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 90,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "ad944d623d068b73",
    "trace_id": "74ed7de914974100afc626637c23daf3",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:29:41.494222Z",
    "timestamp": "2026-05-19T07:29:44.602488Z",
    "data": {
      "thread.id": "140197103319936",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "94843cef713beef6",
    "trace_id": "74ed7de914974100afc626637c23daf3",
    "parent_span_id": "ad944d623d068b73",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175781.764888,
    "timestamp": 1779175782.254572,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140196948043456",
      "thread.name": "asyncio_0",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.response.text": "{\"content\": \"The capital of France is Paris.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "ad944d623d068b73",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9f616e9b94735bd0",
    "trace_id": "74ed7de914974100afc626637c23daf3",
    "parent_span_id": "ad944d623d068b73",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175782.357239,
    "timestamp": 1779175783.709911,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140196836001472",
      "thread.name": "asyncio_1",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.response.text": "{\"content\": \"The population of Paris depends on how you define the city:\\n\\n- **City proper (Paris municipality)**: approximately 2.1-2.2 million people\\n- **\\u00cele-de-France region (greater Paris area)**: approximately 12 million people\\n\\nThe most commonly cited figure for Paris itself is around 2.1 million, making it the most populous city in France. The larger metropolitan area is one of the most populous in Europe.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.usage.input_tokens": 41,
      "gen_ai.usage.output_tokens": 99,
      "gen_ai.usage.total_tokens": 140,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "ad944d623d068b73",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "82f668f9b0f75103",
    "trace_id": "74ed7de914974100afc626637c23daf3",
    "parent_span_id": "ad944d623d068b73",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175783.814237,
    "timestamp": 1779175784.500359,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140196948043456",
      "thread.name": "asyncio_0",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}, {\"role\": \"assistant\", \"content\": \"Paris has a population of approximately 2.2 million people in the city proper.\"}, {\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.response.text": "{\"content\": \"The Paris metropolitan area (\\u00cele-de-France region) has a population of approximately 12 million people, making it one of the largest metropolitan areas in Europe.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.usage.input_tokens": 71,
      "gen_ai.usage.output_tokens": 38,
      "gen_ai.usage.total_tokens": 109,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "ad944d623d068b73",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Multi-Turn LLM Test (async, streaming, responses, openai)❗︎ 1 127896ms
checkAISpanCount(3)
checkChatSpanAttributes
b8a1b9efgen_ai.usage.input_tokensSpan b8a1b9ef: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
b8a1b9efgen_ai.usage.output_tokensSpan b8a1b9ef: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
ad9e8042gen_ai.usage.input_tokensSpan ad9e8042: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
ad9e8042gen_ai.usage.output_tokensSpan ad9e8042: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
98485928gen_ai.usage.input_tokensSpan 98485928: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
98485928gen_ai.usage.output_tokensSpan 98485928: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkValidTokenUsage
b8a1b9efgen_ai.usage.input_tokensinput_tokens must exist
b8a1b9efgen_ai.usage.output_tokensoutput_tokens must exist
b8a1b9efgen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (10)
[
  {
    "trace_id": "384b071b310f4709bdb9a67507d4a5ee",
    "span_id": "b9e92b4298691408",
    "parent_span_id": "b8a1b9eff148f059",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:29:39.877947Z",
    "timestamp": "2026-05-19T07:29:40.084751Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139909434903424",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "384b071b310f4709bdb9a67507d4a5ee",
    "span_id": "93082fabfb5f8ca5",
    "parent_span_id": "b9e92b4298691408",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:29:39.878724Z",
    "timestamp": "2026-05-19T07:29:40.083634Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139909434903424",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "384b071b310f4709bdb9a67507d4a5ee",
    "span_id": "903e60dbe08c7b63",
    "parent_span_id": "ad9e8042f8226faf",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:29:41.055513Z",
    "timestamp": "2026-05-19T07:29:41.257646Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139909434903424",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 53,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "384b071b310f4709bdb9a67507d4a5ee",
    "span_id": "964ba91084a75dcd",
    "parent_span_id": "903e60dbe08c7b63",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:29:41.056070Z",
    "timestamp": "2026-05-19T07:29:41.257245Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139909434903424",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 53,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "384b071b310f4709bdb9a67507d4a5ee",
    "span_id": "9cec735645b634fa",
    "parent_span_id": "984859288acd3637",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:29:47.945157Z",
    "timestamp": "2026-05-19T07:29:48.523768Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139909434903424",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 84,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "384b071b310f4709bdb9a67507d4a5ee",
    "span_id": "84fc6a3f58c23508",
    "parent_span_id": "9cec735645b634fa",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:29:47.945738Z",
    "timestamp": "2026-05-19T07:29:48.523245Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139909434903424",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 84,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "aa934c01bb87dfb9",
    "trace_id": "384b071b310f4709bdb9a67507d4a5ee",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:29:39.587406Z",
    "timestamp": "2026-05-19T07:29:56.215644Z",
    "data": {
      "thread.id": "139909434903424",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b8a1b9eff148f059",
    "trace_id": "384b071b310f4709bdb9a67507d4a5ee",
    "parent_span_id": "aa934c01bb87dfb9",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175779.87695,
    "timestamp": 1779175780.944067,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139909434903424",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "aa934c01bb87dfb9",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "ad9e8042f8226faf",
    "trace_id": "384b071b310f4709bdb9a67507d4a5ee",
    "parent_span_id": "aa934c01bb87dfb9",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175781.051728,
    "timestamp": 1779175787.838815,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139909434903424",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "aa934c01bb87dfb9",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "984859288acd3637",
    "trace_id": "384b071b310f4709bdb9a67507d4a5ee",
    "parent_span_id": "aa934c01bb87dfb9",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175787.944331,
    "timestamp": 1779175796.114094,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139909434903424",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}, {\"role\": \"assistant\", \"content\": \"Paris has a population of approximately 2.2 million people in the city proper.\"}, {\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "aa934c01bb87dfb9",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Multi-Turn LLM Test (async, streaming, responses, anthropic)❗︎ 114121ms
checkAISpanCount(3)
checkChatSpanAttributes
a4e8d079gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a4e8d079gen_ai.output.messagesMissing output messages attribute
ba5f4607gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ba5f4607gen_ai.output.messagesMissing output messages attribute
a76340fagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a76340fagen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (10)
[
  {
    "trace_id": "c4f7d4f3f9c14e6090c3601077011d93",
    "span_id": "ac32a628a0e45703",
    "parent_span_id": "a4e8d07901b7d577",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:41.238501Z",
    "timestamp": "2026-05-19T07:29:42.082739Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139739717471104",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "c4f7d4f3f9c14e6090c3601077011d93",
    "span_id": "986184d650c78e17",
    "parent_span_id": "ac32a628a0e45703",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:41.239615Z",
    "timestamp": "2026-05-19T07:29:42.081473Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139739717471104",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "c4f7d4f3f9c14e6090c3601077011d93",
    "span_id": "a3ab5a123d5fac75",
    "parent_span_id": "ba5f46076e08eb1b",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:42.248227Z",
    "timestamp": "2026-05-19T07:29:42.891283Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139739717471104",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 53,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "c4f7d4f3f9c14e6090c3601077011d93",
    "span_id": "a05d03e8b5252e09",
    "parent_span_id": "a3ab5a123d5fac75",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:42.248758Z",
    "timestamp": "2026-05-19T07:29:42.890731Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139739717471104",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 53,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "c4f7d4f3f9c14e6090c3601077011d93",
    "span_id": "9f27adc8dd121489",
    "parent_span_id": "a76340faf3a6afba",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:44.359648Z",
    "timestamp": "2026-05-19T07:29:44.799816Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139739717471104",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 84,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "c4f7d4f3f9c14e6090c3601077011d93",
    "span_id": "a94e04081a784d19",
    "parent_span_id": "9f27adc8dd121489",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:44.360073Z",
    "timestamp": "2026-05-19T07:29:44.799280Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139739717471104",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 84,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "84ab3dddee98edb2",
    "trace_id": "c4f7d4f3f9c14e6090c3601077011d93",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:29:40.881821Z",
    "timestamp": "2026-05-19T07:29:45.219325Z",
    "data": {
      "thread.id": "139739717471104",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "a4e8d07901b7d577",
    "trace_id": "c4f7d4f3f9c14e6090c3601077011d93",
    "parent_span_id": "84ab3dddee98edb2",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175781.236849,
    "timestamp": 1779175782.142923,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139739563386560",
      "thread.name": "asyncio_0",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.response.text": "{\"content\": \"The capital of France is Paris.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "84ab3dddee98edb2",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "ba5f46076e08eb1b",
    "trace_id": "c4f7d4f3f9c14e6090c3601077011d93",
    "parent_span_id": "84ab3dddee98edb2",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175782.247218,
    "timestamp": 1779175784.24649,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139739445327552",
      "thread.name": "asyncio_1",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.response.text": "{\"content\": \"Paris has a population of approximately 2.1-2.2 million people within the city proper. However, the greater Paris metropolitan area (\\u00cele-de-France region) has a much larger population of around 12 million people, making it one of the largest metropolitan areas in Europe.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.usage.input_tokens": 41,
      "gen_ai.usage.output_tokens": 65,
      "gen_ai.usage.total_tokens": 106,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "84ab3dddee98edb2",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a76340faf3a6afba",
    "trace_id": "c4f7d4f3f9c14e6090c3601077011d93",
    "parent_span_id": "84ab3dddee98edb2",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175784.358789,
    "timestamp": 1779175785.114991,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139739445327552",
      "thread.name": "asyncio_1",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}, {\"role\": \"assistant\", \"content\": \"Paris has a population of approximately 2.2 million people in the city proper.\"}, {\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.response.text": "{\"content\": \"The Paris metropolitan area (\\u00cele-de-France region) has a population of approximately 12 million people, making it one of the largest metropolitan areas in Europe.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.usage.input_tokens": 71,
      "gen_ai.usage.output_tokens": 38,
      "gen_ai.usage.total_tokens": 109,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "84ab3dddee98edb2",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Multi-Turn LLM Test (async, blocking, completion, openai)❗︎ 129259ms
checkAISpanCount(3)
checkChatSpanAttributes
b07cea2egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b07cea2egen_ai.output.messagesMissing output messages attribute
9d88a658gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9d88a658gen_ai.output.messagesMissing output messages attribute
a7e73835gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a7e73835gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (14)
[
  {
    "trace_id": "d463fb9e4ad447bab16da2d7b487d44a",
    "span_id": "b108e149714b06d5",
    "parent_span_id": "b07cea2ecc820e24",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:29:44.058687Z",
    "timestamp": "2026-05-19T07:29:44.064009Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21185
    },
    "data": {
      "thread.id": "140249942456000",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "d463fb9e4ad447bab16da2d7b487d44a",
    "span_id": "ad893c2906f9cdd6",
    "parent_span_id": "b07cea2ecc820e24",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:44.064123Z",
    "timestamp": "2026-05-19T07:29:44.064510Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21185
    },
    "data": {
      "thread.id": "140249942456000",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "d463fb9e4ad447bab16da2d7b487d44a",
    "span_id": "986659f55a228785",
    "parent_span_id": "ad893c2906f9cdd6",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:44.064459Z",
    "timestamp": "2026-05-19T07:29:44.064499Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21185
    },
    "data": {
      "thread.id": "140249942456000",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "d463fb9e4ad447bab16da2d7b487d44a",
    "span_id": "bae977fbe125aedf",
    "parent_span_id": "b07cea2ecc820e24",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:44.064544Z",
    "timestamp": "2026-05-19T07:29:44.064557Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21185
    },
    "data": {
      "thread.id": "140249942456000",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "d463fb9e4ad447bab16da2d7b487d44a",
    "span_id": "99b4f85bc622fa3a",
    "parent_span_id": "b07cea2ecc820e24",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:44.066388Z",
    "timestamp": "2026-05-19T07:29:45.341218Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140250174565248",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "d463fb9e4ad447bab16da2d7b487d44a",
    "span_id": "805b8044165e7b60",
    "parent_span_id": "99b4f85bc622fa3a",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:44.067172Z",
    "timestamp": "2026-05-19T07:29:45.337589Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140250174565248",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "d463fb9e4ad447bab16da2d7b487d44a",
    "span_id": "920df20d287870f1",
    "parent_span_id": "9d88a658790cbe9b",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:45.513347Z",
    "timestamp": "2026-05-19T07:29:57.379258Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140250174565248",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 48,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "d463fb9e4ad447bab16da2d7b487d44a",
    "span_id": "8b8bb56073414386",
    "parent_span_id": "920df20d287870f1",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:45.513978Z",
    "timestamp": "2026-05-19T07:29:57.378084Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140250174565248",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 48,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "d463fb9e4ad447bab16da2d7b487d44a",
    "span_id": "abf5c9c3d268be8d",
    "parent_span_id": "a7e73835898cc849",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:57.507421Z",
    "timestamp": "2026-05-19T07:30:06.121214Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140250174565248",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 74,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "d463fb9e4ad447bab16da2d7b487d44a",
    "span_id": "a86e59d9ecb51dbf",
    "parent_span_id": "abf5c9c3d268be8d",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:57.507923Z",
    "timestamp": "2026-05-19T07:30:06.120357Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140250174565248",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 74,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "a31cdd135cf36a97",
    "trace_id": "d463fb9e4ad447bab16da2d7b487d44a",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:29:44.034937Z",
    "timestamp": "2026-05-19T07:30:06.241266Z",
    "data": {
      "thread.id": "140250174565248",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b07cea2ecc820e24",
    "trace_id": "d463fb9e4ad447bab16da2d7b487d44a",
    "parent_span_id": "a31cdd135cf36a97",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175784.053924,
    "timestamp": 1779175785.403912,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140250174565248",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "{\"content\": \"Paris\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"refusal\": \"None\"}, \"annotations\": []}",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 138,
      "gen_ai.usage.total_tokens": 161,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "a31cdd135cf36a97",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9d88a658790cbe9b",
    "trace_id": "d463fb9e4ad447bab16da2d7b487d44a",
    "parent_span_id": "a31cdd135cf36a97",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175785.507277,
    "timestamp": 1779175797.38917,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140250174565248",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "{\"content\": \"Do you mean Paris city proper (the administrative commune) or the wider Paris metropolitan/urban area? The numbers differ:\\n\\n- City proper: about 2.16 million people (as of 2020, INSEE).\\n- Paris metropolitan/urban area: roughly 12\\u201313 million people, depending on the definition used.\\n\\nIf you want a precise figure for a specific definition (city proper, urban area, or metro area), tell me which one and I\\u2019ll provide the latest exact number.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"refusal\": \"None\"}, \"annotations\": []}",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 2221,
      "gen_ai.usage.total_tokens": 2269,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "a31cdd135cf36a97",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a7e73835898cc849",
    "trace_id": "d463fb9e4ad447bab16da2d7b487d44a",
    "parent_span_id": "a31cdd135cf36a97",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175797.498272,
    "timestamp": 1779175806.131973,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140250174565248",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}, {\"role\": \"assistant\", \"content\": \"Paris has a population of approximately 2.2 million people in the city proper.\"}, {\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "{\"content\": \"Depends on the definition:\\n\\n- Paris urban area (aire urbaine): about 12 million people. This is the broader metropolitan area around Paris.\\n- M\\u00e9tropole du Grand Paris (administrative \\u201cGrand Paris\\u201d area): about 7 million people in its 131 communes.\\n- \\u00cele-de-France region (administrative region containing Paris and its suburbs): roughly 12\\u201313 million.\\n\\nIf you tell me which definition or year you want (and whether you want latest INSEE figures), I can give a more precise number.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"refusal\": \"None\"}, \"annotations\": []}",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 1204,
      "gen_ai.usage.total_tokens": 1285,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "a31cdd135cf36a97",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Multi-Turn LLM Test (async, blocking, completion, anthropic)❗︎ 19102ms
checkAISpanCount(3)
checkChatSpanAttributes
b3f65385gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b3f65385gen_ai.output.messagesMissing output messages attribute
9afc63d4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9afc63d4gen_ai.output.messagesMissing output messages attribute
a165a8c7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a165a8c7gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (10)
[
  {
    "trace_id": "dc55c075ab6d41e59f0b85df5f016359",
    "span_id": "8a33e5678bce4775",
    "parent_span_id": "b3f6538589855a5c",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:45.465141Z",
    "timestamp": "2026-05-19T07:29:46.266421Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140559296740224",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "dc55c075ab6d41e59f0b85df5f016359",
    "span_id": "9a9618b9c37a258b",
    "parent_span_id": "8a33e5678bce4775",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:45.466068Z",
    "timestamp": "2026-05-19T07:29:46.264671Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140559296740224",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "dc55c075ab6d41e59f0b85df5f016359",
    "span_id": "aa433348bb3311f9",
    "parent_span_id": "9afc63d42d8d91e8",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:46.407159Z",
    "timestamp": "2026-05-19T07:29:47.712064Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140559296740224",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 48,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "dc55c075ab6d41e59f0b85df5f016359",
    "span_id": "89c2798688354d23",
    "parent_span_id": "aa433348bb3311f9",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:46.407689Z",
    "timestamp": "2026-05-19T07:29:47.711340Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140559296740224",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 48,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "dc55c075ab6d41e59f0b85df5f016359",
    "span_id": "8caa1cabf103720c",
    "parent_span_id": "a165a8c79e22f5f2",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:47.817896Z",
    "timestamp": "2026-05-19T07:29:48.787967Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140559296740224",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 74,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "dc55c075ab6d41e59f0b85df5f016359",
    "span_id": "83b336ae09ad6976",
    "parent_span_id": "8caa1cabf103720c",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:47.818398Z",
    "timestamp": "2026-05-19T07:29:48.787309Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140559296740224",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 74,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "9a18f0079dbc8588",
    "trace_id": "dc55c075ab6d41e59f0b85df5f016359",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:29:45.135363Z",
    "timestamp": "2026-05-19T07:29:48.891616Z",
    "data": {
      "thread.id": "140559296740224",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b3f6538589855a5c",
    "trace_id": "dc55c075ab6d41e59f0b85df5f016359",
    "parent_span_id": "9a18f0079dbc8588",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175785.463591,
    "timestamp": 1779175786.304528,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140559140873920",
      "thread.name": "asyncio_0",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"The capital of France is Paris.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "9a18f0079dbc8588",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9afc63d42d8d91e8",
    "trace_id": "dc55c075ab6d41e59f0b85df5f016359",
    "parent_span_id": "9a18f0079dbc8588",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175786.406045,
    "timestamp": 1779175787.716382,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140559140873920",
      "thread.name": "asyncio_0",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"The population of Paris depends on how you define the city:\\n\\n- **City proper (Paris municipality)**: Approximately 2.1-2.2 million people\\n- **Metropolitan area (\\u00cele-de-France region)**: Approximately 12 million people\\n\\nThe city proper refers to Paris within its administrative boundaries, while the metropolitan area includes the surrounding suburbs and communes. Most commonly, when people refer to \\\"Paris,\\\" they mean the city proper, which makes it one of the most populous cities in Europe.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 41,
      "gen_ai.usage.output_tokens": 111,
      "gen_ai.usage.total_tokens": 152,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "9a18f0079dbc8588",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a165a8c79e22f5f2",
    "trace_id": "dc55c075ab6d41e59f0b85df5f016359",
    "parent_span_id": "9a18f0079dbc8588",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175787.816716,
    "timestamp": 1779175788.792273,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140559140873920",
      "thread.name": "asyncio_0",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}, {\"role\": \"assistant\", \"content\": \"Paris has a population of approximately 2.2 million people in the city proper.\"}, {\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"The Paris metropolitan area (\\u00cele-de-France region) has a population of approximately 12 million people, making it one of the largest metropolitan areas in Europe.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 71,
      "gen_ai.usage.output_tokens": 38,
      "gen_ai.usage.total_tokens": 109,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "9a18f0079dbc8588",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Multi-Turn LLM Test (async, blocking, responses, openai)❗︎ 128423ms
checkAISpanCount(3)
checkChatSpanAttributes
b75e7cc3gen_ai.output.messagesMissing output messages attribute
b1cb80a6gen_ai.output.messagesMissing output messages attribute
891aeef0gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (10)
[
  {
    "trace_id": "97a55e5be6d747d483281ade32e1af1a",
    "span_id": "93dcef67b7a096c6",
    "parent_span_id": "b75e7cc34bdbdba2",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:29:47.473657Z",
    "timestamp": "2026-05-19T07:29:49.208522Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139933993012096",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "97a55e5be6d747d483281ade32e1af1a",
    "span_id": "9fa2ae77dac1dd24",
    "parent_span_id": "93dcef67b7a096c6",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:29:47.474618Z",
    "timestamp": "2026-05-19T07:29:49.207070Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139933993012096",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "97a55e5be6d747d483281ade32e1af1a",
    "span_id": "b8f51587319e676f",
    "parent_span_id": "b1cb80a66fc2c5ac",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:29:49.359099Z",
    "timestamp": "2026-05-19T07:29:56.957138Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139933993012096",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 45,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "97a55e5be6d747d483281ade32e1af1a",
    "span_id": "aca1b9e7f4bd8a4a",
    "parent_span_id": "b8f51587319e676f",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:29:49.359572Z",
    "timestamp": "2026-05-19T07:29:56.956381Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139933993012096",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 45,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "97a55e5be6d747d483281ade32e1af1a",
    "span_id": "8a2ac757d3c3add9",
    "parent_span_id": "891aeef070ce34c2",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:29:57.079136Z",
    "timestamp": "2026-05-19T07:30:08.223243Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139933993012096",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 68,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "97a55e5be6d747d483281ade32e1af1a",
    "span_id": "b7ae867d5ef1d984",
    "parent_span_id": "8a2ac757d3c3add9",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:29:57.079610Z",
    "timestamp": "2026-05-19T07:30:08.222299Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139933993012096",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 68,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "a0d0dd6a7e2ffe81",
    "trace_id": "97a55e5be6d747d483281ade32e1af1a",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:29:47.445467Z",
    "timestamp": "2026-05-19T07:30:08.341336Z",
    "data": {
      "thread.id": "139933993012096",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b75e7cc34bdbdba2",
    "trace_id": "97a55e5be6d747d483281ade32e1af1a",
    "parent_span_id": "a0d0dd6a7e2ffe81",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175787.472727,
    "timestamp": 1779175789.256303,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139933993012096",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 196,
      "gen_ai.usage.total_tokens": 219,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "a0d0dd6a7e2ffe81",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b1cb80a66fc2c5ac",
    "trace_id": "97a55e5be6d747d483281ade32e1af1a",
    "parent_span_id": "a0d0dd6a7e2ffe81",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175789.358326,
    "timestamp": 1779175796.972796,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139933993012096",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 1173,
      "gen_ai.usage.total_tokens": 1221,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "a0d0dd6a7e2ffe81",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "891aeef070ce34c2",
    "trace_id": "97a55e5be6d747d483281ade32e1af1a",
    "parent_span_id": "a0d0dd6a7e2ffe81",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175797.078335,
    "timestamp": 1779175808.232036,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139933993012096",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}, {\"role\": \"assistant\", \"content\": \"Paris has a population of approximately 2.2 million people in the city proper.\"}, {\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 2056,
      "gen_ai.usage.total_tokens": 2137,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "a0d0dd6a7e2ffe81",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Multi-Turn LLM Test (async, blocking, responses, anthropic)❗︎ 110046ms
checkAISpanCount(3)
checkChatSpanAttributes
969e26e3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
969e26e3gen_ai.output.messagesMissing output messages attribute
9959b3ecgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9959b3ecgen_ai.output.messagesMissing output messages attribute
8a1e7f23gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8a1e7f23gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning(No AI spans with output_tokens.reasoning attribute)
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (10)
[
  {
    "trace_id": "f5b24c272a3346759d948e2c6848f295",
    "span_id": "9d17ba18ca04531e",
    "parent_span_id": "969e26e35702da32",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:49.868724Z",
    "timestamp": "2026-05-19T07:29:50.728546Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140661962726272",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "f5b24c272a3346759d948e2c6848f295",
    "span_id": "8a91cf61c684994e",
    "parent_span_id": "9d17ba18ca04531e",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:49.869995Z",
    "timestamp": "2026-05-19T07:29:50.726957Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140661962726272",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "f5b24c272a3346759d948e2c6848f295",
    "span_id": "82025374c763ed2d",
    "parent_span_id": "9959b3ec536c8d2b",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:50.854646Z",
    "timestamp": "2026-05-19T07:29:52.031116Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140661962726272",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 45,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "f5b24c272a3346759d948e2c6848f295",
    "span_id": "bd8567c10a0d0d01",
    "parent_span_id": "82025374c763ed2d",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:50.855197Z",
    "timestamp": "2026-05-19T07:29:52.030382Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140661962726272",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 45,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "f5b24c272a3346759d948e2c6848f295",
    "span_id": "b7952637c5de9ac4",
    "parent_span_id": "8a1e7f23227ecf10",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:52.141026Z",
    "timestamp": "2026-05-19T07:29:52.994018Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140661962726272",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 68,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "f5b24c272a3346759d948e2c6848f295",
    "span_id": "b23ea0438c4b8306",
    "parent_span_id": "b7952637c5de9ac4",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:52.141441Z",
    "timestamp": "2026-05-19T07:29:52.993309Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140661962726272",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 68,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "b97c71ad8242d11f",
    "trace_id": "f5b24c272a3346759d948e2c6848f295",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:29:49.537730Z",
    "timestamp": "2026-05-19T07:29:53.106554Z",
    "data": {
      "thread.id": "140661962726272",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "969e26e35702da32",
    "trace_id": "f5b24c272a3346759d948e2c6848f295",
    "parent_span_id": "b97c71ad8242d11f",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175789.867237,
    "timestamp": 1779175790.750766,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140661806950080",
      "thread.name": "asyncio_0",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"The capital of France is **Paris**. It is located in the north-central part of the country along the Seine River and is the largest city in France. Paris is known for its iconic landmarks, including the Eiffel Tower, Notre-Dame Cathedral, and the Louvre Museum.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 64,
      "gen_ai.usage.total_tokens": 84,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "b97c71ad8242d11f",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9959b3ec536c8d2b",
    "trace_id": "f5b24c272a3346759d948e2c6848f295",
    "parent_span_id": "b97c71ad8242d11f",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175790.853585,
    "timestamp": 1779175792.037728,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140661806950080",
      "thread.name": "asyncio_0",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"Paris has a population of approximately 2.1-2.2 million people within the city proper, making it the largest city in France.\\n\\nHowever, the greater Paris metropolitan area (\\u00cele-de-France region) has a much larger population of around 12 million people, making it one of the largest metropolitan areas in Europe.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 41,
      "gen_ai.usage.output_tokens": 74,
      "gen_ai.usage.total_tokens": 115,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "b97c71ad8242d11f",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8a1e7f23227ecf10",
    "trace_id": "f5b24c272a3346759d948e2c6848f295",
    "parent_span_id": "b97c71ad8242d11f",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175792.140085,
    "timestamp": 1779175793.004477,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140661806950080",
      "thread.name": "asyncio_0",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}, {\"role\": \"assistant\", \"content\": \"Paris has a population of approximately 2.2 million people in the city proper.\"}, {\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"The Paris metropolitan area (\\u00cele-de-France region) has a population of approximately 12 million people, making it one of the largest metropolitan areas in Europe.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 71,
      "gen_ai.usage.output_tokens": 38,
      "gen_ai.usage.total_tokens": 109,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "b97c71ad8242d11f",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Basic Error LLM Test (sync, streaming, completion, openai)❗︎ 17579ms
checkAISpanCount(>=1)
checkErrorCaptured
a410c83fSpan has status="ok" with no error indicators
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (9)
[
  {
    "trace_id": "5bcee38435c447c387188f15470b3c37",
    "span_id": "9504b3808a84ddd2",
    "parent_span_id": "a410c83f4e45b8e7",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:29:50.133622Z",
    "timestamp": "2026-05-19T07:29:50.134666Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21238
    },
    "data": {
      "thread.id": "140687813720960",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "5bcee38435c447c387188f15470b3c37",
    "span_id": "8a9ba7a3c4d4bd7b",
    "parent_span_id": "a410c83f4e45b8e7",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:50.134747Z",
    "timestamp": "2026-05-19T07:29:50.135567Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21238
    },
    "data": {
      "thread.id": "140687813720960",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "5bcee38435c447c387188f15470b3c37",
    "span_id": "9bfff63aa1ceae8c",
    "parent_span_id": "8a9ba7a3c4d4bd7b",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:50.135473Z",
    "timestamp": "2026-05-19T07:29:50.135558Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21238
    },
    "data": {
      "thread.id": "140687813720960",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "5bcee38435c447c387188f15470b3c37",
    "span_id": "935d43ea7c383e79",
    "parent_span_id": "a410c83f4e45b8e7",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:50.135599Z",
    "timestamp": "2026-05-19T07:29:50.135614Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21238
    },
    "data": {
      "thread.id": "140687813720960",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "5bcee38435c447c387188f15470b3c37",
    "span_id": "869e2b5ab2669a24",
    "parent_span_id": "a410c83f4e45b8e7",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:50.136646Z",
    "timestamp": "2026-05-19T07:29:50.137262Z",
    "origin": "auto.http.httpx",
    "status": "internal_error",
    "tags": {
      "http.status_code": "500",
      "status": "internal_error"
    },
    "data": {
      "thread.id": "140687813720960",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 500,
      "reason": "Internal Server Error"
    }
  },
  {
    "trace_id": "5bcee38435c447c387188f15470b3c37",
    "span_id": "88ba7396d3721bd4",
    "parent_span_id": "a410c83f4e45b8e7",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:50.634333Z",
    "timestamp": "2026-05-19T07:29:50.635017Z",
    "origin": "auto.http.httpx",
    "status": "internal_error",
    "tags": {
      "http.status_code": "500",
      "status": "internal_error"
    },
    "data": {
      "thread.id": "140687813720960",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 500,
      "reason": "Internal Server Error"
    }
  },
  {
    "trace_id": "5bcee38435c447c387188f15470b3c37",
    "span_id": "819739939d61a19b",
    "parent_span_id": "a410c83f4e45b8e7",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:51.488950Z",
    "timestamp": "2026-05-19T07:29:51.489643Z",
    "origin": "auto.http.httpx",
    "status": "internal_error",
    "tags": {
      "http.status_code": "500",
      "status": "internal_error"
    },
    "data": {
      "thread.id": "140687813720960",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 500,
      "reason": "Internal Server Error"
    }
  },
  {
    "span_id": "953f3d38c7f3da36",
    "trace_id": "5bcee38435c447c387188f15470b3c37",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic Error LLM Test",
    "start_timestamp": "2026-05-19T07:29:50.115930Z",
    "timestamp": "2026-05-19T07:29:51.539400Z",
    "data": {
      "thread.id": "140687813720960",
      "thread.name": "MainThread"
    },
    "status": "internal_error"
  },
  {
    "span_id": "a410c83f4e45b8e7",
    "trace_id": "5bcee38435c447c387188f15470b3c37",
    "parent_span_id": "953f3d38c7f3da36",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175790.130634,
    "timestamp": 1779175791.52554,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140687813720960",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": true,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic Error LLM Test",
      "sentry.segment.id": "953f3d38c7f3da36",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Basic Error LLM Test (sync, streaming, completion, anthropic)❗︎ 16505ms
checkAISpanCount(>=1)
checkErrorCaptured
bb647edbSpan has status="ok" with no error indicators
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "trace_id": "fea2d35c3f054619a53b4b7eede01adb",
    "span_id": "93bb2df962f1eede",
    "parent_span_id": "bb647edb6fa1b4bd",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:51.056934Z",
    "timestamp": "2026-05-19T07:29:51.057661Z",
    "origin": "auto.http.httpx",
    "status": "internal_error",
    "tags": {
      "http.status_code": "500",
      "status": "internal_error"
    },
    "data": {
      "thread.id": "139648499497856",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 500,
      "reason": "Internal Server Error"
    }
  },
  {
    "span_id": "8612d302e3cdfdf9",
    "trace_id": "fea2d35c3f054619a53b4b7eede01adb",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic Error LLM Test",
    "start_timestamp": "2026-05-19T07:29:50.798574Z",
    "timestamp": "2026-05-19T07:29:51.087483Z",
    "data": {
      "thread.id": "139648499497856",
      "thread.name": "MainThread"
    },
    "status": "internal_error"
  },
  {
    "span_id": "bb647edb6fa1b4bd",
    "trace_id": "fea2d35c3f054619a53b4b7eede01adb",
    "parent_span_id": "8612d302e3cdfdf9",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175791.055548,
    "timestamp": 1779175791.077774,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139648499497856",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic Error LLM Test",
      "sentry.segment.id": "8612d302e3cdfdf9",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Basic Error LLM Test (sync, streaming, responses, openai)❗︎ 15656ms
checkAISpanCount(>=1)
checkErrorCaptured
8acf6e17Span has status="ok" with no error indicators
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "trace_id": "a3929f4aa3ac49829b96a84cb04bad20",
    "span_id": "b0d39ad9969a22e7",
    "parent_span_id": "8acf6e17ebdea40a",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:29:50.896831Z",
    "timestamp": "2026-05-19T07:29:50.897730Z",
    "origin": "auto.http.httpx",
    "status": "internal_error",
    "tags": {
      "http.status_code": "500",
      "status": "internal_error"
    },
    "data": {
      "thread.id": "140612436003712",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 500,
      "reason": "Internal Server Error"
    }
  },
  {
    "span_id": "ad308f7c247604ab",
    "trace_id": "a3929f4aa3ac49829b96a84cb04bad20",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic Error LLM Test",
    "start_timestamp": "2026-05-19T07:29:50.885005Z",
    "timestamp": "2026-05-19T07:29:50.921556Z",
    "data": {
      "thread.id": "140612436003712",
      "thread.name": "MainThread"
    },
    "status": "internal_error"
  },
  {
    "span_id": "8acf6e17ebdea40a",
    "trace_id": "a3929f4aa3ac49829b96a84cb04bad20",
    "parent_span_id": "ad308f7c247604ab",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175790.896067,
    "timestamp": 1779175790.914963,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140612436003712",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": true,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic Error LLM Test",
      "sentry.segment.id": "ad308f7c247604ab",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Basic Error LLM Test (sync, streaming, responses, anthropic)❗︎ 16066ms
checkAISpanCount(>=1)
checkErrorCaptured
bc03cc4eSpan has status="ok" with no error indicators
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "trace_id": "8f8ba4d02eb54357b9b9d54f57e05e98",
    "span_id": "946f81fef76e8fbd",
    "parent_span_id": "bc03cc4e50084b71",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:54.651857Z",
    "timestamp": "2026-05-19T07:29:54.652710Z",
    "origin": "auto.http.httpx",
    "status": "internal_error",
    "tags": {
      "http.status_code": "500",
      "status": "internal_error"
    },
    "data": {
      "thread.id": "140093601074048",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 500,
      "reason": "Internal Server Error"
    }
  },
  {
    "span_id": "ba307d1f8e41c024",
    "trace_id": "8f8ba4d02eb54357b9b9d54f57e05e98",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic Error LLM Test",
    "start_timestamp": "2026-05-19T07:29:54.364046Z",
    "timestamp": "2026-05-19T07:29:54.731004Z",
    "data": {
      "thread.id": "140093601074048",
      "thread.name": "MainThread"
    },
    "status": "internal_error"
  },
  {
    "span_id": "bc03cc4e50084b71",
    "trace_id": "8f8ba4d02eb54357b9b9d54f57e05e98",
    "parent_span_id": "ba307d1f8e41c024",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175794.65039,
    "timestamp": 1779175794.67358,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140093601074048",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic Error LLM Test",
      "sentry.segment.id": "ba307d1f8e41c024",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Basic Error LLM Test (sync, blocking, completion, openai)❗︎ 111601ms
checkAISpanCount(>=1)
checkErrorCaptured
b455b45bSpan has status="ok" with no error indicators
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (9)
[
  {
    "trace_id": "d07f08b59c1c464d8d5b62c48a3573ec",
    "span_id": "bb020f999796f5c8",
    "parent_span_id": "b455b45b4b17d421",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:29:59.700032Z",
    "timestamp": "2026-05-19T07:29:59.705114Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21288
    },
    "data": {
      "thread.id": "139993226996608",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "d07f08b59c1c464d8d5b62c48a3573ec",
    "span_id": "96cbe7ba6e6b4cce",
    "parent_span_id": "b455b45b4b17d421",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:59.705239Z",
    "timestamp": "2026-05-19T07:29:59.705511Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21288
    },
    "data": {
      "thread.id": "139993226996608",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "d07f08b59c1c464d8d5b62c48a3573ec",
    "span_id": "aa9cae0adb6c2378",
    "parent_span_id": "96cbe7ba6e6b4cce",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:59.705443Z",
    "timestamp": "2026-05-19T07:29:59.705499Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21288
    },
    "data": {
      "thread.id": "139993226996608",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "d07f08b59c1c464d8d5b62c48a3573ec",
    "span_id": "aa4f11879bedc549",
    "parent_span_id": "b455b45b4b17d421",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:29:59.705555Z",
    "timestamp": "2026-05-19T07:29:59.705573Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21288
    },
    "data": {
      "thread.id": "139993226996608",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "d07f08b59c1c464d8d5b62c48a3573ec",
    "span_id": "a367a9b3009f586a",
    "parent_span_id": "b455b45b4b17d421",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:29:59.711400Z",
    "timestamp": "2026-05-19T07:29:59.716386Z",
    "origin": "auto.http.httpx",
    "status": "internal_error",
    "tags": {
      "http.status_code": "500",
      "status": "internal_error"
    },
    "data": {
      "thread.id": "139993226996608",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 500,
      "reason": "Internal Server Error"
    }
  },
  {
    "trace_id": "d07f08b59c1c464d8d5b62c48a3573ec",
    "span_id": "bd5e5392417ad79f",
    "parent_span_id": "b455b45b4b17d421",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:30:00.168679Z",
    "timestamp": "2026-05-19T07:30:00.169475Z",
    "origin": "auto.http.httpx",
    "status": "internal_error",
    "tags": {
      "http.status_code": "500",
      "status": "internal_error"
    },
    "data": {
      "thread.id": "139993226996608",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 500,
      "reason": "Internal Server Error"
    }
  },
  {
    "trace_id": "d07f08b59c1c464d8d5b62c48a3573ec",
    "span_id": "ba3474ed47d77150",
    "parent_span_id": "b455b45b4b17d421",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:30:01.004559Z",
    "timestamp": "2026-05-19T07:30:01.005393Z",
    "origin": "auto.http.httpx",
    "status": "internal_error",
    "tags": {
      "http.status_code": "500",
      "status": "internal_error"
    },
    "data": {
      "thread.id": "139993226996608",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 500,
      "reason": "Internal Server Error"
    }
  },
  {
    "span_id": "8a7ebfb43ac1f4c7",
    "trace_id": "d07f08b59c1c464d8d5b62c48a3573ec",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic Error LLM Test",
    "start_timestamp": "2026-05-19T07:29:59.641566Z",
    "timestamp": "2026-05-19T07:30:01.177669Z",
    "data": {
      "thread.id": "139993226996608",
      "thread.name": "MainThread"
    },
    "status": "internal_error"
  },
  {
    "span_id": "b455b45b4b17d421",
    "trace_id": "d07f08b59c1c464d8d5b62c48a3573ec",
    "parent_span_id": "8a7ebfb43ac1f4c7",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175799.688931,
    "timestamp": 1779175801.130716,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139993226996608",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": false,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic Error LLM Test",
      "sentry.segment.id": "8a7ebfb43ac1f4c7",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Basic Error LLM Test (sync, blocking, completion, anthropic)❗︎ 19040ms
checkAISpanCount(>=1)
checkErrorCaptured
8ccb159bSpan has status="ok" with no error indicators
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "trace_id": "a4b05a3e0ae44552bbc7cf8871a693a3",
    "span_id": "8efd5474f4f70d24",
    "parent_span_id": "8ccb159bfedec5ed",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:29:59.179748Z",
    "timestamp": "2026-05-19T07:29:59.180695Z",
    "origin": "auto.http.httpx",
    "status": "internal_error",
    "tags": {
      "http.status_code": "500",
      "status": "internal_error"
    },
    "data": {
      "thread.id": "139624442989440",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 500,
      "reason": "Internal Server Error"
    }
  },
  {
    "span_id": "a03544ed28c1ab27",
    "trace_id": "a4b05a3e0ae44552bbc7cf8871a693a3",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic Error LLM Test",
    "start_timestamp": "2026-05-19T07:29:58.602349Z",
    "timestamp": "2026-05-19T07:29:59.213603Z",
    "data": {
      "thread.id": "139624442989440",
      "thread.name": "MainThread"
    },
    "status": "internal_error"
  },
  {
    "span_id": "8ccb159bfedec5ed",
    "trace_id": "a4b05a3e0ae44552bbc7cf8871a693a3",
    "parent_span_id": "a03544ed28c1ab27",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175799.178135,
    "timestamp": 1779175799.202826,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139624442989440",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic Error LLM Test",
      "sentry.segment.id": "a03544ed28c1ab27",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Basic Error LLM Test (sync, blocking, responses, openai)❗︎ 110307ms
checkAISpanCount(>=1)
checkErrorCaptured
8e9a1e38Span has status="ok" with no error indicators
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "trace_id": "a62968c890d04ea4afd18b9bc1cf83a2",
    "span_id": "887834aa207bd998",
    "parent_span_id": "8e9a1e3810045bc8",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:30:00.274693Z",
    "timestamp": "2026-05-19T07:30:00.278136Z",
    "origin": "auto.http.httpx",
    "status": "internal_error",
    "tags": {
      "http.status_code": "500",
      "status": "internal_error"
    },
    "data": {
      "thread.id": "140347349482368",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 500,
      "reason": "Internal Server Error"
    }
  },
  {
    "span_id": "9ce0a3038d4cbc54",
    "trace_id": "a62968c890d04ea4afd18b9bc1cf83a2",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic Error LLM Test",
    "start_timestamp": "2026-05-19T07:30:00.250371Z",
    "timestamp": "2026-05-19T07:30:00.324328Z",
    "data": {
      "thread.id": "140347349482368",
      "thread.name": "MainThread"
    },
    "status": "internal_error"
  },
  {
    "span_id": "8e9a1e3810045bc8",
    "trace_id": "a62968c890d04ea4afd18b9bc1cf83a2",
    "parent_span_id": "9ce0a3038d4cbc54",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175800.270626,
    "timestamp": 1779175800.309172,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140347349482368",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": false,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic Error LLM Test",
      "sentry.segment.id": "9ce0a3038d4cbc54",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Basic Error LLM Test (sync, blocking, responses, anthropic)❗︎ 112165ms
checkAISpanCount(>=1)
checkErrorCaptured
9951289eSpan has status="ok" with no error indicators
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "trace_id": "42cc7010ef3945eebda238ba8acbfec1",
    "span_id": "8d372e988220b6c6",
    "parent_span_id": "9951289e8c823a8e",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:30:04.042072Z",
    "timestamp": "2026-05-19T07:30:04.043096Z",
    "origin": "auto.http.httpx",
    "status": "internal_error",
    "tags": {
      "http.status_code": "500",
      "status": "internal_error"
    },
    "data": {
      "thread.id": "140187188808576",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 500,
      "reason": "Internal Server Error"
    }
  },
  {
    "span_id": "a9f9e9f1ce72dc3a",
    "trace_id": "42cc7010ef3945eebda238ba8acbfec1",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic Error LLM Test",
    "start_timestamp": "2026-05-19T07:30:03.379477Z",
    "timestamp": "2026-05-19T07:30:04.131981Z",
    "data": {
      "thread.id": "140187188808576",
      "thread.name": "MainThread"
    },
    "status": "internal_error"
  },
  {
    "span_id": "9951289e8c823a8e",
    "trace_id": "42cc7010ef3945eebda238ba8acbfec1",
    "parent_span_id": "a9f9e9f1ce72dc3a",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175804.037223,
    "timestamp": 1779175804.085973,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140187188808576",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic Error LLM Test",
      "sentry.segment.id": "a9f9e9f1ce72dc3a",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Basic Error LLM Test (async, streaming, completion, openai)❗︎ 113734ms
checkAISpanCount(>=1)
checkErrorCaptured
8b1acd38Span has status="ok" with no error indicators
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (8)
[
  {
    "trace_id": "7cd9e55a11ad4f17b7eee6b6a94257c7",
    "span_id": "9612964a66442227",
    "parent_span_id": "8b1acd3824e8b2ab",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:30:05.103108Z",
    "timestamp": "2026-05-19T07:30:05.105798Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21313
    },
    "data": {
      "thread.id": "139962448082624",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "7cd9e55a11ad4f17b7eee6b6a94257c7",
    "span_id": "a0f66f9b633158bb",
    "parent_span_id": "8b1acd3824e8b2ab",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:30:05.105937Z",
    "timestamp": "2026-05-19T07:30:05.106084Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21313
    },
    "data": {
      "thread.id": "139962448082624",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "7cd9e55a11ad4f17b7eee6b6a94257c7",
    "span_id": "86abed9bc54d7596",
    "parent_span_id": "a0f66f9b633158bb",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:30:05.106038Z",
    "timestamp": "2026-05-19T07:30:05.106073Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21313
    },
    "data": {
      "thread.id": "139962448082624",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "7cd9e55a11ad4f17b7eee6b6a94257c7",
    "span_id": "8c69c8b2e6e457ac",
    "parent_span_id": "8b1acd3824e8b2ab",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:30:05.106113Z",
    "timestamp": "2026-05-19T07:30:05.106123Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21313
    },
    "data": {
      "thread.id": "139962448082624",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "7cd9e55a11ad4f17b7eee6b6a94257c7",
    "span_id": "b66ee898983e728a",
    "parent_span_id": "8b1acd3824e8b2ab",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:30:05.110160Z",
    "timestamp": "2026-05-19T07:30:05.909118Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139962682309504",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 34,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-error-llm-test-async-streaming-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "7cd9e55a11ad4f17b7eee6b6a94257c7",
    "span_id": "aa9f8c8de8239d85",
    "parent_span_id": "b66ee898983e728a",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:30:05.111086Z",
    "timestamp": "2026-05-19T07:30:05.907778Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139962682309504",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 34,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-error-llm-test-async-streaming-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "9da857381688b0bb",
    "trace_id": "7cd9e55a11ad4f17b7eee6b6a94257c7",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic Error LLM Test",
    "start_timestamp": "2026-05-19T07:30:05.020687Z",
    "timestamp": "2026-05-19T07:30:06.704359Z",
    "data": {
      "thread.id": "139962682309504",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "8b1acd3824e8b2ab",
    "trace_id": "7cd9e55a11ad4f17b7eee6b6a94257c7",
    "parent_span_id": "9da857381688b0bb",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175805.087175,
    "timestamp": 1779175806.600603,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139962682309504",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-5-nano",
      "gen_ai.response.text": "{\"content\": \"Paris.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 75,
      "gen_ai.usage.total_tokens": 98,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic Error LLM Test",
      "sentry.segment.id": "9da857381688b0bb",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Basic Error LLM Test (async, streaming, completion, anthropic)❗︎ 117652ms
checkAISpanCount(>=1)
checkErrorCaptured
9a6240deSpan has status="ok" with no error indicators
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "trace_id": "7d5b95ccb3b54c038260e4c7f5439d4a",
    "span_id": "b036e58d443b6f75",
    "parent_span_id": "9a6240de4d7ce7a1",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:30:05.550226Z",
    "timestamp": "2026-05-19T07:30:10.024354Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139688069905280",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 34,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-error-llm-test-async-streaming-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "7d5b95ccb3b54c038260e4c7f5439d4a",
    "span_id": "a19a38c50630f770",
    "parent_span_id": "b036e58d443b6f75",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:30:05.551156Z",
    "timestamp": "2026-05-19T07:30:10.022862Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139688069905280",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 34,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-error-llm-test-async-streaming-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "95961a5c7cce6dcc",
    "trace_id": "7d5b95ccb3b54c038260e4c7f5439d4a",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic Error LLM Test",
    "start_timestamp": "2026-05-19T07:30:04.798293Z",
    "timestamp": "2026-05-19T07:30:10.487279Z",
    "data": {
      "thread.id": "139688069905280",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "9a6240de4d7ce7a1",
    "trace_id": "7d5b95ccb3b54c038260e4c7f5439d4a",
    "parent_span_id": "95961a5c7cce6dcc",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175805.548833,
    "timestamp": 1779175810.380773,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139687838611136",
      "thread.name": "asyncio_0",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.response.text": "{\"content\": \"The capital of France is Paris. It's located in the north-central part of the country along the Seine River and is known for landmarks like the Eiffel Tower, Notre-Dame Cathedral, and the Louvre Museum.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 51,
      "gen_ai.usage.total_tokens": 71,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic Error LLM Test",
      "sentry.segment.id": "95961a5c7cce6dcc",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Basic Error LLM Test (async, streaming, responses, openai)❗︎ 114799ms
checkAISpanCount(>=1)
checkErrorCaptured
9eb6fa5dSpan has status="ok" with no error indicators
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "trace_id": "a677eb50c6d242be95690f5142bf9b24",
    "span_id": "a09d6a99932967e8",
    "parent_span_id": "9eb6fa5da0a2fb45",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:30:06.519498Z",
    "timestamp": "2026-05-19T07:30:06.760417Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140696515652480",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 34,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-error-llm-test-async-streaming-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "a677eb50c6d242be95690f5142bf9b24",
    "span_id": "afe4454723e5a1a3",
    "parent_span_id": "a09d6a99932967e8",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:30:06.520406Z",
    "timestamp": "2026-05-19T07:30:06.756250Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140696515652480",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 34,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-error-llm-test-async-streaming-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "ad2f840557a09e1f",
    "trace_id": "a677eb50c6d242be95690f5142bf9b24",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic Error LLM Test",
    "start_timestamp": "2026-05-19T07:30:05.784464Z",
    "timestamp": "2026-05-19T07:30:08.267592Z",
    "data": {
      "thread.id": "140696515652480",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "9eb6fa5da0a2fb45",
    "trace_id": "a677eb50c6d242be95690f5142bf9b24",
    "parent_span_id": "ad2f840557a09e1f",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175806.518692,
    "timestamp": 1779175808.16335,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140696515652480",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic Error LLM Test",
      "sentry.segment.id": "ad2f840557a09e1f",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Basic Error LLM Test (async, streaming, responses, anthropic)❗︎ 114282ms
checkAISpanCount(>=1)
checkErrorCaptured
ae109c9eSpan has status="ok" with no error indicators
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "trace_id": "6f3a51d032214548a87523cd2cb8c284",
    "span_id": "8456e6f708bad7d4",
    "parent_span_id": "ae109c9e302a05bf",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:30:08.312107Z",
    "timestamp": "2026-05-19T07:30:09.258729Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140456095542144",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 34,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-error-llm-test-async-streaming-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "6f3a51d032214548a87523cd2cb8c284",
    "span_id": "a0bb86ef75367875",
    "parent_span_id": "8456e6f708bad7d4",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:30:08.312859Z",
    "timestamp": "2026-05-19T07:30:09.257225Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140456095542144",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 34,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-error-llm-test-async-streaming-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "be3ec2397f807078",
    "trace_id": "6f3a51d032214548a87523cd2cb8c284",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic Error LLM Test",
    "start_timestamp": "2026-05-19T07:30:07.466901Z",
    "timestamp": "2026-05-19T07:30:09.512333Z",
    "data": {
      "thread.id": "140456095542144",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "ae109c9e302a05bf",
    "trace_id": "6f3a51d032214548a87523cd2cb8c284",
    "parent_span_id": "be3ec2397f807078",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175808.310892,
    "timestamp": 1779175809.38992,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140455940024000",
      "thread.name": "asyncio_0",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.response.text": "{\"content\": \"The capital of France is Paris.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic Error LLM Test",
      "sentry.segment.id": "be3ec2397f807078",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Basic Error LLM Test (async, blocking, completion, openai)❗︎ 115752ms
checkAISpanCount(>=1)
checkErrorCaptured
9278f986Span has status="ok" with no error indicators
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (8)
[
  {
    "trace_id": "440392c6bbb6473ab4930faef7e7b245",
    "span_id": "9e5d7559489cacee",
    "parent_span_id": "9278f986f417102c",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:30:13.043072Z",
    "timestamp": "2026-05-19T07:30:13.048323Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21359
    },
    "data": {
      "thread.id": "140358323889856",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "440392c6bbb6473ab4930faef7e7b245",
    "span_id": "ad923918b60260b3",
    "parent_span_id": "9278f986f417102c",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:30:13.048442Z",
    "timestamp": "2026-05-19T07:30:13.048608Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21359
    },
    "data": {
      "thread.id": "140358323889856",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "440392c6bbb6473ab4930faef7e7b245",
    "span_id": "b499e6a6c07e458e",
    "parent_span_id": "ad923918b60260b3",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:30:13.048559Z",
    "timestamp": "2026-05-19T07:30:13.048598Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21359
    },
    "data": {
      "thread.id": "140358323889856",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "440392c6bbb6473ab4930faef7e7b245",
    "span_id": "87995e4578c2d77b",
    "parent_span_id": "9278f986f417102c",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:30:13.048644Z",
    "timestamp": "2026-05-19T07:30:13.048659Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21359
    },
    "data": {
      "thread.id": "140358323889856",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "440392c6bbb6473ab4930faef7e7b245",
    "span_id": "ba7edc4b27639556",
    "parent_span_id": "9278f986f417102c",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:30:13.050750Z",
    "timestamp": "2026-05-19T07:30:13.790433Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140358479862656",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 34,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-error-llm-test-async-blocking-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "440392c6bbb6473ab4930faef7e7b245",
    "span_id": "b550667a850e984c",
    "parent_span_id": "ba7edc4b27639556",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:30:13.051558Z",
    "timestamp": "2026-05-19T07:30:13.785721Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140358479862656",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 34,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-error-llm-test-async-blocking-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "9bc94660cd30716d",
    "trace_id": "440392c6bbb6473ab4930faef7e7b245",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic Error LLM Test",
    "start_timestamp": "2026-05-19T07:30:12.949850Z",
    "timestamp": "2026-05-19T07:30:13.988438Z",
    "data": {
      "thread.id": "140358479862656",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "9278f986f417102c",
    "trace_id": "440392c6bbb6473ab4930faef7e7b245",
    "parent_span_id": "9bc94660cd30716d",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175813.020817,
    "timestamp": 1779175813.87798,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140358479862656",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "{\"content\": \"Paris.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"refusal\": \"None\"}, \"annotations\": []}",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 11,
      "gen_ai.usage.total_tokens": 34,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic Error LLM Test",
      "sentry.segment.id": "9bc94660cd30716d",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Basic Error LLM Test (async, blocking, completion, anthropic)❗︎ 115554ms
checkAISpanCount(>=1)
checkErrorCaptured
a8a32a8cSpan has status="ok" with no error indicators
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "trace_id": "d7aecd34c01d407ba55444f303910058",
    "span_id": "b47fe91cff78457a",
    "parent_span_id": "a8a32a8c1125cad5",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:30:14.645535Z",
    "timestamp": "2026-05-19T07:30:15.154575Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140193502858112",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 34,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-error-llm-test-async-blocking-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "d7aecd34c01d407ba55444f303910058",
    "span_id": "b509138105b3baf1",
    "parent_span_id": "b47fe91cff78457a",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:30:14.646501Z",
    "timestamp": "2026-05-19T07:30:15.152906Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140193502858112",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 34,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-error-llm-test-async-blocking-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "80263b775eb760ba",
    "trace_id": "d7aecd34c01d407ba55444f303910058",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic Error LLM Test",
    "start_timestamp": "2026-05-19T07:30:13.775753Z",
    "timestamp": "2026-05-19T07:30:15.307398Z",
    "data": {
      "thread.id": "140193502858112",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "a8a32a8c1125cad5",
    "trace_id": "d7aecd34c01d407ba55444f303910058",
    "parent_span_id": "80263b775eb760ba",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175814.640827,
    "timestamp": 1779175815.199251,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140193346184896",
      "thread.name": "asyncio_0",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"The capital of France is **Paris**.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 11,
      "gen_ai.usage.total_tokens": 31,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic Error LLM Test",
      "sentry.segment.id": "80263b775eb760ba",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Basic Error LLM Test (async, blocking, responses, openai)❗︎ 116399ms
checkAISpanCount(>=1)
checkErrorCaptured
b0c76d44Span has status="ok" with no error indicators
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "trace_id": "1538ecf1dbe5498d878cfe893c2ef4b9",
    "span_id": "b132c33da341b7e9",
    "parent_span_id": "b0c76d4413ef7d32",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:30:14.828743Z",
    "timestamp": "2026-05-19T07:30:16.315120Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140238860684160",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 34,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-error-llm-test-async-blocking-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "1538ecf1dbe5498d878cfe893c2ef4b9",
    "span_id": "b6aeca869ffe7f14",
    "parent_span_id": "b132c33da341b7e9",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:30:14.829685Z",
    "timestamp": "2026-05-19T07:30:16.313739Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140238860684160",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 34,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-error-llm-test-async-blocking-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "ab7f1bfa1b4effed",
    "trace_id": "1538ecf1dbe5498d878cfe893c2ef4b9",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic Error LLM Test",
    "start_timestamp": "2026-05-19T07:30:14.786157Z",
    "timestamp": "2026-05-19T07:30:16.499206Z",
    "data": {
      "thread.id": "140238860684160",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b0c76d4413ef7d32",
    "trace_id": "1538ecf1dbe5498d878cfe893c2ef4b9",
    "parent_span_id": "ab7f1bfa1b4effed",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175814.827655,
    "timestamp": 1779175816.393016,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140238860684160",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 131,
      "gen_ai.usage.total_tokens": 154,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic Error LLM Test",
      "sentry.segment.id": "ab7f1bfa1b4effed",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Basic Error LLM Test (async, blocking, responses, anthropic)❗︎ 115109ms
checkAISpanCount(>=1)
checkErrorCaptured
a56bda2eSpan has status="ok" with no error indicators
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "trace_id": "88cba964385c4edd9fb5231350743234",
    "span_id": "951beae6e6785a85",
    "parent_span_id": "a56bda2ea8f70790",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:30:14.044422Z",
    "timestamp": "2026-05-19T07:30:15.219457Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140695051856768",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 34,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-error-llm-test-async-blocking-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "88cba964385c4edd9fb5231350743234",
    "span_id": "a6ba35be0284494f",
    "parent_span_id": "951beae6e6785a85",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:30:14.045344Z",
    "timestamp": "2026-05-19T07:30:15.217713Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140695051856768",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 34,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-error-llm-test-async-blocking-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "a2d77e87ba77a06c",
    "trace_id": "88cba964385c4edd9fb5231350743234",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic Error LLM Test",
    "start_timestamp": "2026-05-19T07:30:13.440951Z",
    "timestamp": "2026-05-19T07:30:15.406380Z",
    "data": {
      "thread.id": "140695051856768",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "a56bda2ea8f70790",
    "trace_id": "88cba964385c4edd9fb5231350743234",
    "parent_span_id": "a2d77e87ba77a06c",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175814.042941,
    "timestamp": 1779175815.307648,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140694896862912",
      "thread.name": "asyncio_0",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"The capital of France is **Paris**. It is the largest city in France and has been the capital since the 12th century. Paris is located in the north-central part of the country along the Seine River.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 48,
      "gen_ai.usage.total_tokens": 68,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic Error LLM Test",
      "sentry.segment.id": "a2d77e87ba77a06c",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Vision LLM Test (sync, streaming, completion, openai)❗︎ 1 115927ms
checkChatSpanAttributes
b340e5a4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b340e5a4gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
b340e5a4gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
b340e5a4gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "03354aa682ce4badba8dfbfbebcc0077",
    "span_id": "bb104a781c52eeb1",
    "parent_span_id": "b340e5a4fa1d7461",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:30:17.718253Z",
    "timestamp": "2026-05-19T07:30:17.725897Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21393
    },
    "data": {
      "thread.id": "140616481844096",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "03354aa682ce4badba8dfbfbebcc0077",
    "span_id": "b118fb489ef0c319",
    "parent_span_id": "b340e5a4fa1d7461",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:30:17.726019Z",
    "timestamp": "2026-05-19T07:30:17.733410Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21393
    },
    "data": {
      "thread.id": "140616481844096",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "03354aa682ce4badba8dfbfbebcc0077",
    "span_id": "ad43f83f60830dd2",
    "parent_span_id": "b118fb489ef0c319",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:30:17.733319Z",
    "timestamp": "2026-05-19T07:30:17.733385Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21393
    },
    "data": {
      "thread.id": "140616481844096",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "03354aa682ce4badba8dfbfbebcc0077",
    "span_id": "ada04f749f029518",
    "parent_span_id": "b340e5a4fa1d7461",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:30:17.733454Z",
    "timestamp": "2026-05-19T07:30:17.733472Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21393
    },
    "data": {
      "thread.id": "140616481844096",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "03354aa682ce4badba8dfbfbebcc0077",
    "span_id": "9259d2f99b265485",
    "parent_span_id": "b340e5a4fa1d7461",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:30:17.735338Z",
    "timestamp": "2026-05-19T07:30:18.215837Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140616481844096",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-sync-streaming-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "a2ab46109d4358c1",
    "trace_id": "03354aa682ce4badba8dfbfbebcc0077",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:30:17.635806Z",
    "timestamp": "2026-05-19T07:30:19.011988Z",
    "data": {
      "thread.id": "140616481844096",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b340e5a4fa1d7461",
    "trace_id": "03354aa682ce4badba8dfbfbebcc0077",
    "parent_span_id": "a2ab46109d4358c1",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175817.700162,
    "timestamp": 1779175818.912005,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140616481844096",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\"}, {\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"blob\", \"modality\": \"image\", \"mime_type\": \"image/png\", \"content\": \"iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}]}]",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-4o-mini",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 8538,
      "gen_ai.response.text": "{\"content\": \"Red\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "a2ab46109d4358c1",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Vision LLM Test (sync, streaming, completion, anthropic)❗︎ 1 118246ms
checkChatSpanAttributes
a8f77800gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a8f77800gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
a8f77800gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
a8f77800gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "trace_id": "473a2539b3c645f3aeeb606b6ff9d1ef",
    "span_id": "bb9b98ec9b9a6da6",
    "parent_span_id": "a8f77800c988f64a",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:30:21.158056Z",
    "timestamp": "2026-05-19T07:30:21.636126Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139906746784640",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-sync-streaming-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "b45be19aaedc05ff",
    "trace_id": "473a2539b3c645f3aeeb606b6ff9d1ef",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:30:19.964440Z",
    "timestamp": "2026-05-19T07:30:21.833964Z",
    "data": {
      "thread.id": "139906746784640",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "a8f77800c988f64a",
    "trace_id": "473a2539b3c645f3aeeb606b6ff9d1ef",
    "parent_span_id": "b45be19aaedc05ff",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175821.151196,
    "timestamp": 1779175821.733215,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139906746784640",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\"}, {\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"blob\", \"modality\": \"image\", \"mime_type\": \"image/png\", \"content\": \"iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}]}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.usage.input_tokens": 38,
      "gen_ai.usage.output_tokens": 4,
      "gen_ai.usage.total_tokens": 42,
      "gen_ai.response.text": "{\"content\": \"Pink\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "b45be19aaedc05ff",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Vision LLM Test (sync, streaming, responses, openai)❗︎ 1 217171ms
checkChatSpanAttributes
a0a88608gen_ai.usage.input_tokensSpan a0a88608: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
a0a88608gen_ai.usage.output_tokensSpan a0a88608: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkValidTokenUsage
a0a88608gen_ai.usage.input_tokensinput_tokens must exist
a0a88608gen_ai.usage.output_tokensoutput_tokens must exist
a0a88608gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkBinaryRedaction
a0a88608gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
a0a88608gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "trace_id": "861b720d710e441f9315f7cbe1611606",
    "span_id": "ae6a76ba5b6a1d3c",
    "parent_span_id": "a0a88608eae045b0",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:30:21.911254Z",
    "timestamp": "2026-05-19T07:30:22.097971Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140659687517056",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-sync-streaming-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "a4fab34262ddbe8d",
    "trace_id": "861b720d710e441f9315f7cbe1611606",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:30:21.885972Z",
    "timestamp": "2026-05-19T07:30:22.946994Z",
    "data": {
      "thread.id": "140659687517056",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "a0a88608eae045b0",
    "trace_id": "861b720d710e441f9315f7cbe1611606",
    "parent_span_id": "a4fab34262ddbe8d",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175821.910059,
    "timestamp": 1779175822.836548,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140659687517056",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"input_text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"input_image\", \"image_url\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}]}]",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "a4fab34262ddbe8d",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Vision LLM Test (sync, streaming, responses, anthropic)❗︎ 1 114844ms
checkChatSpanAttributes
99fefa52gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
99fefa52gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
99fefa52gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
99fefa52gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "trace_id": "659d6413d1374f75a64cf775cf445f85",
    "span_id": "a66efecdcb495e5f",
    "parent_span_id": "99fefa52f1750326",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:30:20.880812Z",
    "timestamp": "2026-05-19T07:30:21.598091Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139666260355968",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-sync-streaming-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "a301f75f731c2049",
    "trace_id": "659d6413d1374f75a64cf775cf445f85",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:30:20.145486Z",
    "timestamp": "2026-05-19T07:30:21.806008Z",
    "data": {
      "thread.id": "139666260355968",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "99fefa52f1750326",
    "trace_id": "659d6413d1374f75a64cf775cf445f85",
    "parent_span_id": "a301f75f731c2049",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175820.876243,
    "timestamp": 1779175821.686626,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139666260355968",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"input_text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"input_image\", \"image_url\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}]}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.usage.input_tokens": 38,
      "gen_ai.usage.output_tokens": 4,
      "gen_ai.usage.total_tokens": 42,
      "gen_ai.response.text": "{\"content\": \"Pink\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "a301f75f731c2049",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Vision LLM Test (sync, blocking, completion, openai)❗︎ 1 118572ms
checkChatSpanAttributes
98d95cfdgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
98d95cfdgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
98d95cfdgen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
98d95cfdgen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "c78a0716c11d42f7a36f73f8f9f23698",
    "span_id": "accfaf6ca3ccb2c9",
    "parent_span_id": "98d95cfdc5bf5d66",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:30:25.787442Z",
    "timestamp": "2026-05-19T07:30:25.794021Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21431
    },
    "data": {
      "thread.id": "140204416846720",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "c78a0716c11d42f7a36f73f8f9f23698",
    "span_id": "a0c795774db50ff7",
    "parent_span_id": "98d95cfdc5bf5d66",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:30:25.794154Z",
    "timestamp": "2026-05-19T07:30:25.794315Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21431
    },
    "data": {
      "thread.id": "140204416846720",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "c78a0716c11d42f7a36f73f8f9f23698",
    "span_id": "bcd005f061fd1818",
    "parent_span_id": "a0c795774db50ff7",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:30:25.794271Z",
    "timestamp": "2026-05-19T07:30:25.794308Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21431
    },
    "data": {
      "thread.id": "140204416846720",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "c78a0716c11d42f7a36f73f8f9f23698",
    "span_id": "b54edf5ca1af3a25",
    "parent_span_id": "98d95cfdc5bf5d66",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:30:25.794346Z",
    "timestamp": "2026-05-19T07:30:25.794357Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21431
    },
    "data": {
      "thread.id": "140204416846720",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "c78a0716c11d42f7a36f73f8f9f23698",
    "span_id": "8a623d8606f58f25",
    "parent_span_id": "98d95cfdc5bf5d66",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:30:25.795855Z",
    "timestamp": "2026-05-19T07:30:26.524513Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140204416846720",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-sync-blocking-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "8e2ecafea3893484",
    "trace_id": "c78a0716c11d42f7a36f73f8f9f23698",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:30:25.709637Z",
    "timestamp": "2026-05-19T07:30:26.753758Z",
    "data": {
      "thread.id": "140204416846720",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "98d95cfdc5bf5d66",
    "trace_id": "c78a0716c11d42f7a36f73f8f9f23698",
    "parent_span_id": "8e2ecafea3893484",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175825.770345,
    "timestamp": 1779175826.65406,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140204416846720",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\"}, {\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"blob\", \"modality\": \"image\", \"mime_type\": \"image/png\", \"content\": \"iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}]}]",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.text": "{\"content\": \"Red\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"refusal\": \"None\"}, \"annotations\": []}",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 8538,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "8e2ecafea3893484",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Vision LLM Test (sync, blocking, completion, anthropic)❗︎ 1 114981ms
checkChatSpanAttributes
bfa784f1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bfa784f1gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
bfa784f1gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
bfa784f1gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "trace_id": "a0cd39f54e9b4939beacb3fba58b0e06",
    "span_id": "b45f0bbc8804fdda",
    "parent_span_id": "bfa784f1b9162864",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:30:21.889197Z",
    "timestamp": "2026-05-19T07:30:22.917301Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140579295136640",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-sync-blocking-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "bbe033e6ab5358a6",
    "trace_id": "a0cd39f54e9b4939beacb3fba58b0e06",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:30:21.433202Z",
    "timestamp": "2026-05-19T07:30:23.038769Z",
    "data": {
      "thread.id": "140579295136640",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "bfa784f1b9162864",
    "trace_id": "a0cd39f54e9b4939beacb3fba58b0e06",
    "parent_span_id": "bbe033e6ab5358a6",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175821.878307,
    "timestamp": 1779175822.933702,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140579295136640",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\"}, {\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"blob\", \"modality\": \"image\", \"mime_type\": \"image/png\", \"content\": \"iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}]}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"Pink\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 38,
      "gen_ai.usage.output_tokens": 4,
      "gen_ai.usage.total_tokens": 42,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "bbe033e6ab5358a6",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Vision LLM Test (sync, blocking, responses, openai)❗︎ 1 119029ms
checkChatSpanAttributes
94c07d84gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
94c07d84gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
94c07d84gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "trace_id": "9517d9c940c34705aecd8d50d353aeaf",
    "span_id": "a50f4d5627155bfc",
    "parent_span_id": "94c07d84669fafa2",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:30:26.523102Z",
    "timestamp": "2026-05-19T07:30:28.516000Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140345904933760",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-sync-blocking-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "9fa90b2eb18de14f",
    "trace_id": "9517d9c940c34705aecd8d50d353aeaf",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:30:26.489122Z",
    "timestamp": "2026-05-19T07:30:28.654314Z",
    "data": {
      "thread.id": "140345904933760",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "94c07d84669fafa2",
    "trace_id": "9517d9c940c34705aecd8d50d353aeaf",
    "parent_span_id": "9fa90b2eb18de14f",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175826.521968,
    "timestamp": 1779175828.552786,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140345904933760",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"input_text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"input_image\", \"image_url\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}]}]",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 2,
      "gen_ai.usage.total_tokens": 8539,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "9fa90b2eb18de14f",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Vision LLM Test (sync, blocking, responses, anthropic)❗︎ 1 115765ms
checkChatSpanAttributes
a6c912f4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a6c912f4gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
a6c912f4gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
a6c912f4gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "trace_id": "2a3537a9c1564cf9805df814a65a032b",
    "span_id": "a7dacb055c3816ef",
    "parent_span_id": "a6c912f48e7e6a58",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:30:25.337590Z",
    "timestamp": "2026-05-19T07:30:26.367014Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139755693579136",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-sync-blocking-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "a6218de455cea851",
    "trace_id": "2a3537a9c1564cf9805df814a65a032b",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:30:24.297672Z",
    "timestamp": "2026-05-19T07:30:26.497970Z",
    "data": {
      "thread.id": "139755693579136",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "a6c912f48e7e6a58",
    "trace_id": "2a3537a9c1564cf9805df814a65a032b",
    "parent_span_id": "a6218de455cea851",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175825.330842,
    "timestamp": 1779175826.392386,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139755693579136",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"input_text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"input_image\", \"image_url\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}]}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"Pink\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 38,
      "gen_ai.usage.output_tokens": 4,
      "gen_ai.usage.total_tokens": 42,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "a6218de455cea851",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Vision LLM Test (async, streaming, completion, openai)❗︎ 1 118296ms
checkChatSpanAttributes
8715e201gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8715e201gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
8715e201gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
8715e201gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (8)
[
  {
    "trace_id": "bfe8efb7a11741ceae5e84edfb780294",
    "span_id": "97496c9536d82ba6",
    "parent_span_id": "8715e201533e0cf8",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:30:31.140141Z",
    "timestamp": "2026-05-19T07:30:31.144353Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21451
    },
    "data": {
      "thread.id": "140449302537920",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "bfe8efb7a11741ceae5e84edfb780294",
    "span_id": "bb64636b59e8c012",
    "parent_span_id": "8715e201533e0cf8",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:30:31.144462Z",
    "timestamp": "2026-05-19T07:30:31.154100Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21451
    },
    "data": {
      "thread.id": "140449302537920",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "bfe8efb7a11741ceae5e84edfb780294",
    "span_id": "bd2f77d6238a9b74",
    "parent_span_id": "bb64636b59e8c012",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:30:31.154019Z",
    "timestamp": "2026-05-19T07:30:31.154077Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21451
    },
    "data": {
      "thread.id": "140449302537920",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "bfe8efb7a11741ceae5e84edfb780294",
    "span_id": "a91b28b481c95676",
    "parent_span_id": "8715e201533e0cf8",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:30:31.154146Z",
    "timestamp": "2026-05-19T07:30:31.154162Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21451
    },
    "data": {
      "thread.id": "140449302537920",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "bfe8efb7a11741ceae5e84edfb780294",
    "span_id": "a948a95f42e7354a",
    "parent_span_id": "8715e201533e0cf8",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:30:31.157106Z",
    "timestamp": "2026-05-19T07:30:31.562617Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140449458060160",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-async-streaming-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "bfe8efb7a11741ceae5e84edfb780294",
    "span_id": "ae67fd4670ce5f5d",
    "parent_span_id": "a948a95f42e7354a",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:30:31.158026Z",
    "timestamp": "2026-05-19T07:30:31.561285Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140449458060160",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-async-streaming-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "85c1ef4d221d5498",
    "trace_id": "bfe8efb7a11741ceae5e84edfb780294",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:30:31.047381Z",
    "timestamp": "2026-05-19T07:30:32.746219Z",
    "data": {
      "thread.id": "140449458060160",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "8715e201533e0cf8",
    "trace_id": "bfe8efb7a11741ceae5e84edfb780294",
    "parent_span_id": "85c1ef4d221d5498",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175831.118625,
    "timestamp": 1779175832.637939,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140449458060160",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\"}, {\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"blob\", \"modality\": \"image\", \"mime_type\": \"image/png\", \"content\": \"iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}]}]",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-4o-mini",
      "gen_ai.response.text": "{\"content\": \"Red\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 8538,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "85c1ef4d221d5498",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Vision LLM Test (async, streaming, completion, anthropic)❗︎ 1 118838ms
checkChatSpanAttributes
86c64321gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
86c64321gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
86c64321gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
86c64321gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "trace_id": "008120a3bf2f4a2ba72e41147d16064d",
    "span_id": "bbba6513888ed460",
    "parent_span_id": "86c643217437dc39",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:30:33.018841Z",
    "timestamp": "2026-05-19T07:30:33.531250Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139976355634048",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-async-streaming-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "008120a3bf2f4a2ba72e41147d16064d",
    "span_id": "ade4fa59567a0e8e",
    "parent_span_id": "bbba6513888ed460",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:30:33.019733Z",
    "timestamp": "2026-05-19T07:30:33.526819Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139976355634048",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-async-streaming-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "89a31594cb7a75b6",
    "trace_id": "008120a3bf2f4a2ba72e41147d16064d",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:30:32.188757Z",
    "timestamp": "2026-05-19T07:30:33.737346Z",
    "data": {
      "thread.id": "139976355634048",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "86c643217437dc39",
    "trace_id": "008120a3bf2f4a2ba72e41147d16064d",
    "parent_span_id": "89a31594cb7a75b6",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175833.017303,
    "timestamp": 1779175833.626809,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139976199726784",
      "thread.name": "asyncio_0",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\"}, {\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"blob\", \"modality\": \"image\", \"mime_type\": \"image/png\", \"content\": \"iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}]}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.response.text": "{\"content\": \"Pink\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.usage.input_tokens": 38,
      "gen_ai.usage.output_tokens": 4,
      "gen_ai.usage.total_tokens": 42,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "89a31594cb7a75b6",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Vision LLM Test (async, streaming, responses, openai)❗︎ 1 218516ms
checkChatSpanAttributes
b4323cefgen_ai.usage.input_tokensSpan b4323cef: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
b4323cefgen_ai.usage.output_tokensSpan b4323cef: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkValidTokenUsage
b4323cefgen_ai.usage.input_tokensinput_tokens must exist
b4323cefgen_ai.usage.output_tokensoutput_tokens must exist
b4323cefgen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkBinaryRedaction
b4323cefgen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
b4323cefgen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "trace_id": "feec02d8048e4c9a8e298a2ab737652d",
    "span_id": "9316591bc81087b6",
    "parent_span_id": "b4323cefc7f8e40b",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:30:33.350786Z",
    "timestamp": "2026-05-19T07:30:33.523342Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140358900845440",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-async-streaming-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "feec02d8048e4c9a8e298a2ab737652d",
    "span_id": "8479290e3fe61b55",
    "parent_span_id": "9316591bc81087b6",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:30:33.351666Z",
    "timestamp": "2026-05-19T07:30:33.522200Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140358900845440",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-async-streaming-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "8234b4cdbf7a8c2f",
    "trace_id": "feec02d8048e4c9a8e298a2ab737652d",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:30:32.495123Z",
    "timestamp": "2026-05-19T07:30:34.270632Z",
    "data": {
      "thread.id": "140358900845440",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b4323cefc7f8e40b",
    "trace_id": "feec02d8048e4c9a8e298a2ab737652d",
    "parent_span_id": "8234b4cdbf7a8c2f",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175833.349721,
    "timestamp": 1779175834.165967,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140358900845440",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"input_text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"input_image\", \"image_url\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}]}]",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "8234b4cdbf7a8c2f",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Vision LLM Test (async, streaming, responses, anthropic)❗︎ 1 117531ms
checkChatSpanAttributes
b29d60b0gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b29d60b0gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
b29d60b0gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
b29d60b0gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "trace_id": "3edbce4b49324b58b8d26b3bfbf4342f",
    "span_id": "9f5c30910ea02f3e",
    "parent_span_id": "b29d60b082fb29ce",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:30:33.113680Z",
    "timestamp": "2026-05-19T07:30:33.867008Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140567131040640",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-async-streaming-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "3edbce4b49324b58b8d26b3bfbf4342f",
    "span_id": "91582cd6ed747492",
    "parent_span_id": "9f5c30910ea02f3e",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:30:33.114754Z",
    "timestamp": "2026-05-19T07:30:33.865614Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140567131040640",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-async-streaming-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "a9bd59ffa7ebd1ae",
    "trace_id": "3edbce4b49324b58b8d26b3bfbf4342f",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:30:32.276944Z",
    "timestamp": "2026-05-19T07:30:34.087469Z",
    "data": {
      "thread.id": "140567131040640",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b29d60b082fb29ce",
    "trace_id": "3edbce4b49324b58b8d26b3bfbf4342f",
    "parent_span_id": "a9bd59ffa7ebd1ae",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175833.112146,
    "timestamp": 1779175833.972077,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140566897620672",
      "thread.name": "asyncio_0",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"input_text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"input_image\", \"image_url\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}]}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.response.text": "{\"content\": \"Pink\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.usage.input_tokens": 38,
      "gen_ai.usage.output_tokens": 4,
      "gen_ai.usage.total_tokens": 42,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "a9bd59ffa7ebd1ae",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Vision LLM Test (async, blocking, completion, openai)❗︎ 1 115430ms
checkChatSpanAttributes
b40571d6gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b40571d6gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
b40571d6gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
b40571d6gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (8)
[
  {
    "trace_id": "17ce787179f34a70baaf71ace16e0ed5",
    "span_id": "a8faca2d1b618501",
    "parent_span_id": "b40571d6884c1caf",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:30:33.918144Z",
    "timestamp": "2026-05-19T07:30:33.925015Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21473
    },
    "data": {
      "thread.id": "140032509736640",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "17ce787179f34a70baaf71ace16e0ed5",
    "span_id": "af78e5da639336ad",
    "parent_span_id": "b40571d6884c1caf",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:30:33.925139Z",
    "timestamp": "2026-05-19T07:30:33.928089Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21473
    },
    "data": {
      "thread.id": "140032509736640",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "17ce787179f34a70baaf71ace16e0ed5",
    "span_id": "b01dd21b4db8df99",
    "parent_span_id": "af78e5da639336ad",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:30:33.928016Z",
    "timestamp": "2026-05-19T07:30:33.928072Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21473
    },
    "data": {
      "thread.id": "140032509736640",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "17ce787179f34a70baaf71ace16e0ed5",
    "span_id": "8d1ed12c64829dd1",
    "parent_span_id": "b40571d6884c1caf",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:30:33.928129Z",
    "timestamp": "2026-05-19T07:30:33.928145Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21473
    },
    "data": {
      "thread.id": "140032509736640",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "17ce787179f34a70baaf71ace16e0ed5",
    "span_id": "90b108aa3c983a87",
    "parent_span_id": "b40571d6884c1caf",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:30:33.933174Z",
    "timestamp": "2026-05-19T07:30:34.394645Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140032736902016",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-async-blocking-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "17ce787179f34a70baaf71ace16e0ed5",
    "span_id": "9825a6ad485463d0",
    "parent_span_id": "90b108aa3c983a87",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:30:33.934078Z",
    "timestamp": "2026-05-19T07:30:34.392788Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140032736902016",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-async-blocking-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "a308743363f77e7e",
    "trace_id": "17ce787179f34a70baaf71ace16e0ed5",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:30:33.836635Z",
    "timestamp": "2026-05-19T07:30:34.599326Z",
    "data": {
      "thread.id": "140032736902016",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b40571d6884c1caf",
    "trace_id": "17ce787179f34a70baaf71ace16e0ed5",
    "parent_span_id": "a308743363f77e7e",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175833.898344,
    "timestamp": 1779175834.492069,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140032736902016",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\"}, {\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"blob\", \"modality\": \"image\", \"mime_type\": \"image/png\", \"content\": \"iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}]}]",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.text": "{\"content\": \"Red\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"refusal\": \"None\"}, \"annotations\": []}",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 8538,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "a308743363f77e7e",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Vision LLM Test (async, blocking, completion, anthropic)❗︎ 1 117030ms
checkChatSpanAttributes
92fd3b07gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
92fd3b07gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
92fd3b07gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
92fd3b07gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "trace_id": "c4f5a2106c364de689d9956496d62903",
    "span_id": "83f1788681b5beeb",
    "parent_span_id": "92fd3b074158ce62",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:30:36.331066Z",
    "timestamp": "2026-05-19T07:30:37.846567Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140560527637376",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-async-blocking-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "c4f5a2106c364de689d9956496d62903",
    "span_id": "843e55b4acc81172",
    "parent_span_id": "83f1788681b5beeb",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:30:36.332030Z",
    "timestamp": "2026-05-19T07:30:37.845044Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140560527637376",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-async-blocking-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "bf5d6b11f58e5c1f",
    "trace_id": "c4f5a2106c364de689d9956496d62903",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:30:35.326490Z",
    "timestamp": "2026-05-19T07:30:38.022246Z",
    "data": {
      "thread.id": "140560527637376",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "92fd3b074158ce62",
    "trace_id": "c4f5a2106c364de689d9956496d62903",
    "parent_span_id": "bf5d6b11f58e5c1f",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175836.32448,
    "timestamp": 1779175837.914693,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140560372950720",
      "thread.name": "asyncio_0",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\"}, {\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"blob\", \"modality\": \"image\", \"mime_type\": \"image/png\", \"content\": \"iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}]}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"Pink\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 38,
      "gen_ai.usage.output_tokens": 4,
      "gen_ai.usage.total_tokens": 42,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "bf5d6b11f58e5c1f",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Vision LLM Test (async, blocking, responses, openai)❗︎ 1 115992ms
checkChatSpanAttributes
b4f0b6eegen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
b4f0b6eegen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
b4f0b6eegen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "trace_id": "7e224e2f66254d1ba7e457eb76d88813",
    "span_id": "855c4d5153395e95",
    "parent_span_id": "b4f0b6ee17e6041e",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:30:37.251110Z",
    "timestamp": "2026-05-19T07:30:38.285193Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139839910067072",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-async-blocking-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "7e224e2f66254d1ba7e457eb76d88813",
    "span_id": "a3d822507ff382c3",
    "parent_span_id": "855c4d5153395e95",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:30:37.254029Z",
    "timestamp": "2026-05-19T07:30:38.283728Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139839910067072",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-async-blocking-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "a2fd44bc70ae4b02",
    "trace_id": "7e224e2f66254d1ba7e457eb76d88813",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:30:37.222701Z",
    "timestamp": "2026-05-19T07:30:38.465209Z",
    "data": {
      "thread.id": "139839910067072",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b4f0b6ee17e6041e",
    "trace_id": "7e224e2f66254d1ba7e457eb76d88813",
    "parent_span_id": "a2fd44bc70ae4b02",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175837.250208,
    "timestamp": 1779175838.357316,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139839910067072",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"input_text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"input_image\", \"image_url\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}]}]",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 2,
      "gen_ai.usage.total_tokens": 8539,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "a2fd44bc70ae4b02",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Vision LLM Test (async, blocking, responses, anthropic)❗︎ 1 116675ms
checkChatSpanAttributes
87d442a6gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
87d442a6gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkBinaryRedaction
87d442a6gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
87d442a6gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "trace_id": "13d2569a1ebd42f0aff00d0585bfbbc7",
    "span_id": "9d26fa8f9cc0c574",
    "parent_span_id": "87d442a6217a5213",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:30:38.891074Z",
    "timestamp": "2026-05-19T07:30:39.606108Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139842930715520",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-async-blocking-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "13d2569a1ebd42f0aff00d0585bfbbc7",
    "span_id": "af919156a5d1fd29",
    "parent_span_id": "9d26fa8f9cc0c574",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:30:38.892014Z",
    "timestamp": "2026-05-19T07:30:39.604644Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139842930715520",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-async-blocking-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "ba22fbb7ee490b4d",
    "trace_id": "13d2569a1ebd42f0aff00d0585bfbbc7",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:30:38.093034Z",
    "timestamp": "2026-05-19T07:30:39.794560Z",
    "data": {
      "thread.id": "139842930715520",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "87d442a6217a5213",
    "trace_id": "13d2569a1ebd42f0aff00d0585bfbbc7",
    "parent_span_id": "ba22fbb7ee490b4d",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175838.889501,
    "timestamp": 1779175839.687568,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139842775770816",
      "thread.name": "asyncio_0",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"input_text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"input_image\", \"image_url\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}]}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"Pink\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 38,
      "gen_ai.usage.output_tokens": 4,
      "gen_ai.usage.total_tokens": 42,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "ba22fbb7ee490b4d",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Long Input LLM Test (sync, streaming, completion, openai)❗︎ 117491ms
checkChatSpanAttributes
8f41fc56gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8f41fc56gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "f88a484d5a6e4ee4a4f2269288c44306",
    "span_id": "9c8187fa1e0ce529",
    "parent_span_id": "8f41fc56f49bc327",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:30:38.798609Z",
    "timestamp": "2026-05-19T07:30:38.805015Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21511
    },
    "data": {
      "thread.id": "139793940507520",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "f88a484d5a6e4ee4a4f2269288c44306",
    "span_id": "874ae6ff5cebf94d",
    "parent_span_id": "8f41fc56f49bc327",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:30:38.805149Z",
    "timestamp": "2026-05-19T07:30:38.805319Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21511
    },
    "data": {
      "thread.id": "139793940507520",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "f88a484d5a6e4ee4a4f2269288c44306",
    "span_id": "9f16602120286d41",
    "parent_span_id": "874ae6ff5cebf94d",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:30:38.805264Z",
    "timestamp": "2026-05-19T07:30:38.805308Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21511
    },
    "data": {
      "thread.id": "139793940507520",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "f88a484d5a6e4ee4a4f2269288c44306",
    "span_id": "92ec2f4c4ccf0509",
    "parent_span_id": "8f41fc56f49bc327",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:30:38.805359Z",
    "timestamp": "2026-05-19T07:30:38.805374Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21511
    },
    "data": {
      "thread.id": "139793940507520",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "f88a484d5a6e4ee4a4f2269288c44306",
    "span_id": "9cba73ebd77cf023",
    "parent_span_id": "8f41fc56f49bc327",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:30:38.810487Z",
    "timestamp": "2026-05-19T07:30:40.038421Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139793940507520",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-sync-streaming-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "88d205d8b5231e75",
    "trace_id": "f88a484d5a6e4ee4a4f2269288c44306",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:30:38.741218Z",
    "timestamp": "2026-05-19T07:30:40.994906Z",
    "data": {
      "thread.id": "139793940507520",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "8f41fc56f49bc327",
    "trace_id": "f88a484d5a6e4ee4a4f2269288c44306",
    "parent_span_id": "88d205d8b5231e75",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175838.785116,
    "timestamp": 1779175840.896033,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139793940507520",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant. Respond briefly.\"}, {\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-4o-mini",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.output_tokens": 16,
      "gen_ai.usage.total_tokens": 5445,
      "gen_ai.response.text": "{\"content\": \"This message is a repeated phrase intended to form a long input for testing purposes.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "88d205d8b5231e75",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Long Input LLM Test (sync, streaming, completion, anthropic)❗︎ 116618ms
checkChatSpanAttributes
88143273gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
88143273gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "trace_id": "f8f831beb75247e38f4b11b3bbd046df",
    "span_id": "a14c30d595a68f30",
    "parent_span_id": "8814327390e16b92",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:30:41.339746Z",
    "timestamp": "2026-05-19T07:30:42.218295Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140277206829952",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-sync-streaming-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "8dabfba4ee74c10a",
    "trace_id": "f8f831beb75247e38f4b11b3bbd046df",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:30:40.390965Z",
    "timestamp": "2026-05-19T07:30:42.512967Z",
    "data": {
      "thread.id": "140277206829952",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "8814327390e16b92",
    "trace_id": "f8f831beb75247e38f4b11b3bbd046df",
    "parent_span_id": "8dabfba4ee74c10a",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175841.331608,
    "timestamp": 1779175842.412055,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140277206829952",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant. Respond briefly.\"}, {\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.usage.input_tokens": 5426,
      "gen_ai.usage.output_tokens": 20,
      "gen_ai.usage.total_tokens": 5446,
      "gen_ai.response.text": "{\"content\": \"This is a test message that has been repeated many times to create a lengthy input.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "8dabfba4ee74c10a",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Long Input LLM Test (sync, streaming, responses, openai)❗︎ 117516ms
checkChatSpanAttributes
929bceebgen_ai.usage.input_tokensSpan 929bceeb: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
929bceebgen_ai.usage.output_tokensSpan 929bceeb: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "trace_id": "0cfbc354ec654eab89013961a35b0507",
    "span_id": "937c2617ff34a7b3",
    "parent_span_id": "929bceeb492af809",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:30:42.024803Z",
    "timestamp": "2026-05-19T07:30:42.218697Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139808998771584",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-sync-streaming-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "b3570e7361031ca0",
    "trace_id": "0cfbc354ec654eab89013961a35b0507",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:30:41.976196Z",
    "timestamp": "2026-05-19T07:30:43.990004Z",
    "data": {
      "thread.id": "139808998771584",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "929bceeb492af809",
    "trace_id": "0cfbc354ec654eab89013961a35b0507",
    "parent_span_id": "b3570e7361031ca0",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175842.016813,
    "timestamp": 1779175843.883406,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139808998771584",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "b3570e7361031ca0",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Long Input LLM Test (sync, streaming, responses, anthropic)❗︎ 118428ms
checkChatSpanAttributes
ac0acb15gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ac0acb15gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "trace_id": "80d7a1376d014f878e3836acb46b24ec",
    "span_id": "a904f0bb84c9b659",
    "parent_span_id": "ac0acb156d401867",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:30:46.332674Z",
    "timestamp": "2026-05-19T07:30:47.071166Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139957040270208",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-sync-streaming-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "bb4e9e6de6da12ef",
    "trace_id": "80d7a1376d014f878e3836acb46b24ec",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:30:45.417458Z",
    "timestamp": "2026-05-19T07:30:47.401004Z",
    "data": {
      "thread.id": "139957040270208",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "ac0acb156d401867",
    "trace_id": "80d7a1376d014f878e3836acb46b24ec",
    "parent_span_id": "bb4e9e6de6da12ef",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175846.322253,
    "timestamp": 1779175847.267266,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139957040270208",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.usage.input_tokens": 5426,
      "gen_ai.usage.output_tokens": 17,
      "gen_ai.usage.total_tokens": 5443,
      "gen_ai.response.text": "{\"content\": \"This is a test message repeated many times to create a lengthy input.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "bb4e9e6de6da12ef",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Long Input LLM Test (sync, blocking, completion, openai)❗︎ 117880ms
checkChatSpanAttributes
bc426240gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bc426240gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "d75f40092c7c4815875eab6e449b77a6",
    "span_id": "bdb8acdbd7b0e392",
    "parent_span_id": "bc426240f09dc762",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:30:49.189071Z",
    "timestamp": "2026-05-19T07:30:49.195000Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21557
    },
    "data": {
      "thread.id": "139734405094272",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "d75f40092c7c4815875eab6e449b77a6",
    "span_id": "bbad942900bfa81b",
    "parent_span_id": "bc426240f09dc762",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:30:49.195118Z",
    "timestamp": "2026-05-19T07:30:49.201134Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21557
    },
    "data": {
      "thread.id": "139734405094272",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "d75f40092c7c4815875eab6e449b77a6",
    "span_id": "9c85752efe7a61af",
    "parent_span_id": "bbad942900bfa81b",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:30:49.201053Z",
    "timestamp": "2026-05-19T07:30:49.201114Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21557
    },
    "data": {
      "thread.id": "139734405094272",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "d75f40092c7c4815875eab6e449b77a6",
    "span_id": "90b2c06d7a13b4b2",
    "parent_span_id": "bc426240f09dc762",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:30:49.201177Z",
    "timestamp": "2026-05-19T07:30:49.201192Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21557
    },
    "data": {
      "thread.id": "139734405094272",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "d75f40092c7c4815875eab6e449b77a6",
    "span_id": "a117291e74fb1bfd",
    "parent_span_id": "bc426240f09dc762",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:30:49.203193Z",
    "timestamp": "2026-05-19T07:30:50.418719Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139734405094272",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-sync-blocking-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "a23dada168e1a9bf",
    "trace_id": "d75f40092c7c4815875eab6e449b77a6",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:30:49.103474Z",
    "timestamp": "2026-05-19T07:30:50.627517Z",
    "data": {
      "thread.id": "139734405094272",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "bc426240f09dc762",
    "trace_id": "d75f40092c7c4815875eab6e449b77a6",
    "parent_span_id": "a23dada168e1a9bf",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175849.166231,
    "timestamp": 1779175850.52663,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139734405094272",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant. Respond briefly.\"}, {\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.text": "{\"content\": \"This is a repetitive test message designed to generate a very long input.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"refusal\": \"None\"}, \"annotations\": []}",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.output_tokens": 14,
      "gen_ai.usage.total_tokens": 5443,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "a23dada168e1a9bf",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Long Input LLM Test (sync, blocking, completion, anthropic)❗︎ 116810ms
checkChatSpanAttributes
8263d844gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8263d844gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "trace_id": "77ddd98b7f6549e1b2dade4805871a65",
    "span_id": "a2fa1efa8fa36b5c",
    "parent_span_id": "8263d844c7ca5354",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:30:49.893839Z",
    "timestamp": "2026-05-19T07:30:50.666683Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140407134018432",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-sync-blocking-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "8a455f5e5174f4f8",
    "trace_id": "77ddd98b7f6549e1b2dade4805871a65",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:30:49.184973Z",
    "timestamp": "2026-05-19T07:30:50.796622Z",
    "data": {
      "thread.id": "140407134018432",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "8263d844c7ca5354",
    "trace_id": "77ddd98b7f6549e1b2dade4805871a65",
    "parent_span_id": "8a455f5e5174f4f8",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175849.888796,
    "timestamp": 1779175850.693687,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140407134018432",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant. Respond briefly.\"}, {\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"A test message is repeated many times to create lengthy input.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 5426,
      "gen_ai.usage.output_tokens": 15,
      "gen_ai.usage.total_tokens": 5441,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "8a455f5e5174f4f8",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Long Input LLM Test (sync, blocking, responses, openai)❗︎ 122475ms
checkChatSpanAttributes
b595bcaegen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "trace_id": "5c4d9c93aa6f49c0b8c27a678e58e393",
    "span_id": "b2c299b497264eac",
    "parent_span_id": "b595bcae3cec4a35",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:30:51.727569Z",
    "timestamp": "2026-05-19T07:30:56.326518Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140397803289472",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-sync-blocking-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "a3daaba89c7a7d7e",
    "trace_id": "5c4d9c93aa6f49c0b8c27a678e58e393",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:30:51.668472Z",
    "timestamp": "2026-05-19T07:30:56.468978Z",
    "data": {
      "thread.id": "140397803289472",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b595bcae3cec4a35",
    "trace_id": "5c4d9c93aa6f49c0b8c27a678e58e393",
    "parent_span_id": "a3daaba89c7a7d7e",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175851.716575,
    "timestamp": 1779175856.365004,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140397803289472",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.output_tokens": 14,
      "gen_ai.usage.total_tokens": 5443,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "a3daaba89c7a7d7e",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Long Input LLM Test (sync, blocking, responses, anthropic)❗︎ 116387ms
checkChatSpanAttributes
b75ccb23gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b75ccb23gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (3)
[
  {
    "trace_id": "1cd7882e62f84433a3c878c0e7b1ad79",
    "span_id": "94ace14d297f7961",
    "parent_span_id": "b75ccb23fa18830e",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:30:49.679455Z",
    "timestamp": "2026-05-19T07:30:50.421632Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140105264843648",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-sync-blocking-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "81f8e3714a77d813",
    "trace_id": "1cd7882e62f84433a3c878c0e7b1ad79",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:30:49.072500Z",
    "timestamp": "2026-05-19T07:30:50.546990Z",
    "data": {
      "thread.id": "140105264843648",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b75ccb23fa18830e",
    "trace_id": "1cd7882e62f84433a3c878c0e7b1ad79",
    "parent_span_id": "81f8e3714a77d813",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175849.669061,
    "timestamp": 1779175850.439404,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140105264843648",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"A test message is repeated many times to create a lengthy input.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 5426,
      "gen_ai.usage.output_tokens": 16,
      "gen_ai.usage.total_tokens": 5442,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "81f8e3714a77d813",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Long Input LLM Test (async, streaming, completion, openai)❗︎ 117522ms
checkChatSpanAttributes
959990e4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
959990e4gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (8)
[
  {
    "trace_id": "9827798a794844619eda461c7d8b32cd",
    "span_id": "9527df7eb9e65864",
    "parent_span_id": "959990e4bc8a57f7",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:30:50.086500Z",
    "timestamp": "2026-05-19T07:30:50.090451Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21560
    },
    "data": {
      "thread.id": "140193035806400",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "9827798a794844619eda461c7d8b32cd",
    "span_id": "be6081b933aa043f",
    "parent_span_id": "959990e4bc8a57f7",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:30:50.090552Z",
    "timestamp": "2026-05-19T07:30:50.090701Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21560
    },
    "data": {
      "thread.id": "140193035806400",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "9827798a794844619eda461c7d8b32cd",
    "span_id": "85103dae31d6216b",
    "parent_span_id": "be6081b933aa043f",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:30:50.090657Z",
    "timestamp": "2026-05-19T07:30:50.090692Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21560
    },
    "data": {
      "thread.id": "140193035806400",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "9827798a794844619eda461c7d8b32cd",
    "span_id": "8ac4c2fb9a898bd4",
    "parent_span_id": "959990e4bc8a57f7",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:30:50.090735Z",
    "timestamp": "2026-05-19T07:30:50.090748Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21560
    },
    "data": {
      "thread.id": "140193035806400",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "9827798a794844619eda461c7d8b32cd",
    "span_id": "8de0bfd6e6384e9a",
    "parent_span_id": "959990e4bc8a57f7",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:30:50.092841Z",
    "timestamp": "2026-05-19T07:30:50.834253Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140193190341504",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-async-streaming-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "9827798a794844619eda461c7d8b32cd",
    "span_id": "b17b1d309226759d",
    "parent_span_id": "8de0bfd6e6384e9a",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:30:50.093738Z",
    "timestamp": "2026-05-19T07:30:50.832657Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140193190341504",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-async-streaming-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "bb26e2aebbdb2e9c",
    "trace_id": "9827798a794844619eda461c7d8b32cd",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:30:50.022150Z",
    "timestamp": "2026-05-19T07:30:51.853530Z",
    "data": {
      "thread.id": "140193190341504",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "959990e4bc8a57f7",
    "trace_id": "9827798a794844619eda461c7d8b32cd",
    "parent_span_id": "bb26e2aebbdb2e9c",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175850.068348,
    "timestamp": 1779175851.741934,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140193190341504",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant. Respond briefly.\"}, {\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-4o-mini",
      "gen_ai.response.text": "{\"content\": \"The message is a repeated test phrase intended to generate a very long input.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.output_tokens": 15,
      "gen_ai.usage.total_tokens": 5444,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "bb26e2aebbdb2e9c",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Long Input LLM Test (async, streaming, completion, anthropic)❗︎ 115033ms
checkChatSpanAttributes
b7150635gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b7150635gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "trace_id": "aec3e16c5e76495ca7d3f7f79cffa682",
    "span_id": "8595f513dbd9dcb6",
    "parent_span_id": "b7150635148ddf78",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:30:52.722123Z",
    "timestamp": "2026-05-19T07:30:53.340325Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139689995983744",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-async-streaming-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "aec3e16c5e76495ca7d3f7f79cffa682",
    "span_id": "94a45957dad30e8a",
    "parent_span_id": "8595f513dbd9dcb6",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:30:52.726126Z",
    "timestamp": "2026-05-19T07:30:53.339009Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139689995983744",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-async-streaming-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "a5d5e5fc869162a5",
    "trace_id": "aec3e16c5e76495ca7d3f7f79cffa682",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:30:51.830463Z",
    "timestamp": "2026-05-19T07:30:53.613425Z",
    "data": {
      "thread.id": "139689995983744",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b7150635148ddf78",
    "trace_id": "aec3e16c5e76495ca7d3f7f79cffa682",
    "parent_span_id": "a5d5e5fc869162a5",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175852.71781,
    "timestamp": 1779175853.499066,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139689840961216",
      "thread.name": "asyncio_0",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant. Respond briefly.\"}, {\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.response.text": "{\"content\": \"This is a test message repeated many times to create lengthy input.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.usage.input_tokens": 5426,
      "gen_ai.usage.output_tokens": 16,
      "gen_ai.usage.total_tokens": 5442,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "a5d5e5fc869162a5",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Long Input LLM Test (async, streaming, responses, openai)❗︎ 118285ms
checkChatSpanAttributes
b3c929f6gen_ai.usage.input_tokensSpan b3c929f6: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
b3c929f6gen_ai.usage.output_tokensSpan b3c929f6: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "trace_id": "cf8705cbed414359930222154f36627a",
    "span_id": "9b97a7d2271ae49d",
    "parent_span_id": "b3c929f6ab4c069c",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:30:55.662511Z",
    "timestamp": "2026-05-19T07:30:55.862992Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140689686563712",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-async-streaming-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "cf8705cbed414359930222154f36627a",
    "span_id": "904446944e923095",
    "parent_span_id": "9b97a7d2271ae49d",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:30:55.666507Z",
    "timestamp": "2026-05-19T07:30:55.858636Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140689686563712",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-async-streaming-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "8e11a2f03dcf7685",
    "trace_id": "cf8705cbed414359930222154f36627a",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:30:54.780239Z",
    "timestamp": "2026-05-19T07:30:56.962488Z",
    "data": {
      "thread.id": "140689686563712",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b3c929f6ab4c069c",
    "trace_id": "cf8705cbed414359930222154f36627a",
    "parent_span_id": "8e11a2f03dcf7685",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175855.657753,
    "timestamp": 1779175856.855043,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140689686563712",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "8e11a2f03dcf7685",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Long Input LLM Test (async, streaming, responses, anthropic)❗︎ 119321ms
checkChatSpanAttributes
abc20fe0gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
abc20fe0gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "trace_id": "5a9301f22dd4436a8658e4de514d4703",
    "span_id": "9c7ba0220e85ead5",
    "parent_span_id": "abc20fe0112c91df",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:30:58.407148Z",
    "timestamp": "2026-05-19T07:30:59.008102Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140508924767104",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-async-streaming-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "5a9301f22dd4436a8658e4de514d4703",
    "span_id": "9249204a17e3b5b9",
    "parent_span_id": "9c7ba0220e85ead5",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:30:58.408115Z",
    "timestamp": "2026-05-19T07:30:59.006677Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140508924767104",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-async-streaming-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "a5915c727b070f82",
    "trace_id": "5a9301f22dd4436a8658e4de514d4703",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:30:57.466265Z",
    "timestamp": "2026-05-19T07:30:59.393374Z",
    "data": {
      "thread.id": "140508924767104",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "abc20fe0112c91df",
    "trace_id": "5a9301f22dd4436a8658e4de514d4703",
    "parent_span_id": "a5915c727b070f82",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175858.402081,
    "timestamp": 1779175859.277595,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140508769380032",
      "thread.name": "asyncio_0",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.response.text": "{\"content\": \"This is a test message that is repeated many times to create a lengthy input.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.usage.input_tokens": 5426,
      "gen_ai.usage.output_tokens": 19,
      "gen_ai.usage.total_tokens": 5445,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "a5915c727b070f82",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Long Input LLM Test (async, blocking, completion, openai)❗︎ 117529ms
checkChatSpanAttributes
a68f98a5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a68f98a5gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (8)
[
  {
    "trace_id": "9c953f24e1d94f3e83b5b5d8aded9dbb",
    "span_id": "b12deae4a69b4715",
    "parent_span_id": "a68f98a5c9a89cd6",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:30:56.148081Z",
    "timestamp": "2026-05-19T07:30:56.151991Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21599
    },
    "data": {
      "thread.id": "140274131625664",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "9c953f24e1d94f3e83b5b5d8aded9dbb",
    "span_id": "8cfb2c57fa6b76e4",
    "parent_span_id": "a68f98a5c9a89cd6",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:30:56.152095Z",
    "timestamp": "2026-05-19T07:30:56.152259Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21599
    },
    "data": {
      "thread.id": "140274131625664",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "9c953f24e1d94f3e83b5b5d8aded9dbb",
    "span_id": "aadcac7f8116b91a",
    "parent_span_id": "8cfb2c57fa6b76e4",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:30:56.152205Z",
    "timestamp": "2026-05-19T07:30:56.152243Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21599
    },
    "data": {
      "thread.id": "140274131625664",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "9c953f24e1d94f3e83b5b5d8aded9dbb",
    "span_id": "a9420942a38e9987",
    "parent_span_id": "a68f98a5c9a89cd6",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:30:56.152303Z",
    "timestamp": "2026-05-19T07:30:56.152317Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21599
    },
    "data": {
      "thread.id": "140274131625664",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "9c953f24e1d94f3e83b5b5d8aded9dbb",
    "span_id": "acefe2aeeded6faf",
    "parent_span_id": "a68f98a5c9a89cd6",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:30:56.156402Z",
    "timestamp": "2026-05-19T07:30:57.951432Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140274287319936",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-async-blocking-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "9c953f24e1d94f3e83b5b5d8aded9dbb",
    "span_id": "8ce639741d947eda",
    "parent_span_id": "acefe2aeeded6faf",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:30:56.157346Z",
    "timestamp": "2026-05-19T07:30:57.939861Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140274287319936",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-async-blocking-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "95250023a7ec86ac",
    "trace_id": "9c953f24e1d94f3e83b5b5d8aded9dbb",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:30:56.065566Z",
    "timestamp": "2026-05-19T07:30:58.183221Z",
    "data": {
      "thread.id": "140274287319936",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "a68f98a5c9a89cd6",
    "trace_id": "9c953f24e1d94f3e83b5b5d8aded9dbb",
    "parent_span_id": "95250023a7ec86ac",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175856.133179,
    "timestamp": 1779175858.069029,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140274287319936",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant. Respond briefly.\"}, {\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.text": "{\"content\": \"This repeated test message is designed to create an extensive input by being reiterated multiple times.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"refusal\": \"None\"}, \"annotations\": []}",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.output_tokens": 17,
      "gen_ai.usage.total_tokens": 5446,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "95250023a7ec86ac",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Long Input LLM Test (async, blocking, completion, anthropic)❗︎ 115535ms
checkChatSpanAttributes
8fb55c26gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8fb55c26gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "trace_id": "89992b13e1404195b45bc2f6deac7f27",
    "span_id": "9387f2405993e1c2",
    "parent_span_id": "8fb55c2690a1d63a",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:30:57.410365Z",
    "timestamp": "2026-05-19T07:30:58.213921Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140162433145728",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-async-blocking-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "89992b13e1404195b45bc2f6deac7f27",
    "span_id": "8c87b7e64743f891",
    "parent_span_id": "9387f2405993e1c2",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:30:57.411315Z",
    "timestamp": "2026-05-19T07:30:58.212597Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140162433145728",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-async-blocking-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "9e413a125ad8a7ca",
    "trace_id": "89992b13e1404195b45bc2f6deac7f27",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:30:56.598469Z",
    "timestamp": "2026-05-19T07:30:58.406228Z",
    "data": {
      "thread.id": "140162433145728",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "8fb55c2690a1d63a",
    "trace_id": "89992b13e1404195b45bc2f6deac7f27",
    "parent_span_id": "9e413a125ad8a7ca",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175857.406391,
    "timestamp": 1779175858.289731,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140162277926592",
      "thread.name": "asyncio_0",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant. Respond briefly.\"}, {\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"This message is a single sentence repeated hundreds of times to create lengthy input.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 5426,
      "gen_ai.usage.output_tokens": 18,
      "gen_ai.usage.total_tokens": 5444,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "9e413a125ad8a7ca",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Long Input LLM Test (async, blocking, responses, openai)❗︎ 116740ms
checkChatSpanAttributes
aa709ff0gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "trace_id": "3ea85fbeae394f38b68d988fa3cae79e",
    "span_id": "b7f253584c4c4c36",
    "parent_span_id": "aa709ff0809f5f8f",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:30:59.303034Z",
    "timestamp": "2026-05-19T07:31:00.183507Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140669275192192",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-async-blocking-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "3ea85fbeae394f38b68d988fa3cae79e",
    "span_id": "a1258d6634cd040d",
    "parent_span_id": "b7f253584c4c4c36",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:30:59.303854Z",
    "timestamp": "2026-05-19T07:31:00.182021Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140669275192192",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-async-blocking-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "8b81ae4eaea42ec1",
    "trace_id": "3ea85fbeae394f38b68d988fa3cae79e",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:30:59.256039Z",
    "timestamp": "2026-05-19T07:31:00.375189Z",
    "data": {
      "thread.id": "140669275192192",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "aa709ff0809f5f8f",
    "trace_id": "3ea85fbeae394f38b68d988fa3cae79e",
    "parent_span_id": "8b81ae4eaea42ec1",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175859.301683,
    "timestamp": 1779175860.283194,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140669275192192",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.output_tokens": 12,
      "gen_ai.usage.total_tokens": 5441,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "8b81ae4eaea42ec1",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Long Input LLM Test (async, blocking, responses, anthropic)❗︎ 117953ms
checkChatSpanAttributes
a4112608gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a4112608gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (4)
[
  {
    "trace_id": "0dc4bdca1cc3480783accfd4512331fa",
    "span_id": "9ca3bd4190c74374",
    "parent_span_id": "a411260881fae5de",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:04.118483Z",
    "timestamp": "2026-05-19T07:31:04.837185Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140498631977856",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-async-blocking-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "0dc4bdca1cc3480783accfd4512331fa",
    "span_id": "bedbf742bd26afcc",
    "parent_span_id": "9ca3bd4190c74374",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:04.119436Z",
    "timestamp": "2026-05-19T07:31:04.835675Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140498631977856",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 30,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-async-blocking-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "afaaa85544661317",
    "trace_id": "0dc4bdca1cc3480783accfd4512331fa",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:31:03.077548Z",
    "timestamp": "2026-05-19T07:31:05.032367Z",
    "data": {
      "thread.id": "140498631977856",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "a411260881fae5de",
    "trace_id": "0dc4bdca1cc3480783accfd4512331fa",
    "parent_span_id": "afaaa85544661317",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175864.116171,
    "timestamp": 1779175864.917899,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140498379470528",
      "thread.name": "asyncio_1",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"This is a test message that is repeated many times to create a lengthy input.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 5426,
      "gen_ai.usage.output_tokens": 19,
      "gen_ai.usage.total_tokens": 5445,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "afaaa85544661317",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Conversation ID LLM Test (sync, streaming, completion, openai)❗︎ 120756ms
checkAISpanCount(4)
checkChatSpanAttributes
bf567c63gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bf567c63gen_ai.output.messagesMissing output messages attribute
95e0549cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
95e0549cgen_ai.output.messagesMissing output messages attribute
9258cc18gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9258cc18gen_ai.output.messagesMissing output messages attribute
94dafec6gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
94dafec6gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (13)
[
  {
    "trace_id": "8296a74a931841da9863119091bfd7dd",
    "span_id": "8f65cdb232f8b356",
    "parent_span_id": "bf567c63f9cccfcc",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:04.938729Z",
    "timestamp": "2026-05-19T07:31:04.946336Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21654
    },
    "data": {
      "thread.id": "140706317355904",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "8296a74a931841da9863119091bfd7dd",
    "span_id": "a73181b983a863cd",
    "parent_span_id": "bf567c63f9cccfcc",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:04.946463Z",
    "timestamp": "2026-05-19T07:31:04.957163Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21654
    },
    "data": {
      "thread.id": "140706317355904",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "8296a74a931841da9863119091bfd7dd",
    "span_id": "a7e7436174883425",
    "parent_span_id": "a73181b983a863cd",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:04.957068Z",
    "timestamp": "2026-05-19T07:31:04.957135Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21654
    },
    "data": {
      "thread.id": "140706317355904",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "8296a74a931841da9863119091bfd7dd",
    "span_id": "8eef7a13d3557305",
    "parent_span_id": "bf567c63f9cccfcc",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:04.957210Z",
    "timestamp": "2026-05-19T07:31:04.957235Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21654
    },
    "data": {
      "thread.id": "140706317355904",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "8296a74a931841da9863119091bfd7dd",
    "span_id": "a33cf9c8bc9428f2",
    "parent_span_id": "bf567c63f9cccfcc",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:04.959046Z",
    "timestamp": "2026-05-19T07:31:06.420054Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140706317355904",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 31,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "8296a74a931841da9863119091bfd7dd",
    "span_id": "8bf41520e8e47fc9",
    "parent_span_id": "95e0549c8c28eaee",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:07.393737Z",
    "timestamp": "2026-05-19T07:31:08.487688Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140706317355904",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 58,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "8296a74a931841da9863119091bfd7dd",
    "span_id": "b1087a0d83f011d2",
    "parent_span_id": "9258cc18f086b1b7",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:08.759482Z",
    "timestamp": "2026-05-19T07:31:10.444125Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140706317355904",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 85,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "8296a74a931841da9863119091bfd7dd",
    "span_id": "a1039bc34d3be386",
    "parent_span_id": "94dafec6dd95491e",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:10.724857Z",
    "timestamp": "2026-05-19T07:31:12.213677Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140706317355904",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 120,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "ba07a2b6ba9ac16a",
    "trace_id": "8296a74a931841da9863119091bfd7dd",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:31:04.854711Z",
    "timestamp": "2026-05-19T07:31:12.480964Z",
    "data": {
      "thread.id": "140706317355904",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "bf567c63f9cccfcc",
    "trace_id": "8296a74a931841da9863119091bfd7dd",
    "parent_span_id": "ba07a2b6ba9ac16a",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175864.927187,
    "timestamp": 1779175867.279732,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140706317355904",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-5-nano",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 203,
      "gen_ai.usage.total_tokens": 226,
      "gen_ai.response.text": "{\"content\": \"Paris.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "ba07a2b6ba9ac16a",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "95e0549c8c28eaee",
    "trace_id": "8296a74a931841da9863119091bfd7dd",
    "parent_span_id": "ba07a2b6ba9ac16a",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175867.388095,
    "timestamp": 1779175868.6495,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140706317355904",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a math tutor.\"}, {\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-5-nano",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 160,
      "gen_ai.usage.total_tokens": 184,
      "gen_ai.response.text": "{\"content\": \"4\\n\\nTwo plus two equals four. For example, 2 apples + 2 apples = 4 apples.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "ba07a2b6ba9ac16a",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9258cc18f086b1b7",
    "trace_id": "8296a74a931841da9863119091bfd7dd",
    "parent_span_id": "ba07a2b6ba9ac16a",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175868.750675,
    "timestamp": 1779175870.613409,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140706317355904",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-5-nano",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 210,
      "gen_ai.usage.total_tokens": 254,
      "gen_ai.response.text": "{\"content\": \"Berlin. The capital of Germany is Berlin.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "ba07a2b6ba9ac16a",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "94dafec6dd95491e",
    "trace_id": "8296a74a931841da9863119091bfd7dd",
    "parent_span_id": "ba07a2b6ba9ac16a",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175870.714796,
    "timestamp": 1779175872.378215,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140706317355904",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a math tutor.\"}, {\"role\": \"user\", \"content\": \"What is 2 + 2?\"}, {\"role\": \"assistant\", \"content\": \"2 + 2 equals 4.\"}, {\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-5-nano",
      "gen_ai.response.text": "{\"content\": \"6\\n\\nIt's the sum of two groups of three, which makes six. Want another quick example or a tip for adding?\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 226,
      "gen_ai.usage.total_tokens": 276,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "ba07a2b6ba9ac16a",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Conversation ID LLM Test (sync, streaming, completion, anthropic)❗︎ 118278ms
checkAISpanCount(4)
checkChatSpanAttributes
87bb3205gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
87bb3205gen_ai.output.messagesMissing output messages attribute
ad1180c0gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ad1180c0gen_ai.output.messagesMissing output messages attribute
b1829158gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b1829158gen_ai.output.messagesMissing output messages attribute
bd85b660gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bd85b660gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (9)
[
  {
    "trace_id": "563f8adced124dd9bfbcee83b91baa3b",
    "span_id": "bbfb603c9b4f7f96",
    "parent_span_id": "87bb32057cba4fa2",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:05.616430Z",
    "timestamp": "2026-05-19T07:31:06.447363Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140254317927296",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 31,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "563f8adced124dd9bfbcee83b91baa3b",
    "span_id": "87e056ea75174617",
    "parent_span_id": "ad1180c07ab63b68",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:06.623529Z",
    "timestamp": "2026-05-19T07:31:07.346800Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140254317927296",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 58,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "563f8adced124dd9bfbcee83b91baa3b",
    "span_id": "b1b14f8fed283e78",
    "parent_span_id": "b182915829f2e252",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:07.983357Z",
    "timestamp": "2026-05-19T07:31:08.737269Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140254317927296",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 85,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "563f8adced124dd9bfbcee83b91baa3b",
    "span_id": "973c582d7a7e169a",
    "parent_span_id": "bd85b66061b83564",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:08.913397Z",
    "timestamp": "2026-05-19T07:31:09.632801Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140254317927296",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 120,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "babedb4bab4157ab",
    "trace_id": "563f8adced124dd9bfbcee83b91baa3b",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:31:05.035606Z",
    "timestamp": "2026-05-19T07:31:09.786724Z",
    "data": {
      "thread.id": "140254317927296",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "87bb32057cba4fa2",
    "trace_id": "563f8adced124dd9bfbcee83b91baa3b",
    "parent_span_id": "babedb4bab4157ab",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175865.611812,
    "timestamp": 1779175866.516338,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140254317927296",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "gen_ai.response.text": "{\"content\": \"The capital of France is Paris.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "babedb4bab4157ab",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "ad1180c07ab63b68",
    "trace_id": "563f8adced124dd9bfbcee83b91baa3b",
    "parent_span_id": "babedb4bab4157ab",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175866.622664,
    "timestamp": 1779175867.879984,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140254317927296",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a math tutor.\"}, {\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 57,
      "gen_ai.usage.total_tokens": 80,
      "gen_ai.response.text": "{\"content\": \"2 + 2 = **4**\\n\\nThis is one of the most fundamental addition facts in mathematics. You can think of it as having 2 objects and adding 2 more objects, which gives you a total of 4 objects.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "babedb4bab4157ab",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b182915829f2e252",
    "trace_id": "563f8adced124dd9bfbcee83b91baa3b",
    "parent_span_id": "babedb4bab4157ab",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175867.982564,
    "timestamp": 1779175868.808831,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140254317927296",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.usage.input_tokens": 37,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 47,
      "gen_ai.response.text": "{\"content\": \"The capital of Germany is Berlin.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "babedb4bab4157ab",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "bd85b66061b83564",
    "trace_id": "563f8adced124dd9bfbcee83b91baa3b",
    "parent_span_id": "babedb4bab4157ab",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175868.912615,
    "timestamp": 1779175869.693356,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140254317927296",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a math tutor.\"}, {\"role\": \"user\", \"content\": \"What is 2 + 2?\"}, {\"role\": \"assistant\", \"content\": \"2 + 2 equals 4.\"}, {\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.usage.input_tokens": 49,
      "gen_ai.usage.output_tokens": 14,
      "gen_ai.usage.total_tokens": 63,
      "gen_ai.response.text": "{\"content\": \"3 + 3 equals 6.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "babedb4bab4157ab",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Conversation ID LLM Test (sync, streaming, responses, openai)❗︎ 1 120692ms
checkAISpanCount(4)
checkChatSpanAttributes
8959de84gen_ai.usage.input_tokensSpan 8959de84: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
8959de84gen_ai.usage.output_tokensSpan 8959de84: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
b77c3b58gen_ai.usage.input_tokensSpan b77c3b58: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
b77c3b58gen_ai.usage.output_tokensSpan b77c3b58: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
99ac686cgen_ai.usage.input_tokensSpan 99ac686c: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
99ac686cgen_ai.usage.output_tokensSpan 99ac686c: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
9f03483dgen_ai.usage.input_tokensSpan 9f03483d: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
9f03483dgen_ai.usage.output_tokensSpan 9f03483d: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
8959de84gen_ai.usage.input_tokensinput_tokens must exist
8959de84gen_ai.usage.output_tokensoutput_tokens must exist
8959de84gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (9)
[
  {
    "trace_id": "962f0b0c981f4bc9905ad5431af77f6e",
    "span_id": "99d2f018c4de1d99",
    "parent_span_id": "8959de84ba70bcb8",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:04.702637Z",
    "timestamp": "2026-05-19T07:31:04.920017Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140330338311040",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 31,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "962f0b0c981f4bc9905ad5431af77f6e",
    "span_id": "ab2c6af1911a19bd",
    "parent_span_id": "b77c3b5826297131",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:06.101558Z",
    "timestamp": "2026-05-19T07:31:06.454335Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140330338311040",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 55,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "962f0b0c981f4bc9905ad5431af77f6e",
    "span_id": "b4ea1f2e527409d6",
    "parent_span_id": "99ac686c11d3bc65",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:08.731409Z",
    "timestamp": "2026-05-19T07:31:08.929184Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140330338311040",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 79,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "962f0b0c981f4bc9905ad5431af77f6e",
    "span_id": "b82195c0cad80e78",
    "parent_span_id": "9f03483d9777265b",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:10.543606Z",
    "timestamp": "2026-05-19T07:31:10.793991Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140330338311040",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 111,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "89fc3ce2ddf8a91f",
    "trace_id": "962f0b0c981f4bc9905ad5431af77f6e",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:31:04.675156Z",
    "timestamp": "2026-05-19T07:31:13.137991Z",
    "data": {
      "thread.id": "140330338311040",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "8959de84ba70bcb8",
    "trace_id": "962f0b0c981f4bc9905ad5431af77f6e",
    "parent_span_id": "89fc3ce2ddf8a91f",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175864.698387,
    "timestamp": 1779175865.990432,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140330338311040",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "89fc3ce2ddf8a91f",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b77c3b5826297131",
    "trace_id": "962f0b0c981f4bc9905ad5431af77f6e",
    "parent_span_id": "89fc3ce2ddf8a91f",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175866.100772,
    "timestamp": 1779175868.621934,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140330338311040",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "89fc3ce2ddf8a91f",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "99ac686c11d3bc65",
    "trace_id": "962f0b0c981f4bc9905ad5431af77f6e",
    "parent_span_id": "89fc3ce2ddf8a91f",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175868.730642,
    "timestamp": 1779175870.433386,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140330338311040",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "89fc3ce2ddf8a91f",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9f03483d9777265b",
    "trace_id": "962f0b0c981f4bc9905ad5431af77f6e",
    "parent_span_id": "89fc3ce2ddf8a91f",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175870.540774,
    "timestamp": 1779175873.031971,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140330338311040",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}, {\"role\": \"assistant\", \"content\": \"2 + 2 equals 4.\"}, {\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "89fc3ce2ddf8a91f",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Conversation ID LLM Test (sync, streaming, responses, anthropic)❗︎ 119153ms
checkAISpanCount(4)
checkChatSpanAttributes
a7870c8cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a7870c8cgen_ai.output.messagesMissing output messages attribute
9337756dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9337756dgen_ai.output.messagesMissing output messages attribute
858af1b1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
858af1b1gen_ai.output.messagesMissing output messages attribute
b348636dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b348636dgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (9)
[
  {
    "trace_id": "6b3f427d4e2d45fab1dc127a2b7cdb40",
    "span_id": "a3a433367737cb54",
    "parent_span_id": "a7870c8c4042634b",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:08.480015Z",
    "timestamp": "2026-05-19T07:31:09.203114Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139784329735040",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 31,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "6b3f427d4e2d45fab1dc127a2b7cdb40",
    "span_id": "b35ca8aeba544542",
    "parent_span_id": "9337756dde480596",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:09.426739Z",
    "timestamp": "2026-05-19T07:31:09.880583Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139784329735040",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 55,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "6b3f427d4e2d45fab1dc127a2b7cdb40",
    "span_id": "9366be1220157b22",
    "parent_span_id": "858af1b11bbd3858",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:10.565003Z",
    "timestamp": "2026-05-19T07:31:10.985504Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139784329735040",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 79,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "6b3f427d4e2d45fab1dc127a2b7cdb40",
    "span_id": "a854b1214c095c57",
    "parent_span_id": "b348636de9de98fa",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:11.181343Z",
    "timestamp": "2026-05-19T07:31:12.172606Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139784329735040",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 111,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "bef3c2a7e42abed3",
    "trace_id": "6b3f427d4e2d45fab1dc127a2b7cdb40",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:31:07.735456Z",
    "timestamp": "2026-05-19T07:31:12.348740Z",
    "data": {
      "thread.id": "139784329735040",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "a7870c8c4042634b",
    "trace_id": "6b3f427d4e2d45fab1dc127a2b7cdb40",
    "parent_span_id": "bef3c2a7e42abed3",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175868.475286,
    "timestamp": 1779175869.280037,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139784329735040",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "gen_ai.response.text": "{\"content\": \"The capital of France is Paris.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "bef3c2a7e42abed3",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9337756dde480596",
    "trace_id": "6b3f427d4e2d45fab1dc127a2b7cdb40",
    "parent_span_id": "bef3c2a7e42abed3",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175869.415751,
    "timestamp": 1779175870.43104,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139784329735040",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 51,
      "gen_ai.usage.total_tokens": 74,
      "gen_ai.response.text": "{\"content\": \"2 + 2 = **4**\\n\\nThis is one of the most fundamental addition facts in math. If you have 2 of something and add 2 more, you'll have a total of 4.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "bef3c2a7e42abed3",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "858af1b11bbd3858",
    "trace_id": "6b3f427d4e2d45fab1dc127a2b7cdb40",
    "parent_span_id": "bef3c2a7e42abed3",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175870.563224,
    "timestamp": 1779175871.055623,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139784329735040",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.usage.input_tokens": 37,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 47,
      "gen_ai.response.text": "{\"content\": \"The capital of Germany is Berlin.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "bef3c2a7e42abed3",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b348636de9de98fa",
    "trace_id": "6b3f427d4e2d45fab1dc127a2b7cdb40",
    "parent_span_id": "bef3c2a7e42abed3",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175871.175439,
    "timestamp": 1779175872.228206,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139784329735040",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}, {\"role\": \"assistant\", \"content\": \"2 + 2 equals 4.\"}, {\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.usage.input_tokens": 49,
      "gen_ai.usage.output_tokens": 14,
      "gen_ai.usage.total_tokens": 63,
      "gen_ai.response.text": "{\"content\": \"3 + 3 equals 6.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "bef3c2a7e42abed3",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Conversation ID LLM Test (sync, blocking, completion, openai)❗︎ 122686ms
checkAISpanCount(4)
checkChatSpanAttributes
b6d96a7dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b6d96a7dgen_ai.output.messagesMissing output messages attribute
afd9b71egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
afd9b71egen_ai.output.messagesMissing output messages attribute
82a4de46gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
82a4de46gen_ai.output.messagesMissing output messages attribute
8a0b08a1gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8a0b08a1gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (13)
[
  {
    "trace_id": "36a2bdaaa4e74182b49ae8ecf93060e5",
    "span_id": "80e2f8678922b9b9",
    "parent_span_id": "b6d96a7d1e68503d",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:09.660065Z",
    "timestamp": "2026-05-19T07:31:09.667011Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21681
    },
    "data": {
      "thread.id": "140689901161344",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "36a2bdaaa4e74182b49ae8ecf93060e5",
    "span_id": "971fb2ef156fdf53",
    "parent_span_id": "b6d96a7d1e68503d",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:09.667146Z",
    "timestamp": "2026-05-19T07:31:09.667701Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21681
    },
    "data": {
      "thread.id": "140689901161344",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "36a2bdaaa4e74182b49ae8ecf93060e5",
    "span_id": "9be8203467f024ee",
    "parent_span_id": "971fb2ef156fdf53",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:09.667594Z",
    "timestamp": "2026-05-19T07:31:09.667683Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21681
    },
    "data": {
      "thread.id": "140689901161344",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "36a2bdaaa4e74182b49ae8ecf93060e5",
    "span_id": "81915bd75d9039a2",
    "parent_span_id": "b6d96a7d1e68503d",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:09.667745Z",
    "timestamp": "2026-05-19T07:31:09.667761Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21681
    },
    "data": {
      "thread.id": "140689901161344",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "36a2bdaaa4e74182b49ae8ecf93060e5",
    "span_id": "a3f0d765f6d958c0",
    "parent_span_id": "b6d96a7d1e68503d",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:09.669545Z",
    "timestamp": "2026-05-19T07:31:10.890764Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140689901161344",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 31,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "36a2bdaaa4e74182b49ae8ecf93060e5",
    "span_id": "9c3a30d6f2bd1c58",
    "parent_span_id": "afd9b71e8cc2891f",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:11.104279Z",
    "timestamp": "2026-05-19T07:31:12.790218Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140689901161344",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 50,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "36a2bdaaa4e74182b49ae8ecf93060e5",
    "span_id": "98b673f4de828def",
    "parent_span_id": "82a4de461d8e6822",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:12.904674Z",
    "timestamp": "2026-05-19T07:31:14.468955Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140689901161344",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 69,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "36a2bdaaa4e74182b49ae8ecf93060e5",
    "span_id": "b66b29d9fc6ec6e8",
    "parent_span_id": "8a0b08a14a5cc3be",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:14.583519Z",
    "timestamp": "2026-05-19T07:31:16.711017Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140689901161344",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 96,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "acd5801bbf1d75b9",
    "trace_id": "36a2bdaaa4e74182b49ae8ecf93060e5",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:31:09.606918Z",
    "timestamp": "2026-05-19T07:31:16.815616Z",
    "data": {
      "thread.id": "140689901161344",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b6d96a7d1e68503d",
    "trace_id": "36a2bdaaa4e74182b49ae8ecf93060e5",
    "parent_span_id": "acd5801bbf1d75b9",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175869.648755,
    "timestamp": 1779175870.992629,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140689901161344",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "{\"content\": \"Paris.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"refusal\": \"None\"}, \"annotations\": []}",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 139,
      "gen_ai.usage.total_tokens": 162,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "acd5801bbf1d75b9",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "afd9b71e8cc2891f",
    "trace_id": "36a2bdaaa4e74182b49ae8ecf93060e5",
    "parent_span_id": "acd5801bbf1d75b9",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175871.095471,
    "timestamp": 1779175872.796355,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140689901161344",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a math tutor.\"}, {\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "{\"content\": \"4. If you add two and two, you get four. Want to try a few more addition problems?\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"refusal\": \"None\"}, \"annotations\": []}",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 287,
      "gen_ai.usage.total_tokens": 311,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "acd5801bbf1d75b9",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "82a4de461d8e6822",
    "trace_id": "36a2bdaaa4e74182b49ae8ecf93060e5",
    "parent_span_id": "acd5801bbf1d75b9",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175872.898789,
    "timestamp": 1779175874.473894,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140689901161344",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "{\"content\": \"The capital of Germany is Berlin. Would you like a quick overview of Berlin or more details about Germany?\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"refusal\": \"None\"}, \"annotations\": []}",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 222,
      "gen_ai.usage.total_tokens": 266,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "acd5801bbf1d75b9",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8a0b08a14a5cc3be",
    "trace_id": "36a2bdaaa4e74182b49ae8ecf93060e5",
    "parent_span_id": "acd5801bbf1d75b9",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175874.577729,
    "timestamp": 1779175876.71593,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140689901161344",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a math tutor.\"}, {\"role\": \"user\", \"content\": \"What is 2 + 2?\"}, {\"role\": \"assistant\", \"content\": \"2 + 2 equals 4.\"}, {\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "{\"content\": \"3 + 3 equals 6. You can think of it as combining two groups of three to make six.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"refusal\": \"None\"}, \"annotations\": []}",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 288,
      "gen_ai.usage.total_tokens": 338,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "acd5801bbf1d75b9",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Conversation ID LLM Test (sync, blocking, completion, anthropic)❗︎ 117278ms
checkAISpanCount(4)
checkChatSpanAttributes
94e1cb23gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
94e1cb23gen_ai.output.messagesMissing output messages attribute
bde427fagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bde427fagen_ai.output.messagesMissing output messages attribute
840ccd6egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
840ccd6egen_ai.output.messagesMissing output messages attribute
956eb5d0gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
956eb5d0gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (9)
[
  {
    "trace_id": "3042b7349bfa436da81a842593d29cd4",
    "span_id": "9f04cfbce6fdfb2b",
    "parent_span_id": "94e1cb23ff7df6ab",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:11.889756Z",
    "timestamp": "2026-05-19T07:31:12.999446Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140543573859200",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 31,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "3042b7349bfa436da81a842593d29cd4",
    "span_id": "a64e6189a165b551",
    "parent_span_id": "bde427fa66b3da20",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:13.114517Z",
    "timestamp": "2026-05-19T07:31:14.013416Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140543573859200",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 50,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "3042b7349bfa436da81a842593d29cd4",
    "span_id": "959044209b70829f",
    "parent_span_id": "840ccd6e3bc74330",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:14.117902Z",
    "timestamp": "2026-05-19T07:31:14.645269Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140543573859200",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 69,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "3042b7349bfa436da81a842593d29cd4",
    "span_id": "b6909e6f7a4c13ba",
    "parent_span_id": "956eb5d0129905db",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:14.750226Z",
    "timestamp": "2026-05-19T07:31:15.244243Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140543573859200",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 96,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "b858af1527e73fd8",
    "trace_id": "3042b7349bfa436da81a842593d29cd4",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:31:11.528513Z",
    "timestamp": "2026-05-19T07:31:15.348973Z",
    "data": {
      "thread.id": "140543573859200",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "94e1cb23ff7df6ab",
    "trace_id": "3042b7349bfa436da81a842593d29cd4",
    "parent_span_id": "b858af1527e73fd8",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175871.888194,
    "timestamp": 1779175873.007621,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140543573859200",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"The capital of France is Paris. It's located in the north-central part of the country and is the largest city in France. Paris is known for iconic landmarks like the Eiffel Tower, Notre-Dame Cathedral, and the Louvre Museum.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 56,
      "gen_ai.usage.total_tokens": 76,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "b858af1527e73fd8",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "bde427fa66b3da20",
    "trace_id": "3042b7349bfa436da81a842593d29cd4",
    "parent_span_id": "b858af1527e73fd8",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175873.113673,
    "timestamp": 1779175874.015761,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140543573859200",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a math tutor.\"}, {\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"2 + 2 = **4**\\n\\nThis is one of the most basic addition facts! You're adding two groups of 2 items together, which gives you a total of 4.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 46,
      "gen_ai.usage.total_tokens": 69,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "b858af1527e73fd8",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "840ccd6e3bc74330",
    "trace_id": "3042b7349bfa436da81a842593d29cd4",
    "parent_span_id": "b858af1527e73fd8",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175874.11705,
    "timestamp": 1779175874.649347,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140543573859200",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"The capital of Germany is Berlin.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 37,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 47,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "b858af1527e73fd8",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "956eb5d0129905db",
    "trace_id": "3042b7349bfa436da81a842593d29cd4",
    "parent_span_id": "b858af1527e73fd8",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175874.749482,
    "timestamp": 1779175875.250364,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140543573859200",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a math tutor.\"}, {\"role\": \"user\", \"content\": \"What is 2 + 2?\"}, {\"role\": \"assistant\", \"content\": \"2 + 2 equals 4.\"}, {\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"3 + 3 equals 6.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 49,
      "gen_ai.usage.output_tokens": 14,
      "gen_ai.usage.total_tokens": 63,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "b858af1527e73fd8",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Conversation ID LLM Test (sync, blocking, responses, openai)❗︎ 121535ms
checkAISpanCount(4)
checkChatSpanAttributes
9175d6ecgen_ai.output.messagesMissing output messages attribute
886145fdgen_ai.output.messagesMissing output messages attribute
85d57745gen_ai.output.messagesMissing output messages attribute
8aaf18d9gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (9)
[
  {
    "trace_id": "b25002d4b2d24ad98cdcc9149e847955",
    "span_id": "8aba239df67d8620",
    "parent_span_id": "9175d6ece24a57a1",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:10.317199Z",
    "timestamp": "2026-05-19T07:31:12.684355Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140170473917312",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 31,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "b25002d4b2d24ad98cdcc9149e847955",
    "span_id": "a9419430af738760",
    "parent_span_id": "886145fddae88f67",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:12.807124Z",
    "timestamp": "2026-05-19T07:31:15.194892Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140170473917312",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 47,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "b25002d4b2d24ad98cdcc9149e847955",
    "span_id": "937e41a2b69b8d92",
    "parent_span_id": "85d57745a743249a",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:15.302450Z",
    "timestamp": "2026-05-19T07:31:17.357927Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140170473917312",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 63,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "b25002d4b2d24ad98cdcc9149e847955",
    "span_id": "89a20d8d9adef66d",
    "parent_span_id": "8aaf18d915a36a1c",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:17.472373Z",
    "timestamp": "2026-05-19T07:31:19.926425Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140170473917312",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 87,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "99ece2d2e9610c65",
    "trace_id": "b25002d4b2d24ad98cdcc9149e847955",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:31:10.293449Z",
    "timestamp": "2026-05-19T07:31:20.031709Z",
    "data": {
      "thread.id": "140170473917312",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "9175d6ece24a57a1",
    "trace_id": "b25002d4b2d24ad98cdcc9149e847955",
    "parent_span_id": "99ece2d2e9610c65",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175870.316223,
    "timestamp": 1779175872.699774,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140170473917312",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 306,
      "gen_ai.usage.total_tokens": 329,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "99ece2d2e9610c65",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "886145fddae88f67",
    "trace_id": "b25002d4b2d24ad98cdcc9149e847955",
    "parent_span_id": "99ece2d2e9610c65",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175872.80644,
    "timestamp": 1779175875.200957,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140170473917312",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 279,
      "gen_ai.usage.total_tokens": 303,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "99ece2d2e9610c65",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "85d57745a743249a",
    "trace_id": "b25002d4b2d24ad98cdcc9149e847955",
    "parent_span_id": "99ece2d2e9610c65",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175875.301687,
    "timestamp": 1779175877.369982,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140170473917312",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 258,
      "gen_ai.usage.total_tokens": 302,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "99ece2d2e9610c65",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8aaf18d915a36a1c",
    "trace_id": "b25002d4b2d24ad98cdcc9149e847955",
    "parent_span_id": "99ece2d2e9610c65",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175877.471571,
    "timestamp": 1779175879.932366,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140170473917312",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}, {\"role\": \"assistant\", \"content\": \"2 + 2 equals 4.\"}, {\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 304,
      "gen_ai.usage.total_tokens": 354,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "99ece2d2e9610c65",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Conversation ID LLM Test (sync, blocking, responses, anthropic)❗︎ 114898ms
checkAISpanCount(4)
checkChatSpanAttributes
8202e29agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8202e29agen_ai.output.messagesMissing output messages attribute
97cd6d0agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
97cd6d0agen_ai.output.messagesMissing output messages attribute
8b601b51gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8b601b51gen_ai.output.messagesMissing output messages attribute
b8c5a9eegen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b8c5a9eegen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (9)
[
  {
    "trace_id": "07c7a76b0b5b47beac3016dd385337ac",
    "span_id": "a3c8ba0584b2a65f",
    "parent_span_id": "8202e29af3a45b8d",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:11.263444Z",
    "timestamp": "2026-05-19T07:31:11.874471Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140442310617984",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 31,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "07c7a76b0b5b47beac3016dd385337ac",
    "span_id": "8089bf42ae9b6721",
    "parent_span_id": "97cd6d0a26e22933",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:11.997436Z",
    "timestamp": "2026-05-19T07:31:12.716576Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140442310617984",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 47,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "07c7a76b0b5b47beac3016dd385337ac",
    "span_id": "a4af89ce965e4534",
    "parent_span_id": "8b601b511a156bda",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:12.830999Z",
    "timestamp": "2026-05-19T07:31:13.468290Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140442310617984",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 63,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "07c7a76b0b5b47beac3016dd385337ac",
    "span_id": "a3e164ba59b00720",
    "parent_span_id": "b8c5a9ee5f5e0b5e",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:13.582211Z",
    "timestamp": "2026-05-19T07:31:14.729208Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140442310617984",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 87,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "953c6722915d6ef4",
    "trace_id": "07c7a76b0b5b47beac3016dd385337ac",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:31:10.684193Z",
    "timestamp": "2026-05-19T07:31:14.838992Z",
    "data": {
      "thread.id": "140442310617984",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "8202e29af3a45b8d",
    "trace_id": "07c7a76b0b5b47beac3016dd385337ac",
    "parent_span_id": "953c6722915d6ef4",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175871.259665,
    "timestamp": 1779175871.886374,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140442310617984",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"The capital of France is **Paris**.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 11,
      "gen_ai.usage.total_tokens": 31,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "953c6722915d6ef4",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "97cd6d0a26e22933",
    "trace_id": "07c7a76b0b5b47beac3016dd385337ac",
    "parent_span_id": "953c6722915d6ef4",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175871.993474,
    "timestamp": 1779175872.724411,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140442310617984",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"2 + 2 = **4**\\n\\nIs there anything else you'd like help with in math?\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 27,
      "gen_ai.usage.total_tokens": 50,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "953c6722915d6ef4",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8b601b511a156bda",
    "trace_id": "07c7a76b0b5b47beac3016dd385337ac",
    "parent_span_id": "953c6722915d6ef4",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175872.82727,
    "timestamp": 1779175873.476423,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140442310617984",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"The capital of Germany is Berlin.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 37,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 47,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "953c6722915d6ef4",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b8c5a9ee5f5e0b5e",
    "trace_id": "07c7a76b0b5b47beac3016dd385337ac",
    "parent_span_id": "953c6722915d6ef4",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175873.578344,
    "timestamp": 1779175874.737359,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140442310617984",
      "thread.name": "MainThread",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}, {\"role\": \"assistant\", \"content\": \"2 + 2 equals 4.\"}, {\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"3 + 3 equals 6.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 49,
      "gen_ai.usage.output_tokens": 14,
      "gen_ai.usage.total_tokens": 63,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "953c6722915d6ef4",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Conversation ID LLM Test (async, streaming, completion, openai)❗︎ 118751ms
checkAISpanCount(4)
checkChatSpanAttributes
b5d1680agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b5d1680agen_ai.output.messagesMissing output messages attribute
a22f3ca7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a22f3ca7gen_ai.output.messagesMissing output messages attribute
a7c0b396gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a7c0b396gen_ai.output.messagesMissing output messages attribute
91c4139agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
91c4139agen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (17)
[
  {
    "trace_id": "af6e487f30e542eebfab65875fb9ee18",
    "span_id": "b74f1f3b95697f77",
    "parent_span_id": "b5d1680aa7a27d5e",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:12.406906Z",
    "timestamp": "2026-05-19T07:31:12.410996Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21712
    },
    "data": {
      "thread.id": "139622654502592",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "af6e487f30e542eebfab65875fb9ee18",
    "span_id": "8078531e1c94498b",
    "parent_span_id": "b5d1680aa7a27d5e",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:12.411110Z",
    "timestamp": "2026-05-19T07:31:12.411275Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21712
    },
    "data": {
      "thread.id": "139622654502592",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "af6e487f30e542eebfab65875fb9ee18",
    "span_id": "8794acc20e140b18",
    "parent_span_id": "8078531e1c94498b",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:12.411223Z",
    "timestamp": "2026-05-19T07:31:12.411263Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21712
    },
    "data": {
      "thread.id": "139622654502592",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "af6e487f30e542eebfab65875fb9ee18",
    "span_id": "9e0f0b3e99adeab6",
    "parent_span_id": "b5d1680aa7a27d5e",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:12.411311Z",
    "timestamp": "2026-05-19T07:31:12.411330Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21712
    },
    "data": {
      "thread.id": "139622654502592",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "af6e487f30e542eebfab65875fb9ee18",
    "span_id": "9f9fb8e53fb99ee6",
    "parent_span_id": "b5d1680aa7a27d5e",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:12.413302Z",
    "timestamp": "2026-05-19T07:31:13.151765Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139622808849280",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 31,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "af6e487f30e542eebfab65875fb9ee18",
    "span_id": "88599451ddf38967",
    "parent_span_id": "9f9fb8e53fb99ee6",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:12.414215Z",
    "timestamp": "2026-05-19T07:31:13.150389Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139622808849280",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 31,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "af6e487f30e542eebfab65875fb9ee18",
    "span_id": "a17424dfc551efe9",
    "parent_span_id": "a22f3ca7b192db03",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:13.889805Z",
    "timestamp": "2026-05-19T07:31:15.321022Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139622808849280",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 58,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "af6e487f30e542eebfab65875fb9ee18",
    "span_id": "b824e8a1f865db87",
    "parent_span_id": "a17424dfc551efe9",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:13.890334Z",
    "timestamp": "2026-05-19T07:31:15.320339Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139622808849280",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 58,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "af6e487f30e542eebfab65875fb9ee18",
    "span_id": "80bd8642e49fae6b",
    "parent_span_id": "a7c0b39632169cf8",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:15.723902Z",
    "timestamp": "2026-05-19T07:31:16.661883Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139622808849280",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 85,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "af6e487f30e542eebfab65875fb9ee18",
    "span_id": "84ed1b3f5de6c5dc",
    "parent_span_id": "80bd8642e49fae6b",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:15.724425Z",
    "timestamp": "2026-05-19T07:31:16.661253Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139622808849280",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 85,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "af6e487f30e542eebfab65875fb9ee18",
    "span_id": "ade5c8a3f2e6167e",
    "parent_span_id": "91c4139a2b3c2757",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:16.879627Z",
    "timestamp": "2026-05-19T07:31:18.406288Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139622808849280",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 120,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "af6e487f30e542eebfab65875fb9ee18",
    "span_id": "bd4ed7e21463c937",
    "parent_span_id": "ade5c8a3f2e6167e",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:16.886245Z",
    "timestamp": "2026-05-19T07:31:18.405651Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139622808849280",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 120,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "b70ff0caed6590ea",
    "trace_id": "af6e487f30e542eebfab65875fb9ee18",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:31:12.351651Z",
    "timestamp": "2026-05-19T07:31:18.667427Z",
    "data": {
      "thread.id": "139622808849280",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b5d1680aa7a27d5e",
    "trace_id": "af6e487f30e542eebfab65875fb9ee18",
    "parent_span_id": "b70ff0caed6590ea",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175872.396554,
    "timestamp": 1779175873.78503,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139622808849280",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-5-nano",
      "gen_ai.response.text": "{\"content\": \"Paris.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 75,
      "gen_ai.usage.total_tokens": 98,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "b70ff0caed6590ea",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a22f3ca7b192db03",
    "trace_id": "af6e487f30e542eebfab65875fb9ee18",
    "parent_span_id": "b70ff0caed6590ea",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175873.887794,
    "timestamp": 1779175875.609032,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139622808849280",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a math tutor.\"}, {\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-5-nano",
      "gen_ai.response.text": "{\"content\": \"4\\n\\nExplanation (brief): 2 + 2 means combining two and two, which gives four. You can verify by counting 1, 2, 3, 4, or moving two steps twice on a number line. Want a few more quick problems?\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 320,
      "gen_ai.usage.total_tokens": 344,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "b70ff0caed6590ea",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a7c0b39632169cf8",
    "trace_id": "af6e487f30e542eebfab65875fb9ee18",
    "parent_span_id": "b70ff0caed6590ea",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175875.715789,
    "timestamp": 1779175876.772827,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139622808849280",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-5-nano",
      "gen_ai.response.text": "{\"content\": \"Berlin. If you\\u2019d like more details about Germany or its capital, I can share.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 155,
      "gen_ai.usage.total_tokens": 199,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "b70ff0caed6590ea",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "91c4139a2b3c2757",
    "trace_id": "af6e487f30e542eebfab65875fb9ee18",
    "parent_span_id": "b70ff0caed6590ea",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175876.877113,
    "timestamp": 1779175878.560804,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139622808849280",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a math tutor.\"}, {\"role\": \"user\", \"content\": \"What is 2 + 2?\"}, {\"role\": \"assistant\", \"content\": \"2 + 2 equals 4.\"}, {\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-5-nano",
      "gen_ai.response.text": "{\"content\": \"3 + 3 = 6.\\n\\nAdding two groups of three gives six. Want another problem to practice?\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 223,
      "gen_ai.usage.total_tokens": 273,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "b70ff0caed6590ea",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Conversation ID LLM Test (async, streaming, completion, anthropic)❗︎ 116425ms
checkAISpanCount(4)
checkChatSpanAttributes
902aecefgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
902aecefgen_ai.output.messagesMissing output messages attribute
b804c48bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b804c48bgen_ai.output.messagesMissing output messages attribute
99b8ddc8gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
99b8ddc8gen_ai.output.messagesMissing output messages attribute
9bd7c04agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9bd7c04agen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (13)
[
  {
    "trace_id": "c9de14cdf5334d0b9aca24ad8059224f",
    "span_id": "a6d19f10a8251ef9",
    "parent_span_id": "902aecefdbda2949",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:12.644521Z",
    "timestamp": "2026-05-19T07:31:13.235185Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139844337294208",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 31,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "c9de14cdf5334d0b9aca24ad8059224f",
    "span_id": "bb228a9411dcb8dc",
    "parent_span_id": "a6d19f10a8251ef9",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:12.645344Z",
    "timestamp": "2026-05-19T07:31:13.233735Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139844337294208",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 31,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "c9de14cdf5334d0b9aca24ad8059224f",
    "span_id": "9a2b1e682231502e",
    "parent_span_id": "b804c48b2318879c",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:13.433173Z",
    "timestamp": "2026-05-19T07:31:15.113997Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139844337294208",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 58,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "c9de14cdf5334d0b9aca24ad8059224f",
    "span_id": "9ec93801121ead50",
    "parent_span_id": "9a2b1e682231502e",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:13.433900Z",
    "timestamp": "2026-05-19T07:31:15.113342Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139844337294208",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 58,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "c9de14cdf5334d0b9aca24ad8059224f",
    "span_id": "9b743d3570040757",
    "parent_span_id": "99b8ddc8b89ec076",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:15.795615Z",
    "timestamp": "2026-05-19T07:31:16.435584Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139844337294208",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 85,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "c9de14cdf5334d0b9aca24ad8059224f",
    "span_id": "9fbe550a94e1cb8d",
    "parent_span_id": "9b743d3570040757",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:15.796129Z",
    "timestamp": "2026-05-19T07:31:16.435031Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139844337294208",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 85,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "c9de14cdf5334d0b9aca24ad8059224f",
    "span_id": "91f1becb99e7a2b6",
    "parent_span_id": "9bd7c04a7dd2620a",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:16.628426Z",
    "timestamp": "2026-05-19T07:31:17.045612Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139844337294208",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 120,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "c9de14cdf5334d0b9aca24ad8059224f",
    "span_id": "9264b657b74cd5ac",
    "parent_span_id": "91f1becb99e7a2b6",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:16.628987Z",
    "timestamp": "2026-05-19T07:31:17.045042Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139844337294208",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 120,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "87b2976cd1419f68",
    "trace_id": "c9de14cdf5334d0b9aca24ad8059224f",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:31:12.319031Z",
    "timestamp": "2026-05-19T07:31:17.211349Z",
    "data": {
      "thread.id": "139844337294208",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "902aecefdbda2949",
    "trace_id": "c9de14cdf5334d0b9aca24ad8059224f",
    "parent_span_id": "87b2976cd1419f68",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175872.643125,
    "timestamp": 1779175873.323959,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139844181911232",
      "thread.name": "asyncio_0",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.response.text": "{\"content\": \"The capital of France is Paris.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "87b2976cd1419f68",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b804c48b2318879c",
    "trace_id": "c9de14cdf5334d0b9aca24ad8059224f",
    "parent_span_id": "87b2976cd1419f68",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175873.432178,
    "timestamp": 1779175875.693632,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139844181911232",
      "thread.name": "asyncio_0",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a math tutor.\"}, {\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.response.text": "{\"content\": \"2 + 2 = **4**\\n\\nThis is one of the most fundamental arithmetic facts! Is there anything else you'd like help with?\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 35,
      "gen_ai.usage.total_tokens": 58,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "87b2976cd1419f68",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "99b8ddc8b89ec076",
    "trace_id": "c9de14cdf5334d0b9aca24ad8059224f",
    "parent_span_id": "87b2976cd1419f68",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175875.792223,
    "timestamp": 1779175876.521595,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139844181911232",
      "thread.name": "asyncio_0",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.response.text": "{\"content\": \"The capital of Germany is Berlin.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.usage.input_tokens": 37,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 47,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "87b2976cd1419f68",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9bd7c04a7dd2620a",
    "trace_id": "c9de14cdf5334d0b9aca24ad8059224f",
    "parent_span_id": "87b2976cd1419f68",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175876.627378,
    "timestamp": 1779175877.105709,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139844181911232",
      "thread.name": "asyncio_0",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a math tutor.\"}, {\"role\": \"user\", \"content\": \"What is 2 + 2?\"}, {\"role\": \"assistant\", \"content\": \"2 + 2 equals 4.\"}, {\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.response.text": "{\"content\": \"3 + 3 equals 6.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.usage.input_tokens": 49,
      "gen_ai.usage.output_tokens": 14,
      "gen_ai.usage.total_tokens": 63,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "87b2976cd1419f68",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Conversation ID LLM Test (async, streaming, responses, openai)❗︎ 1 123447ms
checkAISpanCount(4)
checkChatSpanAttributes
aba1b0d3gen_ai.usage.input_tokensSpan aba1b0d3: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
aba1b0d3gen_ai.usage.output_tokensSpan aba1b0d3: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
abde366agen_ai.usage.input_tokensSpan abde366a: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
abde366agen_ai.usage.output_tokensSpan abde366a: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
a63d8edagen_ai.usage.input_tokensSpan a63d8eda: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
a63d8edagen_ai.usage.output_tokensSpan a63d8eda: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
b560a1c8gen_ai.usage.input_tokensSpan b560a1c8: Attribute 'gen_ai.usage.input_tokens' must exist but is missing
b560a1c8gen_ai.usage.output_tokensSpan b560a1c8: Attribute 'gen_ai.usage.output_tokens' must exist but is missing
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
aba1b0d3gen_ai.usage.input_tokensinput_tokens must exist
aba1b0d3gen_ai.usage.output_tokensoutput_tokens must exist
aba1b0d3gen_ai.usage.total_tokenstotal_tokens must exist
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (13)
[
  {
    "trace_id": "7b7b292420f44751bf572846fddd0a5f",
    "span_id": "83acd158eac71e8b",
    "parent_span_id": "aba1b0d3f6351cfe",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:13.438102Z",
    "timestamp": "2026-05-19T07:31:13.682935Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139853634313088",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 31,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "7b7b292420f44751bf572846fddd0a5f",
    "span_id": "864a8f328f90d34d",
    "parent_span_id": "83acd158eac71e8b",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:13.441935Z",
    "timestamp": "2026-05-19T07:31:13.681673Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139853634313088",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 31,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "7b7b292420f44751bf572846fddd0a5f",
    "span_id": "b6ea10b58638cfd8",
    "parent_span_id": "abde366a7b0d6bb3",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:15.112438Z",
    "timestamp": "2026-05-19T07:31:15.332747Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139853634313088",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 55,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "7b7b292420f44751bf572846fddd0a5f",
    "span_id": "9d520487a2bc279f",
    "parent_span_id": "b6ea10b58638cfd8",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:15.113247Z",
    "timestamp": "2026-05-19T07:31:15.332266Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139853634313088",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 55,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "7b7b292420f44751bf572846fddd0a5f",
    "span_id": "8a187c3334283ce5",
    "parent_span_id": "a63d8edafefbf4dd",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:19.743832Z",
    "timestamp": "2026-05-19T07:31:20.391726Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139853634313088",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 79,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "7b7b292420f44751bf572846fddd0a5f",
    "span_id": "878ffbc9b4676289",
    "parent_span_id": "8a187c3334283ce5",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:19.744336Z",
    "timestamp": "2026-05-19T07:31:20.391248Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139853634313088",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 79,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "7b7b292420f44751bf572846fddd0a5f",
    "span_id": "93f8eab7f7cd4f91",
    "parent_span_id": "b560a1c883dce5d5",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:21.754754Z",
    "timestamp": "2026-05-19T07:31:21.969803Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139853634313088",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 111,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "7b7b292420f44751bf572846fddd0a5f",
    "span_id": "9e8c6cb41a8755d8",
    "parent_span_id": "93f8eab7f7cd4f91",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:21.755232Z",
    "timestamp": "2026-05-19T07:31:21.969264Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139853634313088",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 111,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "bbf964e1daa92199",
    "trace_id": "7b7b292420f44751bf572846fddd0a5f",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:31:13.169315Z",
    "timestamp": "2026-05-19T07:31:24.875209Z",
    "data": {
      "thread.id": "139853634313088",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "aba1b0d3f6351cfe",
    "trace_id": "7b7b292420f44751bf572846fddd0a5f",
    "parent_span_id": "bbf964e1daa92199",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175873.437155,
    "timestamp": 1779175875.007221,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139853634313088",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "bbf964e1daa92199",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "abde366a7b0d6bb3",
    "trace_id": "7b7b292420f44751bf572846fddd0a5f",
    "parent_span_id": "bbf964e1daa92199",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175875.11167,
    "timestamp": 1779175879.63776,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139853634313088",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "bbf964e1daa92199",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a63d8edafefbf4dd",
    "trace_id": "7b7b292420f44751bf572846fddd0a5f",
    "parent_span_id": "bbf964e1daa92199",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175879.743071,
    "timestamp": 1779175881.651557,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139853634313088",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "bbf964e1daa92199",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b560a1c883dce5d5",
    "trace_id": "7b7b292420f44751bf572846fddd0a5f",
    "parent_span_id": "bbf964e1daa92199",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175881.754143,
    "timestamp": 1779175884.766676,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139853634313088",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}, {\"role\": \"assistant\", \"content\": \"2 + 2 equals 4.\"}, {\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "bbf964e1daa92199",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Conversation ID LLM Test (async, streaming, responses, anthropic)❗︎ 114304ms
checkAISpanCount(4)
checkChatSpanAttributes
ac5f3d7cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ac5f3d7cgen_ai.output.messagesMissing output messages attribute
af80bdcegen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
af80bdcegen_ai.output.messagesMissing output messages attribute
94f8b0dbgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
94f8b0dbgen_ai.output.messagesMissing output messages attribute
98994369gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
98994369gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (13)
[
  {
    "trace_id": "13428b2013c046008ad9169e05ad9693",
    "span_id": "aaec1ce330e2d583",
    "parent_span_id": "ac5f3d7c9ec80927",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:15.009270Z",
    "timestamp": "2026-05-19T07:31:15.814897Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140719093783424",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 31,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "13428b2013c046008ad9169e05ad9693",
    "span_id": "a353911bd112f4d9",
    "parent_span_id": "aaec1ce330e2d583",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:15.010314Z",
    "timestamp": "2026-05-19T07:31:15.813588Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140719093783424",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 31,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "13428b2013c046008ad9169e05ad9693",
    "span_id": "aaaac9217d322222",
    "parent_span_id": "af80bdce8a2fa834",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:16.351101Z",
    "timestamp": "2026-05-19T07:31:16.801938Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140719093783424",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 55,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "13428b2013c046008ad9169e05ad9693",
    "span_id": "843307fe1be5c61c",
    "parent_span_id": "aaaac9217d322222",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:16.351614Z",
    "timestamp": "2026-05-19T07:31:16.801319Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140719093783424",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 55,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "13428b2013c046008ad9169e05ad9693",
    "span_id": "a0370714af4913e3",
    "parent_span_id": "94f8b0db8612c106",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:17.325764Z",
    "timestamp": "2026-05-19T07:31:19.766751Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140719093783424",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 79,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "13428b2013c046008ad9169e05ad9693",
    "span_id": "829106a70445a92a",
    "parent_span_id": "a0370714af4913e3",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:17.326251Z",
    "timestamp": "2026-05-19T07:31:19.766188Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140719093783424",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 79,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "13428b2013c046008ad9169e05ad9693",
    "span_id": "ad5cd18a2b6d26cf",
    "parent_span_id": "989943698dd2f044",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:19.959081Z",
    "timestamp": "2026-05-19T07:31:20.659751Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140719093783424",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 111,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "13428b2013c046008ad9169e05ad9693",
    "span_id": "be32eb1cf6d37ce6",
    "parent_span_id": "ad5cd18a2b6d26cf",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:19.959563Z",
    "timestamp": "2026-05-19T07:31:20.659268Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140719093783424",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 111,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "b63475c7c3c25aac",
    "trace_id": "13428b2013c046008ad9169e05ad9693",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:31:14.600137Z",
    "timestamp": "2026-05-19T07:31:20.858386Z",
    "data": {
      "thread.id": "140719093783424",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "ac5f3d7c9ec80927",
    "trace_id": "13428b2013c046008ad9169e05ad9693",
    "parent_span_id": "b63475c7c3c25aac",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175875.007795,
    "timestamp": 1779175876.234751,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140718827759296",
      "thread.name": "asyncio_1",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.response.text": "{\"content\": \"The capital of France is **Paris**. It is located in the north-central part of the country and is the largest city in France. Paris is known for its iconic landmarks, such as the Eiffel Tower, Notre-Dame Cathedral, and the Louvre Museum.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 61,
      "gen_ai.usage.total_tokens": 81,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "b63475c7c3c25aac",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "af80bdce8a2fa834",
    "trace_id": "13428b2013c046008ad9169e05ad9693",
    "parent_span_id": "b63475c7c3c25aac",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175876.350064,
    "timestamp": 1779175877.216219,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140718827759296",
      "thread.name": "asyncio_1",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.response.text": "{\"content\": \"2 + 2 = **4**\\n\\nThis is one of the most fundamental addition facts in math! Is there anything else you'd like help with?\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 37,
      "gen_ai.usage.total_tokens": 60,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "b63475c7c3c25aac",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "94f8b0db8612c106",
    "trace_id": "13428b2013c046008ad9169e05ad9693",
    "parent_span_id": "b63475c7c3c25aac",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175877.324854,
    "timestamp": 1779175879.851245,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140718939662016",
      "thread.name": "asyncio_0",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.response.text": "{\"content\": \"The capital of Germany is Berlin.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.usage.input_tokens": 37,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 47,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "b63475c7c3c25aac",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "989943698dd2f044",
    "trace_id": "13428b2013c046008ad9169e05ad9693",
    "parent_span_id": "b63475c7c3c25aac",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175879.958109,
    "timestamp": 1779175880.753987,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140718827759296",
      "thread.name": "asyncio_1",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}, {\"role\": \"assistant\", \"content\": \"2 + 2 equals 4.\"}, {\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": true,
      "gen_ai.response.model": "claude-haiku-4-5",
      "gen_ai.response.text": "{\"content\": \"3 + 3 equals 6.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": \"None\"}",
      "gen_ai.usage.input_tokens": 49,
      "gen_ai.usage.output_tokens": 14,
      "gen_ai.usage.total_tokens": 63,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "b63475c7c3c25aac",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Conversation ID LLM Test (async, blocking, completion, openai)❗︎ 117669ms
checkAISpanCount(4)
checkChatSpanAttributes
874b5597gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
874b5597gen_ai.output.messagesMissing output messages attribute
a1381cd6gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a1381cd6gen_ai.output.messagesMissing output messages attribute
a189f9cdgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a189f9cdgen_ai.output.messagesMissing output messages attribute
9231f6e5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9231f6e5gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (17)
[
  {
    "trace_id": "e4b9b2c46ab4486fa59b46f8979564c9",
    "span_id": "80aa5656b5d8826d",
    "parent_span_id": "874b559761e2b494",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:18.027123Z",
    "timestamp": "2026-05-19T07:31:18.029376Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21766
    },
    "data": {
      "thread.id": "139654710519488",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "e4b9b2c46ab4486fa59b46f8979564c9",
    "span_id": "810df208ae227962",
    "parent_span_id": "874b559761e2b494",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:18.029464Z",
    "timestamp": "2026-05-19T07:31:18.032215Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21766
    },
    "data": {
      "thread.id": "139654710519488",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "e4b9b2c46ab4486fa59b46f8979564c9",
    "span_id": "a277873ee766272a",
    "parent_span_id": "810df208ae227962",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:18.032157Z",
    "timestamp": "2026-05-19T07:31:18.032199Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21766
    },
    "data": {
      "thread.id": "139654710519488",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "e4b9b2c46ab4486fa59b46f8979564c9",
    "span_id": "97654cd9cb571409",
    "parent_span_id": "874b559761e2b494",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:18.032250Z",
    "timestamp": "2026-05-19T07:31:18.032262Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21766
    },
    "data": {
      "thread.id": "139654710519488",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "e4b9b2c46ab4486fa59b46f8979564c9",
    "span_id": "89c242bd50787329",
    "parent_span_id": "874b559761e2b494",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:18.034141Z",
    "timestamp": "2026-05-19T07:31:19.264689Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139654866148224",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 31,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "e4b9b2c46ab4486fa59b46f8979564c9",
    "span_id": "a91e84dbea2afb81",
    "parent_span_id": "89c242bd50787329",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:18.034998Z",
    "timestamp": "2026-05-19T07:31:19.263174Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139654866148224",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 31,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "e4b9b2c46ab4486fa59b46f8979564c9",
    "span_id": "9b8e10be9a6103db",
    "parent_span_id": "a1381cd65856f24e",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:19.433446Z",
    "timestamp": "2026-05-19T07:31:21.043635Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139654866148224",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 50,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "e4b9b2c46ab4486fa59b46f8979564c9",
    "span_id": "a8ec6e60739fa8be",
    "parent_span_id": "9b8e10be9a6103db",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:19.434022Z",
    "timestamp": "2026-05-19T07:31:21.038529Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139654866148224",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 50,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "e4b9b2c46ab4486fa59b46f8979564c9",
    "span_id": "9e2bf93bc0c24c50",
    "parent_span_id": "a189f9cd64a9959b",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:21.162254Z",
    "timestamp": "2026-05-19T07:31:25.676585Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139654866148224",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 69,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "e4b9b2c46ab4486fa59b46f8979564c9",
    "span_id": "8dfed8cc55ecf634",
    "parent_span_id": "9e2bf93bc0c24c50",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:21.163232Z",
    "timestamp": "2026-05-19T07:31:25.675766Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139654866148224",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 69,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "e4b9b2c46ab4486fa59b46f8979564c9",
    "span_id": "a1f28a9f15255dc8",
    "parent_span_id": "9231f6e570974797",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:25.804843Z",
    "timestamp": "2026-05-19T07:31:28.064115Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139654866148224",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 96,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "e4b9b2c46ab4486fa59b46f8979564c9",
    "span_id": "a0683befbcd3de6b",
    "parent_span_id": "a1f28a9f15255dc8",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:25.805439Z",
    "timestamp": "2026-05-19T07:31:28.063337Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139654866148224",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 96,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-completion-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "a941e747b0f5122b",
    "trace_id": "e4b9b2c46ab4486fa59b46f8979564c9",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:31:17.974318Z",
    "timestamp": "2026-05-19T07:31:28.174564Z",
    "data": {
      "thread.id": "139654866148224",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "874b559761e2b494",
    "trace_id": "e4b9b2c46ab4486fa59b46f8979564c9",
    "parent_span_id": "a941e747b0f5122b",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175878.017184,
    "timestamp": 1779175879.322388,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139654866148224",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "{\"content\": \"Paris.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"refusal\": \"None\"}, \"annotations\": []}",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 139,
      "gen_ai.usage.total_tokens": 162,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "a941e747b0f5122b",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a1381cd65856f24e",
    "trace_id": "e4b9b2c46ab4486fa59b46f8979564c9",
    "parent_span_id": "a941e747b0f5122b",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175879.427265,
    "timestamp": 1779175881.051232,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139654866148224",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a math tutor.\"}, {\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "{\"content\": \"4. If you\\u2019d like, I can show a quick way to see it using a number line or counting objects.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"refusal\": \"None\"}, \"annotations\": []}",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 225,
      "gen_ai.usage.total_tokens": 249,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "a941e747b0f5122b",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a189f9cd64a9959b",
    "trace_id": "e4b9b2c46ab4486fa59b46f8979564c9",
    "parent_span_id": "a941e747b0f5122b",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175881.156372,
    "timestamp": 1779175885.6945,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139654866148224",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "{\"content\": \"Germany's capital is Berlin.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"refusal\": \"None\"}, \"annotations\": []}",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 143,
      "gen_ai.usage.total_tokens": 187,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "a941e747b0f5122b",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9231f6e570974797",
    "trace_id": "e4b9b2c46ab4486fa59b46f8979564c9",
    "parent_span_id": "a941e747b0f5122b",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175885.792911,
    "timestamp": 1779175888.069075,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "139654866148224",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a math tutor.\"}, {\"role\": \"user\", \"content\": \"What is 2 + 2?\"}, {\"role\": \"assistant\", \"content\": \"2 + 2 equals 4.\"}, {\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "{\"content\": \"6. If you have three of something and add three more, you have six. In general, a + a = 2a, so 3 + 3 = 2\\u00d73 = 6.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"refusal\": \"None\"}, \"annotations\": []}",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 308,
      "gen_ai.usage.total_tokens": 358,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "a941e747b0f5122b",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Conversation ID LLM Test (async, blocking, completion, anthropic)❗︎ 111584ms
checkAISpanCount(4)
checkChatSpanAttributes
a6feef13gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a6feef13gen_ai.output.messagesMissing output messages attribute
94f11a75gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
94f11a75gen_ai.output.messagesMissing output messages attribute
8f8c1115gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8f8c1115gen_ai.output.messagesMissing output messages attribute
84e1f993gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
84e1f993gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (13)
[
  {
    "trace_id": "f4f72e21a8e84fe29bf7a99a134825aa",
    "span_id": "aa9f4c46013954e7",
    "parent_span_id": "a6feef135a849e4d",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:20.515581Z",
    "timestamp": "2026-05-19T07:31:21.162527Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140045974150016",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 31,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "f4f72e21a8e84fe29bf7a99a134825aa",
    "span_id": "961651142554b4eb",
    "parent_span_id": "aa9f4c46013954e7",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:20.516549Z",
    "timestamp": "2026-05-19T07:31:21.157017Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140045974150016",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 31,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "f4f72e21a8e84fe29bf7a99a134825aa",
    "span_id": "9879e1f2c7aec0bf",
    "parent_span_id": "94f11a756393a683",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:21.324550Z",
    "timestamp": "2026-05-19T07:31:22.704301Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140045974150016",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 50,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "f4f72e21a8e84fe29bf7a99a134825aa",
    "span_id": "aa7c88a285ed7554",
    "parent_span_id": "9879e1f2c7aec0bf",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:21.328195Z",
    "timestamp": "2026-05-19T07:31:22.703494Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140045974150016",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 50,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "f4f72e21a8e84fe29bf7a99a134825aa",
    "span_id": "a811cbb58f922601",
    "parent_span_id": "8f8c1115e682f25f",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:22.824695Z",
    "timestamp": "2026-05-19T07:31:23.374655Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140045974150016",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 69,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "f4f72e21a8e84fe29bf7a99a134825aa",
    "span_id": "8d5c8c5a61f90a6b",
    "parent_span_id": "a811cbb58f922601",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:22.825224Z",
    "timestamp": "2026-05-19T07:31:23.373959Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140045974150016",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 69,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "f4f72e21a8e84fe29bf7a99a134825aa",
    "span_id": "a03841d64f2f2a1c",
    "parent_span_id": "84e1f9938de4509a",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:23.479257Z",
    "timestamp": "2026-05-19T07:31:23.988244Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140045974150016",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 96,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "f4f72e21a8e84fe29bf7a99a134825aa",
    "span_id": "9beff107e26a3fc7",
    "parent_span_id": "a03841d64f2f2a1c",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:23.479728Z",
    "timestamp": "2026-05-19T07:31:23.987616Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140045974150016",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 96,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-completion-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "8288f3af45510df1",
    "trace_id": "f4f72e21a8e84fe29bf7a99a134825aa",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:31:20.230962Z",
    "timestamp": "2026-05-19T07:31:24.093171Z",
    "data": {
      "thread.id": "140045974150016",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "a6feef135a849e4d",
    "trace_id": "f4f72e21a8e84fe29bf7a99a134825aa",
    "parent_span_id": "8288f3af45510df1",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175880.513827,
    "timestamp": 1779175881.217423,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140045819930304",
      "thread.name": "asyncio_0",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"The capital of France is **Paris**.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 11,
      "gen_ai.usage.total_tokens": 31,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "8288f3af45510df1",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "94f11a756393a683",
    "trace_id": "f4f72e21a8e84fe29bf7a99a134825aa",
    "parent_span_id": "8288f3af45510df1",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175881.323442,
    "timestamp": 1779175882.717229,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140045819930304",
      "thread.name": "asyncio_0",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a math tutor.\"}, {\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"2 + 2 = **4**\\n\\nThis is one of the most fundamental addition facts in math. You can think of it as:\\n- Two apples plus two apples equals four apples\\n- Or counting on your fingers: start at 2, then count up 2 more (3, 4)\\n\\nIs there anything else you'd like to practice?\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 84,
      "gen_ai.usage.total_tokens": 107,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "8288f3af45510df1",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8f8c1115e682f25f",
    "trace_id": "f4f72e21a8e84fe29bf7a99a134825aa",
    "parent_span_id": "8288f3af45510df1",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175882.822348,
    "timestamp": 1779175883.377086,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140045819930304",
      "thread.name": "asyncio_0",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"The capital of Germany is Berlin.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 37,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 47,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "8288f3af45510df1",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "84e1f9938de4509a",
    "trace_id": "f4f72e21a8e84fe29bf7a99a134825aa",
    "parent_span_id": "8288f3af45510df1",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175883.478233,
    "timestamp": 1779175883.990271,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140045819930304",
      "thread.name": "asyncio_0",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"system\", \"content\": \"You are a math tutor.\"}, {\"role\": \"user\", \"content\": \"What is 2 + 2?\"}, {\"role\": \"assistant\", \"content\": \"2 + 2 equals 4.\"}, {\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"3 + 3 equals 6.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 49,
      "gen_ai.usage.output_tokens": 14,
      "gen_ai.usage.total_tokens": 63,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "8288f3af45510df1",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Conversation ID LLM Test (async, blocking, responses, openai)❗︎ 116838ms
checkAISpanCount(4)
checkChatSpanAttributes
ab70fc60gen_ai.output.messagesMissing output messages attribute
af587ccfgen_ai.output.messagesMissing output messages attribute
b0a3d919gen_ai.output.messagesMissing output messages attribute
a147f93bgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (13)
[
  {
    "trace_id": "bf051fc1b9f14c95861c69a4e1679e5b",
    "span_id": "973d60a30ed1726b",
    "parent_span_id": "ab70fc6086a1e8f7",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:20.277339Z",
    "timestamp": "2026-05-19T07:31:21.666828Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140493695515520",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 31,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "bf051fc1b9f14c95861c69a4e1679e5b",
    "span_id": "9db50e75e99c95fc",
    "parent_span_id": "973d60a30ed1726b",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:20.278256Z",
    "timestamp": "2026-05-19T07:31:21.665555Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140493695515520",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 31,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "bf051fc1b9f14c95861c69a4e1679e5b",
    "span_id": "8519e5de0a157205",
    "parent_span_id": "af587ccff565457f",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:21.825106Z",
    "timestamp": "2026-05-19T07:31:24.537048Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140493695515520",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 47,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "bf051fc1b9f14c95861c69a4e1679e5b",
    "span_id": "bcd874900b766e8e",
    "parent_span_id": "8519e5de0a157205",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:21.825628Z",
    "timestamp": "2026-05-19T07:31:24.536373Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140493695515520",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 47,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "bf051fc1b9f14c95861c69a4e1679e5b",
    "span_id": "9ddaa7c576087eff",
    "parent_span_id": "b0a3d919383081ee",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:24.646277Z",
    "timestamp": "2026-05-19T07:31:26.997027Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140493695515520",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 63,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "bf051fc1b9f14c95861c69a4e1679e5b",
    "span_id": "b60bf38169a211cd",
    "parent_span_id": "9ddaa7c576087eff",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:24.646663Z",
    "timestamp": "2026-05-19T07:31:26.996298Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140493695515520",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 63,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "bf051fc1b9f14c95861c69a4e1679e5b",
    "span_id": "a85384d1b1919658",
    "parent_span_id": "a147f93b722e165a",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:27.109763Z",
    "timestamp": "2026-05-19T07:31:29.825075Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140493695515520",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 87,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "bf051fc1b9f14c95861c69a4e1679e5b",
    "span_id": "9a71065363d22ef9",
    "parent_span_id": "a85384d1b1919658",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:27.110256Z",
    "timestamp": "2026-05-19T07:31:29.824370Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140493695515520",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 87,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-responses-openai.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "9556bcab155c1ee5",
    "trace_id": "bf051fc1b9f14c95861c69a4e1679e5b",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:31:20.245522Z",
    "timestamp": "2026-05-19T07:31:29.929158Z",
    "data": {
      "thread.id": "140493695515520",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "ab70fc6086a1e8f7",
    "trace_id": "bf051fc1b9f14c95861c69a4e1679e5b",
    "parent_span_id": "9556bcab155c1ee5",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175880.276462,
    "timestamp": 1779175881.722195,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140493695515520",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 136,
      "gen_ai.usage.total_tokens": 159,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "9556bcab155c1ee5",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "af587ccff565457f",
    "trace_id": "bf051fc1b9f14c95861c69a4e1679e5b",
    "parent_span_id": "9556bcab155c1ee5",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175881.824335,
    "timestamp": 1779175884.545622,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140493695515520",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 365,
      "gen_ai.usage.total_tokens": 389,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "9556bcab155c1ee5",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b0a3d919383081ee",
    "trace_id": "bf051fc1b9f14c95861c69a4e1679e5b",
    "parent_span_id": "9556bcab155c1ee5",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175884.645617,
    "timestamp": 1779175887.004964,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140493695515520",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 302,
      "gen_ai.usage.total_tokens": 346,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "9556bcab155c1ee5",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a147f93b722e165a",
    "trace_id": "bf051fc1b9f14c95861c69a4e1679e5b",
    "parent_span_id": "9556bcab155c1ee5",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175887.109062,
    "timestamp": 1779175889.82858,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140493695515520",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}, {\"role\": \"assistant\", \"content\": \"2 + 2 equals 4.\"}, {\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 362,
      "gen_ai.usage.total_tokens": 412,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "9556bcab155c1ee5",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/litellm :: Conversation ID LLM Test (async, blocking, responses, anthropic)❗︎ 111436ms
checkAISpanCount(4)
checkChatSpanAttributes
80831e72gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
80831e72gen_ai.output.messagesMissing output messages attribute
a42a2241gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a42a2241gen_ai.output.messagesMissing output messages attribute
adcd48e5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
adcd48e5gen_ai.output.messagesMissing output messages attribute
9d598dd4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9d598dd4gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (13)
[
  {
    "trace_id": "bb4b6abf8179453e91a72fc74098175d",
    "span_id": "bf85af4d520d7c70",
    "parent_span_id": "80831e726074ac68",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:20.811576Z",
    "timestamp": "2026-05-19T07:31:21.323888Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140114247736192",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 31,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "bb4b6abf8179453e91a72fc74098175d",
    "span_id": "be5f80b1a4b0bba6",
    "parent_span_id": "bf85af4d520d7c70",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:20.812422Z",
    "timestamp": "2026-05-19T07:31:21.317859Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140114247736192",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 31,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "bb4b6abf8179453e91a72fc74098175d",
    "span_id": "b2bfe31f586e445c",
    "parent_span_id": "a42a2241aaf46da3",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:21.474532Z",
    "timestamp": "2026-05-19T07:31:22.926187Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140114247736192",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 47,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "bb4b6abf8179453e91a72fc74098175d",
    "span_id": "95c3c3785290b211",
    "parent_span_id": "b2bfe31f586e445c",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:21.475079Z",
    "timestamp": "2026-05-19T07:31:22.925386Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140114247736192",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 47,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "bb4b6abf8179453e91a72fc74098175d",
    "span_id": "8444636968333602",
    "parent_span_id": "adcd48e5855947a7",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:23.036948Z",
    "timestamp": "2026-05-19T07:31:23.546325Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140114247736192",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 63,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "bb4b6abf8179453e91a72fc74098175d",
    "span_id": "980d499a8ae9782e",
    "parent_span_id": "8444636968333602",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:23.037278Z",
    "timestamp": "2026-05-19T07:31:23.545594Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140114247736192",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 63,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "bb4b6abf8179453e91a72fc74098175d",
    "span_id": "aeb8ed70ebf69e13",
    "parent_span_id": "9d598dd42e24615d",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:23.654207Z",
    "timestamp": "2026-05-19T07:31:24.336495Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140114247736192",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 87,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "bb4b6abf8179453e91a72fc74098175d",
    "span_id": "9997e40b8f2d70c4",
    "parent_span_id": "aeb8ed70ebf69e13",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.anthropic.com/v1/messages",
    "start_timestamp": "2026-05-19T07:31:23.654639Z",
    "timestamp": "2026-05-19T07:31:24.335819Z",
    "origin": "auto.http.aiohttp",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140114247736192",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.anthropic.com/v1/messages",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 87,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-responses-anthropic.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "911edc403979aec5",
    "trace_id": "bb4b6abf8179453e91a72fc74098175d",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:31:20.239563Z",
    "timestamp": "2026-05-19T07:31:24.442031Z",
    "data": {
      "thread.id": "140114247736192",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "80831e726074ac68",
    "trace_id": "bb4b6abf8179453e91a72fc74098175d",
    "parent_span_id": "911edc403979aec5",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175880.810119,
    "timestamp": 1779175881.372848,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140114093762240",
      "thread.name": "asyncio_0",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"The capital of France is Paris.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 20,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 30,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "911edc403979aec5",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a42a2241aaf46da3",
    "trace_id": "bb4b6abf8179453e91a72fc74098175d",
    "parent_span_id": "911edc403979aec5",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175881.473517,
    "timestamp": 1779175882.933485,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140114093762240",
      "thread.name": "asyncio_0",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"2 + 2 = **4**\\n\\nThis is one of the most basic arithmetic facts! When you combine 2 items with 2 more items, you end up with 4 items total.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 49,
      "gen_ai.usage.total_tokens": 72,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "911edc403979aec5",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "adcd48e5855947a7",
    "trace_id": "bb4b6abf8179453e91a72fc74098175d",
    "parent_span_id": "911edc403979aec5",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175883.036224,
    "timestamp": 1779175883.549988,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140114093762240",
      "thread.name": "asyncio_0",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"The capital of Germany is Berlin.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 37,
      "gen_ai.usage.output_tokens": 10,
      "gen_ai.usage.total_tokens": 47,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "911edc403979aec5",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9d598dd42e24615d",
    "trace_id": "bb4b6abf8179453e91a72fc74098175d",
    "parent_span_id": "911edc403979aec5",
    "op": "gen_ai.chat",
    "description": "chat claude-haiku-4-5",
    "start_timestamp": 1779175883.653287,
    "timestamp": 1779175884.339589,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.litellm",
      "thread.id": "140114093762240",
      "thread.name": "asyncio_0",
      "gen_ai.system": "anthropic",
      "gen_ai.operation.name": "chat",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}, {\"role\": \"assistant\", \"content\": \"2 + 2 equals 4.\"}, {\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.request.model": "claude-haiku-4-5",
      "gen_ai.response.streaming": false,
      "gen_ai.response.model": "claude-haiku-4-5-20251001",
      "gen_ai.response.text": "{\"content\": \"3 + 3 equals 6.\", \"role\": \"assistant\", \"tool_calls\": \"None\", \"function_call\": \"None\", \"provider_specific_fields\": {\"citations\": \"None\", \"thinking_blocks\": \"None\"}}",
      "gen_ai.usage.input_tokens": 49,
      "gen_ai.usage.output_tokens": 14,
      "gen_ai.usage.total_tokens": 63,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "911edc403979aec5",
      "sentry.sdk.name": "sentry.python.aiohttp",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Basic LLM Test (sync, streaming, chat)❗︎ 14212ms
checkAISpanCount(1)
checkChatSpanAttributes
8df60f3egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8df60f3egen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "5ebc1c5aeb88404e8e03bcf8c3db5957",
    "span_id": "87f657d160ed1f82",
    "parent_span_id": "8df60f3e7755e110",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:22.955118Z",
    "timestamp": "2026-05-19T07:31:22.957641Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21855
    },
    "data": {
      "thread.id": "140363602918272",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "5ebc1c5aeb88404e8e03bcf8c3db5957",
    "span_id": "b30a3975cc6444c7",
    "parent_span_id": "8df60f3e7755e110",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:22.957742Z",
    "timestamp": "2026-05-19T07:31:22.957907Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21855
    },
    "data": {
      "thread.id": "140363602918272",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "5ebc1c5aeb88404e8e03bcf8c3db5957",
    "span_id": "bd918a5363174f8b",
    "parent_span_id": "b30a3975cc6444c7",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:22.957837Z",
    "timestamp": "2026-05-19T07:31:22.957896Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21855
    },
    "data": {
      "thread.id": "140363602918272",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "5ebc1c5aeb88404e8e03bcf8c3db5957",
    "span_id": "b4c638677013a2be",
    "parent_span_id": "8df60f3e7755e110",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:22.957947Z",
    "timestamp": "2026-05-19T07:31:22.957962Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21855
    },
    "data": {
      "thread.id": "140363602918272",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "5ebc1c5aeb88404e8e03bcf8c3db5957",
    "span_id": "b59f08aa6c9d9298",
    "parent_span_id": "8df60f3e7755e110",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:22.959285Z",
    "timestamp": "2026-05-19T07:31:23.671571Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140363602918272",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 25,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-sync-streaming-chat.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "813aad81c8f8a176",
    "trace_id": "5ebc1c5aeb88404e8e03bcf8c3db5957",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:31:22.949754Z",
    "timestamp": "2026-05-19T07:31:23.709340Z",
    "data": {
      "thread.id": "140363602918272",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "8df60f3e7755e110",
    "trace_id": "5ebc1c5aeb88404e8e03bcf8c3db5957",
    "parent_span_id": "813aad81c8f8a176",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175882.950652,
    "timestamp": 1779175883.709291,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140363602918272",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.time_to_first_token": 0.7286790399999745,
      "gen_ai.response.text": "Paris.",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 75,
      "gen_ai.usage.output_tokens.reasoning": 64,
      "gen_ai.usage.total_tokens": 98,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "813aad81c8f8a176",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Basic LLM Test (sync, streaming, responses)❗︎ 15315ms
checkAISpanCount(1)
checkChatSpanAttributes
93ea67bdgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
93ea67bdgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "fb5d4cafc82042c99873c37c3250747a",
    "span_id": "ace643cc70cb90d5",
    "parent_span_id": "93ea67bd59e4148b",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:23.011241Z",
    "timestamp": "2026-05-19T07:31:23.012984Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21861
    },
    "data": {
      "thread.id": "140131307924352",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "fb5d4cafc82042c99873c37c3250747a",
    "span_id": "a7239b803ea5967b",
    "parent_span_id": "93ea67bd59e4148b",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:23.013070Z",
    "timestamp": "2026-05-19T07:31:23.013650Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21861
    },
    "data": {
      "thread.id": "140131307924352",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "fb5d4cafc82042c99873c37c3250747a",
    "span_id": "ae9783e8fc08d28b",
    "parent_span_id": "a7239b803ea5967b",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:23.013550Z",
    "timestamp": "2026-05-19T07:31:23.013637Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21861
    },
    "data": {
      "thread.id": "140131307924352",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "fb5d4cafc82042c99873c37c3250747a",
    "span_id": "96dfb848854f34ed",
    "parent_span_id": "93ea67bd59e4148b",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:23.013692Z",
    "timestamp": "2026-05-19T07:31:23.013710Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21861
    },
    "data": {
      "thread.id": "140131307924352",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "fb5d4cafc82042c99873c37c3250747a",
    "span_id": "8b4ff98d13971936",
    "parent_span_id": "93ea67bd59e4148b",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:23.015671Z",
    "timestamp": "2026-05-19T07:31:23.191511Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140131307924352",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 25,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-sync-streaming-responses.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "b0e4ba3084b58f68",
    "trace_id": "fb5d4cafc82042c99873c37c3250747a",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:31:23.003974Z",
    "timestamp": "2026-05-19T07:31:24.467743Z",
    "data": {
      "thread.id": "140131307924352",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "93ea67bd59e4148b",
    "trace_id": "fb5d4cafc82042c99873c37c3250747a",
    "parent_span_id": "b0e4ba3084b58f68",
    "op": "gen_ai.responses",
    "description": "responses gpt-5-nano",
    "start_timestamp": 1779175883.00476,
    "timestamp": 1779175884.467692,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140131307924352",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 153,
      "gen_ai.usage.output_tokens.reasoning": 128,
      "gen_ai.usage.total_tokens": 176,
      "gen_ai.response.time_to_first_token": 1.2130521510000563,
      "gen_ai.response.text": "Paris",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "b0e4ba3084b58f68",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Basic LLM Test (sync, blocking, chat)❗︎ 14146ms
checkAISpanCount(1)
checkChatSpanAttributes
90f73876gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
90f73876gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "23c2646d900a471a9efc81abb053c115",
    "span_id": "8a935289ae4d67d7",
    "parent_span_id": "90f73876d1da8a4a",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:23.005546Z",
    "timestamp": "2026-05-19T07:31:23.007986Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21860
    },
    "data": {
      "thread.id": "139713729620864",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "23c2646d900a471a9efc81abb053c115",
    "span_id": "a14b917d6319dcdf",
    "parent_span_id": "90f73876d1da8a4a",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:23.008071Z",
    "timestamp": "2026-05-19T07:31:23.008335Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21860
    },
    "data": {
      "thread.id": "139713729620864",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "23c2646d900a471a9efc81abb053c115",
    "span_id": "92c88e1f7e71138f",
    "parent_span_id": "a14b917d6319dcdf",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:23.008163Z",
    "timestamp": "2026-05-19T07:31:23.008323Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21860
    },
    "data": {
      "thread.id": "139713729620864",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "23c2646d900a471a9efc81abb053c115",
    "span_id": "a7c285f2a281f01d",
    "parent_span_id": "90f73876d1da8a4a",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:23.008377Z",
    "timestamp": "2026-05-19T07:31:23.008394Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21860
    },
    "data": {
      "thread.id": "139713729620864",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "23c2646d900a471a9efc81abb053c115",
    "span_id": "87f261db5ceb5322",
    "parent_span_id": "90f73876d1da8a4a",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:23.009677Z",
    "timestamp": "2026-05-19T07:31:23.963478Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139713729620864",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 25,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-sync-blocking-chat.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "b2d9020b6e026d48",
    "trace_id": "23c2646d900a471a9efc81abb053c115",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:31:23.000538Z",
    "timestamp": "2026-05-19T07:31:23.969632Z",
    "data": {
      "thread.id": "139713729620864",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "90f73876d1da8a4a",
    "trace_id": "23c2646d900a471a9efc81abb053c115",
    "parent_span_id": "b2d9020b6e026d48",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175883.001478,
    "timestamp": 1779175883.969594,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "139713729620864",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "{\"content\": \"Paris.\", \"refusal\": \"None\", \"role\": \"assistant\", \"annotations\": [], \"audio\": \"None\", \"function_call\": \"None\", \"tool_calls\": \"None\"}",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 75,
      "gen_ai.usage.output_tokens.reasoning": 64,
      "gen_ai.usage.total_tokens": 98,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "b2d9020b6e026d48",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Basic LLM Test (sync, blocking, responses)❗︎ 14109ms
checkAISpanCount(1)
checkChatSpanAttributes
88c664dbgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
88c664dbgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "a1a21d8388154308ae0e94d957cd15ad",
    "span_id": "90fdb8b2dc3f30fb",
    "parent_span_id": "88c664dba9c936df",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:22.943528Z",
    "timestamp": "2026-05-19T07:31:22.945986Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21852
    },
    "data": {
      "thread.id": "140359758814080",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "a1a21d8388154308ae0e94d957cd15ad",
    "span_id": "8d8e13202f1116d9",
    "parent_span_id": "88c664dba9c936df",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:22.946074Z",
    "timestamp": "2026-05-19T07:31:22.946272Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21852
    },
    "data": {
      "thread.id": "140359758814080",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "a1a21d8388154308ae0e94d957cd15ad",
    "span_id": "aba2f94a5307c3b0",
    "parent_span_id": "8d8e13202f1116d9",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:22.946165Z",
    "timestamp": "2026-05-19T07:31:22.946262Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21852
    },
    "data": {
      "thread.id": "140359758814080",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "a1a21d8388154308ae0e94d957cd15ad",
    "span_id": "ba69f25e84d2f3ea",
    "parent_span_id": "88c664dba9c936df",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:22.946310Z",
    "timestamp": "2026-05-19T07:31:22.946325Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21852
    },
    "data": {
      "thread.id": "140359758814080",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "a1a21d8388154308ae0e94d957cd15ad",
    "span_id": "83c7a16e080db322",
    "parent_span_id": "88c664dba9c936df",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:22.947624Z",
    "timestamp": "2026-05-19T07:31:23.868679Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140359758814080",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 25,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-sync-blocking-responses.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "872cad45306e3d4d",
    "trace_id": "a1a21d8388154308ae0e94d957cd15ad",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:31:22.935767Z",
    "timestamp": "2026-05-19T07:31:23.937647Z",
    "data": {
      "thread.id": "140359758814080",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "88c664dba9c936df",
    "trace_id": "a1a21d8388154308ae0e94d957cd15ad",
    "parent_span_id": "872cad45306e3d4d",
    "op": "gen_ai.responses",
    "description": "responses gpt-5-nano",
    "start_timestamp": 1779175882.936725,
    "timestamp": 1779175883.937593,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140359758814080",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "Paris.",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 81,
      "gen_ai.usage.output_tokens.reasoning": 64,
      "gen_ai.usage.total_tokens": 104,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "872cad45306e3d4d",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Basic LLM Test (async, streaming, chat)❗︎ 13660ms
checkAISpanCount(1)
checkChatSpanAttributes
8d798367gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8d798367gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "e4f516ce393c410cb00c54bc33a203a2",
    "span_id": "b395b1cbe3a70e9e",
    "parent_span_id": "8d798367ea92d1af",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:22.957033Z",
    "timestamp": "2026-05-19T07:31:22.959577Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21857
    },
    "data": {
      "thread.id": "139988286424768",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "e4f516ce393c410cb00c54bc33a203a2",
    "span_id": "b778de77e0ac3443",
    "parent_span_id": "8d798367ea92d1af",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:22.959667Z",
    "timestamp": "2026-05-19T07:31:22.959804Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21857
    },
    "data": {
      "thread.id": "139988286424768",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "e4f516ce393c410cb00c54bc33a203a2",
    "span_id": "bbc9ffdc1564bb77",
    "parent_span_id": "b778de77e0ac3443",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:22.959763Z",
    "timestamp": "2026-05-19T07:31:22.959795Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21857
    },
    "data": {
      "thread.id": "139988286424768",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "e4f516ce393c410cb00c54bc33a203a2",
    "span_id": "98c739c3e2227eba",
    "parent_span_id": "8d798367ea92d1af",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:22.959839Z",
    "timestamp": "2026-05-19T07:31:22.959852Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21857
    },
    "data": {
      "thread.id": "139988286424768",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "e4f516ce393c410cb00c54bc33a203a2",
    "span_id": "90ce2042a87336d2",
    "parent_span_id": "8d798367ea92d1af",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:22.961536Z",
    "timestamp": "2026-05-19T07:31:23.988988Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139988365605760",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 26,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-async-streaming-chat.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "93ee09194d5b16b6",
    "trace_id": "e4f516ce393c410cb00c54bc33a203a2",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:31:22.948145Z",
    "timestamp": "2026-05-19T07:31:24.078612Z",
    "data": {
      "thread.id": "139988365605760",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "8d798367ea92d1af",
    "trace_id": "e4f516ce393c410cb00c54bc33a203a2",
    "parent_span_id": "93ee09194d5b16b6",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175882.950927,
    "timestamp": 1779175884.077228,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "139988365605760",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.time_to_first_token": 1.044312039000033,
      "gen_ai.response.text": "Paris.",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 139,
      "gen_ai.usage.output_tokens.reasoning": 128,
      "gen_ai.usage.total_tokens": 162,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "93ee09194d5b16b6",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Basic LLM Test (async, streaming, responses)❗︎ 13942ms
checkAISpanCount(1)
checkChatSpanAttributes
b7929771gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b7929771gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "73776093a0484a83a8908ad94fd42de3",
    "span_id": "8ae31c3bc77a5dac",
    "parent_span_id": "b792977175d0b5d8",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:23.024434Z",
    "timestamp": "2026-05-19T07:31:23.025599Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21864
    },
    "data": {
      "thread.id": "140484850075328",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "73776093a0484a83a8908ad94fd42de3",
    "span_id": "9193b89aef167637",
    "parent_span_id": "b792977175d0b5d8",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:23.025684Z",
    "timestamp": "2026-05-19T07:31:23.026686Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21864
    },
    "data": {
      "thread.id": "140484850075328",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "73776093a0484a83a8908ad94fd42de3",
    "span_id": "b10f3f84c3f08592",
    "parent_span_id": "9193b89aef167637",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:23.026635Z",
    "timestamp": "2026-05-19T07:31:23.026674Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21864
    },
    "data": {
      "thread.id": "140484850075328",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "73776093a0484a83a8908ad94fd42de3",
    "span_id": "922a4706a2b38f15",
    "parent_span_id": "b792977175d0b5d8",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:23.026723Z",
    "timestamp": "2026-05-19T07:31:23.026737Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21864
    },
    "data": {
      "thread.id": "140484850075328",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "73776093a0484a83a8908ad94fd42de3",
    "span_id": "b7548f89f50455f5",
    "parent_span_id": "b792977175d0b5d8",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:23.028294Z",
    "timestamp": "2026-05-19T07:31:23.240610Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140484929129344",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 26,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-async-streaming-responses.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "a5b9cfc03fd12efc",
    "trace_id": "73776093a0484a83a8908ad94fd42de3",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:31:23.018171Z",
    "timestamp": "2026-05-19T07:31:24.368545Z",
    "data": {
      "thread.id": "140484929129344",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b792977175d0b5d8",
    "trace_id": "73776093a0484a83a8908ad94fd42de3",
    "parent_span_id": "a5b9cfc03fd12efc",
    "op": "gen_ai.responses",
    "description": "responses gpt-5-nano",
    "start_timestamp": 1779175883.019218,
    "timestamp": 1779175884.367578,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140484929129344",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 131,
      "gen_ai.usage.output_tokens.reasoning": 64,
      "gen_ai.usage.total_tokens": 154,
      "gen_ai.response.time_to_first_token": 1.0812516780000578,
      "gen_ai.response.text": "Paris.",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "a5b9cfc03fd12efc",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Basic LLM Test (async, blocking, chat)❗︎ 13899ms
checkAISpanCount(1)
checkChatSpanAttributes
8e8e2901gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8e8e2901gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "ebe4faf182914dbeaa1efe83b8e53bce",
    "span_id": "a56604948a85caed",
    "parent_span_id": "8e8e2901f49d3ae0",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:23.916262Z",
    "timestamp": "2026-05-19T07:31:23.917512Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21870
    },
    "data": {
      "thread.id": "140648734774976",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "ebe4faf182914dbeaa1efe83b8e53bce",
    "span_id": "93ad7dc58a41458d",
    "parent_span_id": "8e8e2901f49d3ae0",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:23.917600Z",
    "timestamp": "2026-05-19T07:31:23.918461Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21870
    },
    "data": {
      "thread.id": "140648734774976",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "ebe4faf182914dbeaa1efe83b8e53bce",
    "span_id": "a3284a8f0a84a739",
    "parent_span_id": "93ad7dc58a41458d",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:23.918365Z",
    "timestamp": "2026-05-19T07:31:23.918450Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21870
    },
    "data": {
      "thread.id": "140648734774976",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "ebe4faf182914dbeaa1efe83b8e53bce",
    "span_id": "96597574c5d93cb6",
    "parent_span_id": "8e8e2901f49d3ae0",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:23.918494Z",
    "timestamp": "2026-05-19T07:31:23.918506Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21870
    },
    "data": {
      "thread.id": "140648734774976",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "ebe4faf182914dbeaa1efe83b8e53bce",
    "span_id": "a438bc62ded3e05b",
    "parent_span_id": "8e8e2901f49d3ae0",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:23.919806Z",
    "timestamp": "2026-05-19T07:31:25.672471Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140648813542272",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 26,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-async-blocking-chat.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "b808c76884378043",
    "trace_id": "ebe4faf182914dbeaa1efe83b8e53bce",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:31:23.912007Z",
    "timestamp": "2026-05-19T07:31:25.705318Z",
    "data": {
      "thread.id": "140648813542272",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "8e8e2901f49d3ae0",
    "trace_id": "ebe4faf182914dbeaa1efe83b8e53bce",
    "parent_span_id": "b808c76884378043",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175883.913105,
    "timestamp": 1779175885.696652,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140648813542272",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "{\"content\": \"Paris.\", \"refusal\": \"None\", \"role\": \"assistant\", \"annotations\": [], \"audio\": \"None\", \"function_call\": \"None\", \"tool_calls\": \"None\"}",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 267,
      "gen_ai.usage.output_tokens.reasoning": 256,
      "gen_ai.usage.total_tokens": 290,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "b808c76884378043",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Basic LLM Test (async, blocking, responses)❗︎ 15237ms
checkAISpanCount(1)
checkChatSpanAttributes
a2f425c6gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a2f425c6gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "8d2a3da0139c413b85a09e5de2fefade",
    "span_id": "845f54fce0872c3c",
    "parent_span_id": "a2f425c66c65dc06",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:26.850787Z",
    "timestamp": "2026-05-19T07:31:26.857023Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21916
    },
    "data": {
      "thread.id": "139978329986752",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "8d2a3da0139c413b85a09e5de2fefade",
    "span_id": "90eb36a8b85a39d8",
    "parent_span_id": "a2f425c66c65dc06",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:26.857148Z",
    "timestamp": "2026-05-19T07:31:26.857324Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21916
    },
    "data": {
      "thread.id": "139978329986752",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "8d2a3da0139c413b85a09e5de2fefade",
    "span_id": "a3ebdabc55b80ec5",
    "parent_span_id": "90eb36a8b85a39d8",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:26.857270Z",
    "timestamp": "2026-05-19T07:31:26.857311Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21916
    },
    "data": {
      "thread.id": "139978329986752",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "8d2a3da0139c413b85a09e5de2fefade",
    "span_id": "b96f8af34989f918",
    "parent_span_id": "a2f425c66c65dc06",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:26.857364Z",
    "timestamp": "2026-05-19T07:31:26.857379Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21916
    },
    "data": {
      "thread.id": "139978329986752",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "8d2a3da0139c413b85a09e5de2fefade",
    "span_id": "a4fbf070cb8f38a6",
    "parent_span_id": "a2f425c66c65dc06",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:26.861920Z",
    "timestamp": "2026-05-19T07:31:28.462535Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139978408704896",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 26,
      "code.namespace": "__main__",
      "code.filepath": "test-basic-llm-test-async-blocking-responses.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "92d74eeb15e4fcd7",
    "trace_id": "8d2a3da0139c413b85a09e5de2fefade",
    "parent_span_id": null,
    "op": "test",
    "description": "Basic LLM Test",
    "start_timestamp": "2026-05-19T07:31:26.820493Z",
    "timestamp": "2026-05-19T07:31:28.687481Z",
    "data": {
      "thread.id": "139978408704896",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "a2f425c66c65dc06",
    "trace_id": "8d2a3da0139c413b85a09e5de2fefade",
    "parent_span_id": "92d74eeb15e4fcd7",
    "op": "gen_ai.responses",
    "description": "responses gpt-5-nano",
    "start_timestamp": 1779175886.830636,
    "timestamp": 1779175888.686314,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "139978408704896",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "Paris.",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 173,
      "gen_ai.usage.output_tokens.reasoning": 128,
      "gen_ai.usage.total_tokens": 196,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Basic LLM Test",
      "sentry.segment.id": "92d74eeb15e4fcd7",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Multi-Turn LLM Test (sync, streaming, chat)❗︎ 122119ms
checkAISpanCount(3)
checkChatSpanAttributes
9b4b76e7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9b4b76e7gen_ai.output.messagesMissing output messages attribute
bbd5d4ecgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bbd5d4ecgen_ai.output.messagesMissing output messages attribute
bb3beb63gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bb3beb63gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (11)
[
  {
    "trace_id": "7641751422c74fa89d619b2316db87bb",
    "span_id": "ab7f78a1c3b45519",
    "parent_span_id": "9b4b76e7ac240a23",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:27.718807Z",
    "timestamp": "2026-05-19T07:31:27.724524Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21925
    },
    "data": {
      "thread.id": "140639349410688",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "7641751422c74fa89d619b2316db87bb",
    "span_id": "9e51fe386fdd2aa8",
    "parent_span_id": "9b4b76e7ac240a23",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:27.724649Z",
    "timestamp": "2026-05-19T07:31:27.724856Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21925
    },
    "data": {
      "thread.id": "140639349410688",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "7641751422c74fa89d619b2316db87bb",
    "span_id": "88f52b3943c4ba8c",
    "parent_span_id": "9e51fe386fdd2aa8",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:27.724804Z",
    "timestamp": "2026-05-19T07:31:27.724846Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21925
    },
    "data": {
      "thread.id": "140639349410688",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "7641751422c74fa89d619b2316db87bb",
    "span_id": "8078da186b73c0c9",
    "parent_span_id": "9b4b76e7ac240a23",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:27.724920Z",
    "timestamp": "2026-05-19T07:31:27.724936Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21925
    },
    "data": {
      "thread.id": "140639349410688",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "7641751422c74fa89d619b2316db87bb",
    "span_id": "9b836df2eec139ee",
    "parent_span_id": "9b4b76e7ac240a23",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:27.726381Z",
    "timestamp": "2026-05-19T07:31:28.951257Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140639349410688",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 25,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-streaming-chat.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "7641751422c74fa89d619b2316db87bb",
    "span_id": "af48f6e898db8cd7",
    "parent_span_id": "bbd5d4ec392236c3",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:28.995622Z",
    "timestamp": "2026-05-19T07:31:37.374215Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140639349410688",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 51,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-streaming-chat.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "7641751422c74fa89d619b2316db87bb",
    "span_id": "ad0b1a0393e548da",
    "parent_span_id": "bb3beb632283cf99",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:37.869056Z",
    "timestamp": "2026-05-19T07:31:45.641982Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140639349410688",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 85,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-streaming-chat.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "8544c9fffd43fad3",
    "trace_id": "7641751422c74fa89d619b2316db87bb",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:31:27.704704Z",
    "timestamp": "2026-05-19T07:31:46.109919Z",
    "data": {
      "thread.id": "140639349410688",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "9b4b76e7ac240a23",
    "trace_id": "7641751422c74fa89d619b2316db87bb",
    "parent_span_id": "8544c9fffd43fad3",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175887.707358,
    "timestamp": 1779175888.986915,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140639349410688",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.time_to_first_token": 1.2636482389999628,
      "gen_ai.response.text": "Paris.",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 139,
      "gen_ai.usage.output_tokens.reasoning": 128,
      "gen_ai.usage.total_tokens": 162,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "8544c9fffd43fad3",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "bbd5d4ec392236c3",
    "trace_id": "7641751422c74fa89d619b2316db87bb",
    "parent_span_id": "8544c9fffd43fad3",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175888.987029,
    "timestamp": 1779175897.867055,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140639349410688",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.time_to_first_token": 8.38864085199998,
      "gen_ai.response.text": "Paris proper (the city itself) has about 2.1 million residents.\n\nIf you mean the wider Paris metropolitan area, the population is roughly 12 million. The broader Île-de-France region around Paris has about 12–13 million residents.\n\nPopulation figures vary by definition (city proper vs. urban/metropolitan areas) and year. If you tell me which definition and year you want, I can give a precise number.",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 1632,
      "gen_ai.usage.output_tokens.reasoning": 1536,
      "gen_ai.usage.total_tokens": 1680,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "8544c9fffd43fad3",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "bb3beb632283cf99",
    "trace_id": "7641751422c74fa89d619b2316db87bb",
    "parent_span_id": "8544c9fffd43fad3",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175897.867152,
    "timestamp": 1779175906.109813,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140639349410688",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}, {\"role\": \"assistant\", \"content\": \"Paris has a population of approximately 2.2 million people in the city proper.\"}, {\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.time_to_first_token": 7.775420068000017,
      "gen_ai.response.text": "Approximately 12 million people, though it depends on the definition used.\n\n- Île-de-France (the wider region around Paris): about 12–13 million\n- Paris urban area (aire urbaine): about 12 million\n- OECD/Eurostat Paris functional urban area: around 12.3 million\n\nSo, a rough figure is around 12 million, with small differences by definition.",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 1372,
      "gen_ai.usage.output_tokens.reasoning": 1280,
      "gen_ai.usage.total_tokens": 1453,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "8544c9fffd43fad3",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Multi-Turn LLM Test (sync, streaming, responses)❗︎ 121724ms
checkAISpanCount(3)
checkChatSpanAttributes
9feca53fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9feca53fgen_ai.output.messagesMissing output messages attribute
b0ee4311gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b0ee4311gen_ai.output.messagesMissing output messages attribute
96e5970bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
96e5970bgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (11)
[
  {
    "trace_id": "cf881d57b7a645c4a869e447ed94e0f5",
    "span_id": "acd42b5f6aced49f",
    "parent_span_id": "9feca53f9f6efb98",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:27.691379Z",
    "timestamp": "2026-05-19T07:31:27.697018Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21923
    },
    "data": {
      "thread.id": "139636742798208",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "cf881d57b7a645c4a869e447ed94e0f5",
    "span_id": "a2fc8aca7cd6c4ad",
    "parent_span_id": "9feca53f9f6efb98",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:27.697150Z",
    "timestamp": "2026-05-19T07:31:27.697317Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21923
    },
    "data": {
      "thread.id": "139636742798208",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "cf881d57b7a645c4a869e447ed94e0f5",
    "span_id": "8ec649dd7317d62b",
    "parent_span_id": "a2fc8aca7cd6c4ad",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:27.697266Z",
    "timestamp": "2026-05-19T07:31:27.697307Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21923
    },
    "data": {
      "thread.id": "139636742798208",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "cf881d57b7a645c4a869e447ed94e0f5",
    "span_id": "9b3241f1ddb89803",
    "parent_span_id": "9feca53f9f6efb98",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:27.697356Z",
    "timestamp": "2026-05-19T07:31:27.697371Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21923
    },
    "data": {
      "thread.id": "139636742798208",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "cf881d57b7a645c4a869e447ed94e0f5",
    "span_id": "987237d736d06bf8",
    "parent_span_id": "9feca53f9f6efb98",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:27.698777Z",
    "timestamp": "2026-05-19T07:31:27.905084Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139636742798208",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 25,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-streaming-responses.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "cf881d57b7a645c4a869e447ed94e0f5",
    "span_id": "93defdcbe0d40932",
    "parent_span_id": "b0ee43113718d0c7",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:29.438139Z",
    "timestamp": "2026-05-19T07:31:29.604550Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139636742798208",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 47,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-streaming-responses.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "cf881d57b7a645c4a869e447ed94e0f5",
    "span_id": "a5ca2bff1318643c",
    "parent_span_id": "96e5970bebf65e70",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:37.974812Z",
    "timestamp": "2026-05-19T07:31:38.139917Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139636742798208",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 77,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-streaming-responses.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "8bd43db54ffe5c69",
    "trace_id": "cf881d57b7a645c4a869e447ed94e0f5",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:31:27.666230Z",
    "timestamp": "2026-05-19T07:31:45.560675Z",
    "data": {
      "thread.id": "139636742798208",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "9feca53f9f6efb98",
    "trace_id": "cf881d57b7a645c4a869e447ed94e0f5",
    "parent_span_id": "8bd43db54ffe5c69",
    "op": "gen_ai.responses",
    "description": "responses gpt-5-nano",
    "start_timestamp": 1779175887.672212,
    "timestamp": 1779175889.43655,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "139636742798208",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 189,
      "gen_ai.usage.output_tokens.reasoning": 128,
      "gen_ai.usage.total_tokens": 212,
      "gen_ai.response.time_to_first_token": 1.496256623000022,
      "gen_ai.response.text": "Paris.",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "8bd43db54ffe5c69",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b0ee43113718d0c7",
    "trace_id": "cf881d57b7a645c4a869e447ed94e0f5",
    "parent_span_id": "8bd43db54ffe5c69",
    "op": "gen_ai.responses",
    "description": "responses gpt-5-nano",
    "start_timestamp": 1779175889.436635,
    "timestamp": 1779175897.97285,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "139636742798208",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 1333,
      "gen_ai.usage.output_tokens.reasoning": 1216,
      "gen_ai.usage.total_tokens": 1381,
      "gen_ai.response.time_to_first_token": 7.7641737289999355,
      "gen_ai.response.text": "- City proper (the commune of Paris): about 2.1 million residents.\n- Wider Paris area: about 12 million people (this includes the Île-de-France region and surrounding urban areas).\n\nIf you want exact figures for a specific year or definition (city proper vs. urban area vs. metro), tell me and I’ll pull the precise numbers.",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "8bd43db54ffe5c69",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "96e5970bebf65e70",
    "trace_id": "cf881d57b7a645c4a869e447ed94e0f5",
    "parent_span_id": "8bd43db54ffe5c69",
    "op": "gen_ai.responses",
    "description": "responses gpt-5-nano",
    "start_timestamp": 1779175897.97296,
    "timestamp": 1779175905.560613,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "139636742798208",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}, {\"role\": \"assistant\", \"content\": \"Paris has a population of approximately 2.2 million people in the city proper.\"}, {\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 1260,
      "gen_ai.usage.output_tokens.reasoning": 1152,
      "gen_ai.usage.total_tokens": 1341,
      "gen_ai.response.time_to_first_token": 6.794192737000003,
      "gen_ai.response.text": "A couple of common definitions:\n\n- Île-de-France (the Paris metropolitan region): about 12.3 million people (roughly 2023–2024).\n- Paris urban area (aire urbaine): about 12–13 million people, depending on year and method.\n- City proper (Paris itself): about 2.1–2.2 million.\n\nNumbers vary by source and year. Would you like a specific year or source (e.g., INSEE) for precision?",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "8bd43db54ffe5c69",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Multi-Turn LLM Test (sync, blocking, chat)❗︎ 117205ms
checkAISpanCount(3)
checkChatSpanAttributes
8cce3553gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8cce3553gen_ai.output.messagesMissing output messages attribute
b5337032gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b5337032gen_ai.output.messagesMissing output messages attribute
ac2dc6e7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ac2dc6e7gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (11)
[
  {
    "trace_id": "13ebd4bcdbfb46bb9928a314752c21b2",
    "span_id": "9bac53a864e19965",
    "parent_span_id": "8cce35536fcf1554",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:26.761730Z",
    "timestamp": "2026-05-19T07:31:26.764996Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21913
    },
    "data": {
      "thread.id": "140132083899264",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "13ebd4bcdbfb46bb9928a314752c21b2",
    "span_id": "bcc1a6253cdd20e1",
    "parent_span_id": "8cce35536fcf1554",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:26.765083Z",
    "timestamp": "2026-05-19T07:31:26.765225Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21913
    },
    "data": {
      "thread.id": "140132083899264",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "13ebd4bcdbfb46bb9928a314752c21b2",
    "span_id": "8da6da2c98c89b96",
    "parent_span_id": "bcc1a6253cdd20e1",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:26.765178Z",
    "timestamp": "2026-05-19T07:31:26.765214Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21913
    },
    "data": {
      "thread.id": "140132083899264",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "13ebd4bcdbfb46bb9928a314752c21b2",
    "span_id": "b970a9faf5b52c1c",
    "parent_span_id": "8cce35536fcf1554",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:26.765261Z",
    "timestamp": "2026-05-19T07:31:26.765276Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21913
    },
    "data": {
      "thread.id": "140132083899264",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "13ebd4bcdbfb46bb9928a314752c21b2",
    "span_id": "8801cc69a7b37783",
    "parent_span_id": "8cce35536fcf1554",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:26.766628Z",
    "timestamp": "2026-05-19T07:31:27.953840Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140132083899264",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 25,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-blocking-chat.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "13ebd4bcdbfb46bb9928a314752c21b2",
    "span_id": "bde30f47c573c49c",
    "parent_span_id": "b5337032c557cc80",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:27.982970Z",
    "timestamp": "2026-05-19T07:31:34.546671Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140132083899264",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 43,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-blocking-chat.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "13ebd4bcdbfb46bb9928a314752c21b2",
    "span_id": "b075ecff23ebd3a0",
    "parent_span_id": "ac2dc6e7cba026b5",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:34.550584Z",
    "timestamp": "2026-05-19T07:31:41.267092Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140132083899264",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 69,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-blocking-chat.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "a40b510d43b8a232",
    "trace_id": "13ebd4bcdbfb46bb9928a314752c21b2",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:31:26.754124Z",
    "timestamp": "2026-05-19T07:31:41.267934Z",
    "data": {
      "thread.id": "140132083899264",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "8cce35536fcf1554",
    "trace_id": "13ebd4bcdbfb46bb9928a314752c21b2",
    "parent_span_id": "a40b510d43b8a232",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175886.755313,
    "timestamp": 1779175887.977061,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140132083899264",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "{\"content\": \"Paris.\", \"refusal\": \"None\", \"role\": \"assistant\", \"annotations\": [], \"audio\": \"None\", \"function_call\": \"None\", \"tool_calls\": \"None\"}",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 139,
      "gen_ai.usage.output_tokens.reasoning": 128,
      "gen_ai.usage.total_tokens": 162,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "a40b510d43b8a232",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b5337032c557cc80",
    "trace_id": "13ebd4bcdbfb46bb9928a314752c21b2",
    "parent_span_id": "a40b510d43b8a232",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175887.977191,
    "timestamp": 1779175894.547514,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140132083899264",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "{\"content\": \"Paris (the city proper) has about 2.1 million residents (roughly 2.1\\u20132.2 million, latest estimates).\\n\\nIf you meant the wider area:\\n- Paris metro area (urban area): about 12 million people.\\n- \\u00cele-de-France region: around 12\\u201313 million.\\n- M\\u00e9tropole du Grand Paris (administrative metro): about 7 million. \\n\\nIf you want a specific number for a particular year, tell me which one and I\\u2019ll narrow it down.\", \"refusal\": \"None\", \"role\": \"assistant\", \"annotations\": [], \"audio\": \"None\", \"function_call\": \"None\", \"tool_calls\": \"None\"}",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 1137,
      "gen_ai.usage.output_tokens.reasoning": 1024,
      "gen_ai.usage.total_tokens": 1185,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "a40b510d43b8a232",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "ac2dc6e7cba026b5",
    "trace_id": "13ebd4bcdbfb46bb9928a314752c21b2",
    "parent_span_id": "a40b510d43b8a232",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175894.547616,
    "timestamp": 1779175901.267863,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140132083899264",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}, {\"role\": \"assistant\", \"content\": \"Paris has a population of approximately 2.2 million people in the city proper.\"}, {\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "{\"content\": \"Definitions vary, but here are the common figures for the Paris metropolitan area:\\n\\n- Paris city proper: about 2.2 million.\\n- Paris urban area (aire urbaine de Paris): roughly 12 million people.\\n- \\u00cele-de-France region (greater Paris, i.e., the metropolitan region around Paris): about 12.5\\u201313 million, depending on the year and method of measurement.\\n\\nIf you have a specific definition or year in mind (e.g., INSEE definitions for a particular year), I can give a more precise figure.\", \"refusal\": \"None\", \"role\": \"assistant\", \"annotations\": [], \"audio\": \"None\", \"function_call\": \"None\", \"tool_calls\": \"None\"}",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 1145,
      "gen_ai.usage.output_tokens.reasoning": 1024,
      "gen_ai.usage.total_tokens": 1226,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "a40b510d43b8a232",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Multi-Turn LLM Test (sync, blocking, responses)❗︎ 124135ms
checkAISpanCount(3)
checkChatSpanAttributes
8490f679gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8490f679gen_ai.output.messagesMissing output messages attribute
98884511gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
98884511gen_ai.output.messagesMissing output messages attribute
bdf2b4eagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bdf2b4eagen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (11)
[
  {
    "trace_id": "e30735d3502b487fab2d59cc4a6375f7",
    "span_id": "8272e290c030badd",
    "parent_span_id": "8490f679b09b54bf",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:27.601361Z",
    "timestamp": "2026-05-19T07:31:27.606012Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21920
    },
    "data": {
      "thread.id": "140309104278400",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "e30735d3502b487fab2d59cc4a6375f7",
    "span_id": "9f912cd32bf49703",
    "parent_span_id": "8490f679b09b54bf",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:27.606136Z",
    "timestamp": "2026-05-19T07:31:27.606543Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21920
    },
    "data": {
      "thread.id": "140309104278400",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "e30735d3502b487fab2d59cc4a6375f7",
    "span_id": "bb97167134c5020b",
    "parent_span_id": "9f912cd32bf49703",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:27.606310Z",
    "timestamp": "2026-05-19T07:31:27.606531Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21920
    },
    "data": {
      "thread.id": "140309104278400",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "e30735d3502b487fab2d59cc4a6375f7",
    "span_id": "b516dba667e27db5",
    "parent_span_id": "8490f679b09b54bf",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:27.606586Z",
    "timestamp": "2026-05-19T07:31:27.606603Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21920
    },
    "data": {
      "thread.id": "140309104278400",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "e30735d3502b487fab2d59cc4a6375f7",
    "span_id": "8ec6aa6d6d3493d8",
    "parent_span_id": "8490f679b09b54bf",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:27.610975Z",
    "timestamp": "2026-05-19T07:31:28.739825Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140309104278400",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 25,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-blocking-responses.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "e30735d3502b487fab2d59cc4a6375f7",
    "span_id": "ab513180e69683a9",
    "parent_span_id": "98884511d8604711",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:28.944553Z",
    "timestamp": "2026-05-19T07:31:38.139345Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140309104278400",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 39,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-blocking-responses.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "e30735d3502b487fab2d59cc4a6375f7",
    "span_id": "bd4c7b47be98fa92",
    "parent_span_id": "bdf2b4ea3b223ac5",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:38.143216Z",
    "timestamp": "2026-05-19T07:31:48.750026Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140309104278400",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 61,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-sync-blocking-responses.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "b12bc9bb4a8deda1",
    "trace_id": "e30735d3502b487fab2d59cc4a6375f7",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:31:27.592721Z",
    "timestamp": "2026-05-19T07:31:48.754039Z",
    "data": {
      "thread.id": "140309104278400",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "8490f679b09b54bf",
    "trace_id": "e30735d3502b487fab2d59cc4a6375f7",
    "parent_span_id": "b12bc9bb4a8deda1",
    "op": "gen_ai.responses",
    "description": "responses gpt-5-nano",
    "start_timestamp": 1779175887.593666,
    "timestamp": 1779175888.942311,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140309104278400",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "Paris.",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 99,
      "gen_ai.usage.output_tokens.reasoning": 64,
      "gen_ai.usage.total_tokens": 122,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "b12bc9bb4a8deda1",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "98884511d8604711",
    "trace_id": "e30735d3502b487fab2d59cc4a6375f7",
    "parent_span_id": "b12bc9bb4a8deda1",
    "op": "gen_ai.responses",
    "description": "responses gpt-5-nano",
    "start_timestamp": 1779175888.942429,
    "timestamp": 1779175898.140443,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140309104278400",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "Do you mean:\n- Paris city proper (the administrative commune): about 2.1 million residents.\n- Paris urban area (aire urbaine): about 11–12 million.\n- Île-de-France region (the wider metro area): about 12–13 million.\n\nIf you specify which definition you want, I can give a precise figure for the latest year.",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 1390,
      "gen_ai.usage.output_tokens.reasoning": 1280,
      "gen_ai.usage.total_tokens": 1438,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "b12bc9bb4a8deda1",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "bdf2b4ea3b223ac5",
    "trace_id": "e30735d3502b487fab2d59cc4a6375f7",
    "parent_span_id": "b12bc9bb4a8deda1",
    "op": "gen_ai.responses",
    "description": "responses gpt-5-nano",
    "start_timestamp": 1779175898.140554,
    "timestamp": 1779175908.753974,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140309104278400",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}, {\"role\": \"assistant\", \"content\": \"Paris has a population of approximately 2.2 million people in the city proper.\"}, {\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "If by \"metropolitan area\" you mean the Paris metro area, there are two common definitions:\n\n- Paris urban area (aire urbaine): about 12 million people.\n- Île-de-France region (the wider metro region around Paris): about 12–13 million people.\n\nThese are far larger than the city proper (~2.2 million). If you want a precise figure for a specific definition and year, tell me which definition you prefer and I’ll provide the exact number.",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 1991,
      "gen_ai.usage.output_tokens.reasoning": 1856,
      "gen_ai.usage.total_tokens": 2072,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "b12bc9bb4a8deda1",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Multi-Turn LLM Test (async, streaming, chat)❗︎ 120863ms
checkAISpanCount(3)
checkChatSpanAttributes
b01b4a9agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b01b4a9agen_ai.output.messagesMissing output messages attribute
9dc9edf7gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9dc9edf7gen_ai.output.messagesMissing output messages attribute
b1a145abgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b1a145abgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (11)
[
  {
    "trace_id": "0d825b74f162497bbb71062dd4970f7c",
    "span_id": "b85954e13204fc5f",
    "parent_span_id": "b01b4a9a6fcc8292",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:28.766307Z",
    "timestamp": "2026-05-19T07:31:28.767975Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21942
    },
    "data": {
      "thread.id": "140695610496704",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "0d825b74f162497bbb71062dd4970f7c",
    "span_id": "a7a5cc8095716f6c",
    "parent_span_id": "b01b4a9a6fcc8292",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:28.768071Z",
    "timestamp": "2026-05-19T07:31:28.773095Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21942
    },
    "data": {
      "thread.id": "140695610496704",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "0d825b74f162497bbb71062dd4970f7c",
    "span_id": "a29eaecb310df244",
    "parent_span_id": "a7a5cc8095716f6c",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:28.773020Z",
    "timestamp": "2026-05-19T07:31:28.773076Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21942
    },
    "data": {
      "thread.id": "140695610496704",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "0d825b74f162497bbb71062dd4970f7c",
    "span_id": "9cbd669cf42da95c",
    "parent_span_id": "b01b4a9a6fcc8292",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:28.773148Z",
    "timestamp": "2026-05-19T07:31:28.773167Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21942
    },
    "data": {
      "thread.id": "140695610496704",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "0d825b74f162497bbb71062dd4970f7c",
    "span_id": "b81878e65538f2a4",
    "parent_span_id": "b01b4a9a6fcc8292",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:28.776046Z",
    "timestamp": "2026-05-19T07:31:29.502223Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140695689259904",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 26,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming-chat.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "0d825b74f162497bbb71062dd4970f7c",
    "span_id": "a29d49a30c0eaa38",
    "parent_span_id": "9dc9edf7ddd4957a",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:29.542042Z",
    "timestamp": "2026-05-19T07:31:35.279364Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140695689259904",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 52,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming-chat.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "0d825b74f162497bbb71062dd4970f7c",
    "span_id": "a849ad8ff014df6d",
    "parent_span_id": "b1a145ab1a824efb",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:35.664405Z",
    "timestamp": "2026-05-19T07:31:45.012949Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140695689259904",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 86,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming-chat.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "8972f2c537afb473",
    "trace_id": "0d825b74f162497bbb71062dd4970f7c",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:31:28.748083Z",
    "timestamp": "2026-05-19T07:31:45.741323Z",
    "data": {
      "thread.id": "140695689259904",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b01b4a9a6fcc8292",
    "trace_id": "0d825b74f162497bbb71062dd4970f7c",
    "parent_span_id": "8972f2c537afb473",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175888.754737,
    "timestamp": 1779175889.540199,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140695689259904",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.time_to_first_token": 0.7583052129999714,
      "gen_ai.response.text": "Paris",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 74,
      "gen_ai.usage.output_tokens.reasoning": 64,
      "gen_ai.usage.total_tokens": 97,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "8972f2c537afb473",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9dc9edf7ddd4957a",
    "trace_id": "0d825b74f162497bbb71062dd4970f7c",
    "parent_span_id": "8972f2c537afb473",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175889.54029,
    "timestamp": 1779175895.661182,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140695689259904",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.time_to_first_token": 5.739566080000031,
      "gen_ai.response.text": "Do you mean Paris the city proper, the Paris metropolitan area (Île-de-France), or the Paris urban area? \n\n- City proper: about 2.1 million residents.\n- Paris metropolitan area: roughly 12 million.\n- Paris urban area: around 11 million.\n\nIf you tell me which definition and year you want, I can give a precise figure.",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 916,
      "gen_ai.usage.output_tokens.reasoning": 832,
      "gen_ai.usage.total_tokens": 964,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "8972f2c537afb473",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b1a145ab1a824efb",
    "trace_id": "0d825b74f162497bbb71062dd4970f7c",
    "parent_span_id": "8972f2c537afb473",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175895.661293,
    "timestamp": 1779175905.736574,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140695689259904",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}, {\"role\": \"assistant\", \"content\": \"Paris has a population of approximately 2.2 million people in the city proper.\"}, {\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.time_to_first_token": 9.352292962999968,
      "gen_ai.response.text": "If you mean the wider Paris metropolitan area (the Paris urban area / aire urbaine), it has roughly 12 million people. \n\nFor comparison:\n- Île-de-France region (the administrative region that includes Paris and its suburbs): about 12–12.5 million people in the early 2020s.\n\nDefinitions matter: “city proper” is ~2.2 million (Paris itself). If you want a precise figure for a specific year or metric (aire urbaine vs. région), tell me which you prefer and I’ll give the exact number.",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 1599,
      "gen_ai.usage.output_tokens.reasoning": 1472,
      "gen_ai.usage.total_tokens": 1680,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "8972f2c537afb473",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Multi-Turn LLM Test (async, streaming, responses)❗︎ 122412ms
checkAISpanCount(3)
checkChatSpanAttributes
b380565cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b380565cgen_ai.output.messagesMissing output messages attribute
9eacede5gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9eacede5gen_ai.output.messagesMissing output messages attribute
913c4b75gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
913c4b75gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (11)
[
  {
    "trace_id": "da9b360119224ece8c6024d921049f1a",
    "span_id": "963847af16b19585",
    "parent_span_id": "b380565ccd786f1e",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:28.082484Z",
    "timestamp": "2026-05-19T07:31:28.085047Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21931
    },
    "data": {
      "thread.id": "139976296617664",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "da9b360119224ece8c6024d921049f1a",
    "span_id": "ae9d539324cf44c5",
    "parent_span_id": "b380565ccd786f1e",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:28.085132Z",
    "timestamp": "2026-05-19T07:31:28.088069Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21931
    },
    "data": {
      "thread.id": "139976296617664",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "da9b360119224ece8c6024d921049f1a",
    "span_id": "900a9c4300cd0a41",
    "parent_span_id": "ae9d539324cf44c5",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:28.085227Z",
    "timestamp": "2026-05-19T07:31:28.088051Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21931
    },
    "data": {
      "thread.id": "139976296617664",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "da9b360119224ece8c6024d921049f1a",
    "span_id": "8a4c435113d3055f",
    "parent_span_id": "b380565ccd786f1e",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:28.088128Z",
    "timestamp": "2026-05-19T07:31:28.088150Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21931
    },
    "data": {
      "thread.id": "139976296617664",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "da9b360119224ece8c6024d921049f1a",
    "span_id": "a472cbad266a5404",
    "parent_span_id": "b380565ccd786f1e",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:28.092994Z",
    "timestamp": "2026-05-19T07:31:28.322502Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139976374557568",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 26,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming-responses.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "da9b360119224ece8c6024d921049f1a",
    "span_id": "89bd971425574a0b",
    "parent_span_id": "9eacede50500854c",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:29.858914Z",
    "timestamp": "2026-05-19T07:31:30.040825Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139976374557568",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 48,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming-responses.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "da9b360119224ece8c6024d921049f1a",
    "span_id": "8fbba81fa4e434cb",
    "parent_span_id": "913c4b757152eb19",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:38.383633Z",
    "timestamp": "2026-05-19T07:31:38.740825Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139976374557568",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 78,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-streaming-responses.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "9c1fbb2c8550bee4",
    "trace_id": "da9b360119224ece8c6024d921049f1a",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:31:28.073550Z",
    "timestamp": "2026-05-19T07:31:47.311281Z",
    "data": {
      "thread.id": "139976374557568",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b380565ccd786f1e",
    "trace_id": "da9b360119224ece8c6024d921049f1a",
    "parent_span_id": "9c1fbb2c8550bee4",
    "op": "gen_ai.responses",
    "description": "responses gpt-5-nano",
    "start_timestamp": 1779175888.074932,
    "timestamp": 1779175889.85637,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "139976374557568",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 211,
      "gen_ai.usage.output_tokens.reasoning": 192,
      "gen_ai.usage.total_tokens": 234,
      "gen_ai.response.time_to_first_token": 1.496542954000006,
      "gen_ai.response.text": "Paris",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "9c1fbb2c8550bee4",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9eacede50500854c",
    "trace_id": "da9b360119224ece8c6024d921049f1a",
    "parent_span_id": "9c1fbb2c8550bee4",
    "op": "gen_ai.responses",
    "description": "responses gpt-5-nano",
    "start_timestamp": 1779175889.856476,
    "timestamp": 1779175898.380712,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "139976374557568",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 1334,
      "gen_ai.usage.output_tokens.reasoning": 1216,
      "gen_ai.usage.total_tokens": 1382,
      "gen_ai.response.time_to_first_token": 7.864456881000024,
      "gen_ai.response.text": "Do you mean:\n- Paris city proper (the commune)? about 2.1 million people.\n- The Paris metropolitan area (the urban/metro area)? about 12 million.\n- The Île-de-France region (the wider region including surrounding departments)? about 12–13 million.\n\nIf you tell me which measure you want, I can give a more precise figure.",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "9c1fbb2c8550bee4",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "913c4b757152eb19",
    "trace_id": "da9b360119224ece8c6024d921049f1a",
    "parent_span_id": "9c1fbb2c8550bee4",
    "op": "gen_ai.responses",
    "description": "responses gpt-5-nano",
    "start_timestamp": 1779175898.380817,
    "timestamp": 1779175907.305503,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "139976374557568",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}, {\"role\": \"assistant\", \"content\": \"Paris has a population of approximately 2.2 million people in the city proper.\"}, {\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 1644,
      "gen_ai.usage.output_tokens.reasoning": 1536,
      "gen_ai.usage.total_tokens": 1725,
      "gen_ai.response.time_to_first_token": 8.316276453,
      "gen_ai.response.text": "If you mean the Paris urban area (the metropolitan area, INSEE’s “aire urbaine”), it has about 12–12.5 million people in the latest estimates.\n\nIf you mean the Île-de-France region (the administrative region around Paris), it’s a bit over 12 million people.\n\nFor comparison, Paris city proper has about 2.1–2.2 million.\n\nWhich definition and year would you like me to use for precise figures?",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "9c1fbb2c8550bee4",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Multi-Turn LLM Test (async, blocking, chat)❗︎ 119292ms
checkAISpanCount(3)
checkChatSpanAttributes
b348ff6fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b348ff6fgen_ai.output.messagesMissing output messages attribute
a371c6f9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a371c6f9gen_ai.output.messagesMissing output messages attribute
a87d9c02gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a87d9c02gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (11)
[
  {
    "trace_id": "cc4462e28ffb443890c5ec11c86e6107",
    "span_id": "8107cb2638f0aa87",
    "parent_span_id": "b348ff6f49b7f510",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:28.155918Z",
    "timestamp": "2026-05-19T07:31:28.158545Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21934
    },
    "data": {
      "thread.id": "140647280400064",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "cc4462e28ffb443890c5ec11c86e6107",
    "span_id": "b91310e90d92bb49",
    "parent_span_id": "b348ff6f49b7f510",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:28.158635Z",
    "timestamp": "2026-05-19T07:31:28.158781Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21934
    },
    "data": {
      "thread.id": "140647280400064",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "cc4462e28ffb443890c5ec11c86e6107",
    "span_id": "8d2eaa826d7cfd11",
    "parent_span_id": "b91310e90d92bb49",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:28.158735Z",
    "timestamp": "2026-05-19T07:31:28.158772Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21934
    },
    "data": {
      "thread.id": "140647280400064",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "cc4462e28ffb443890c5ec11c86e6107",
    "span_id": "bca270f918f1ac17",
    "parent_span_id": "b348ff6f49b7f510",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:28.158818Z",
    "timestamp": "2026-05-19T07:31:28.158832Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21934
    },
    "data": {
      "thread.id": "140647280400064",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "cc4462e28ffb443890c5ec11c86e6107",
    "span_id": "a2cbf5b1b5ebe5d4",
    "parent_span_id": "b348ff6f49b7f510",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:28.160543Z",
    "timestamp": "2026-05-19T07:31:29.588251Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140647358233472",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 26,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking-chat.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "cc4462e28ffb443890c5ec11c86e6107",
    "span_id": "9bbfca3a05154da5",
    "parent_span_id": "a371c6f940fdf1c9",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:29.595680Z",
    "timestamp": "2026-05-19T07:31:37.081608Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140647358233472",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 44,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking-chat.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "cc4462e28ffb443890c5ec11c86e6107",
    "span_id": "835f34733117bec1",
    "parent_span_id": "a87d9c02580c55bf",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:37.085523Z",
    "timestamp": "2026-05-19T07:31:44.669838Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140647358233472",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 70,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking-chat.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "802359853ea6c128",
    "trace_id": "cc4462e28ffb443890c5ec11c86e6107",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:31:28.149830Z",
    "timestamp": "2026-05-19T07:31:44.671240Z",
    "data": {
      "thread.id": "140647358233472",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b348ff6f49b7f510",
    "trace_id": "cc4462e28ffb443890c5ec11c86e6107",
    "parent_span_id": "802359853ea6c128",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175888.151191,
    "timestamp": 1779175889.59403,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140647358233472",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "{\"content\": \"The capital of France is Paris.\", \"refusal\": \"None\", \"role\": \"assistant\", \"annotations\": [], \"audio\": \"None\", \"function_call\": \"None\", \"tool_calls\": \"None\"}",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 208,
      "gen_ai.usage.output_tokens.reasoning": 192,
      "gen_ai.usage.total_tokens": 231,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "802359853ea6c128",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a371c6f940fdf1c9",
    "trace_id": "cc4462e28ffb443890c5ec11c86e6107",
    "parent_span_id": "802359853ea6c128",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175889.594105,
    "timestamp": 1779175897.0824,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140647358233472",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "{\"content\": \"Do you mean:\\n- Paris city proper (the municipality): about 2.1 million people (roughly 2020\\u20132023 estimates).\\n- Paris metropolitan area (the larger urban area): about 12 million people.\\n\\nIf you tell me which definition you want, I can give a more precise figure and the exact year.\", \"refusal\": \"None\", \"role\": \"assistant\", \"annotations\": [], \"audio\": \"None\", \"function_call\": \"None\", \"tool_calls\": \"None\"}",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 1485,
      "gen_ai.usage.output_tokens.reasoning": 1408,
      "gen_ai.usage.total_tokens": 1533,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "802359853ea6c128",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a87d9c02580c55bf",
    "trace_id": "cc4462e28ffb443890c5ec11c86e6107",
    "parent_span_id": "802359853ea6c128",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175897.082494,
    "timestamp": 1779175904.670375,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140647358233472",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}, {\"role\": \"assistant\", \"content\": \"Paris has a population of approximately 2.2 million people in the city proper.\"}, {\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "{\"content\": \"The Paris metropolitan area has about 12 million inhabitants. \\n\\nFor context:\\n- \\u00cele-de-France region (the broad metro area around Paris): roughly 12.2 million people.\\n- Paris urban area (aire urbaine): typically around 12.0\\u201312.5 million, depending on the year and exact definition.\\n\\nIf you want a precise figure, tell me which definition you\\u2019d like (\\u00cele-de-France region vs. Paris urban area) and the year.\", \"refusal\": \"None\", \"role\": \"assistant\", \"annotations\": [], \"audio\": \"None\", \"function_call\": \"None\", \"tool_calls\": \"None\"}",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 1515,
      "gen_ai.usage.output_tokens.reasoning": 1408,
      "gen_ai.usage.total_tokens": 1596,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "802359853ea6c128",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Multi-Turn LLM Test (async, blocking, responses)❗︎ 123646ms
checkAISpanCount(3)
checkChatSpanAttributes
bdf38763gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bdf38763gen_ai.output.messagesMissing output messages attribute
a6265bebgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a6265bebgen_ai.output.messagesMissing output messages attribute
8d8cc9cegen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8d8cc9cegen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
checkInputTokensCached(No AI spans with input_tokens.cached attribute)
checkOutputTokensReasoning
Deprecated Attributes
gen_ai.request.messages(3 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(3 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (11)
[
  {
    "trace_id": "2160b90478ca42db9229a9ed689ec587",
    "span_id": "af55624f7502c0d8",
    "parent_span_id": "bdf3876381adf52e",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:28.948226Z",
    "timestamp": "2026-05-19T07:31:28.952111Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21945
    },
    "data": {
      "thread.id": "140709369738944",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "2160b90478ca42db9229a9ed689ec587",
    "span_id": "bc189cd6430a03ef",
    "parent_span_id": "bdf3876381adf52e",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:28.952214Z",
    "timestamp": "2026-05-19T07:31:28.952356Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21945
    },
    "data": {
      "thread.id": "140709369738944",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "2160b90478ca42db9229a9ed689ec587",
    "span_id": "99a0ff97482b004f",
    "parent_span_id": "bc189cd6430a03ef",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:28.952314Z",
    "timestamp": "2026-05-19T07:31:28.952348Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21945
    },
    "data": {
      "thread.id": "140709369738944",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "2160b90478ca42db9229a9ed689ec587",
    "span_id": "a4ab5009c86e0a62",
    "parent_span_id": "bdf3876381adf52e",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:28.952385Z",
    "timestamp": "2026-05-19T07:31:28.952395Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 21945
    },
    "data": {
      "thread.id": "140709369738944",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "2160b90478ca42db9229a9ed689ec587",
    "span_id": "b15f2d52cfb3cf75",
    "parent_span_id": "bdf3876381adf52e",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:28.954107Z",
    "timestamp": "2026-05-19T07:31:30.660599Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140709523499904",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 26,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking-responses.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "2160b90478ca42db9229a9ed689ec587",
    "span_id": "942e1e1162c6cf0e",
    "parent_span_id": "a6265bebd36310cf",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:30.722141Z",
    "timestamp": "2026-05-19T07:31:41.017489Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140709523499904",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 40,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking-responses.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "2160b90478ca42db9229a9ed689ec587",
    "span_id": "ba16da649250acce",
    "parent_span_id": "8d8cc9cea0353f72",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:41.021476Z",
    "timestamp": "2026-05-19T07:31:49.516646Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140709523499904",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 62,
      "code.namespace": "__main__",
      "code.filepath": "test-multi-turn-llm-test-async-blocking-responses.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "8f4d47bb5db90680",
    "trace_id": "2160b90478ca42db9229a9ed689ec587",
    "parent_span_id": null,
    "op": "test",
    "description": "Multi-Turn LLM Test",
    "start_timestamp": "2026-05-19T07:31:28.937344Z",
    "timestamp": "2026-05-19T07:31:49.518740Z",
    "data": {
      "thread.id": "140709523499904",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "bdf3876381adf52e",
    "trace_id": "2160b90478ca42db9229a9ed689ec587",
    "parent_span_id": "8f4d47bb5db90680",
    "op": "gen_ai.responses",
    "description": "responses gpt-5-nano",
    "start_timestamp": 1779175888.938698,
    "timestamp": 1779175890.720373,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140709523499904",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "Paris.",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 221,
      "gen_ai.usage.output_tokens.reasoning": 192,
      "gen_ai.usage.total_tokens": 244,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "8f4d47bb5db90680",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a6265bebd36310cf",
    "trace_id": "2160b90478ca42db9229a9ed689ec587",
    "parent_span_id": "8f4d47bb5db90680",
    "op": "gen_ai.responses",
    "description": "responses gpt-5-nano",
    "start_timestamp": 1779175890.720479,
    "timestamp": 1779175901.018596,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140709523499904",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "Do you mean:\n- Paris city proper (the commune): about 2.16 million people (2020 data).\n- The Paris metropolitan/urban area: around 12 million.\n- The Île-de-France region (Greater Paris): roughly 12–13 million.\n\nIf you specify which definition you want, I can give the latest exact figure.",
      "gen_ai.usage.input_tokens": 48,
      "gen_ai.usage.output_tokens": 1543,
      "gen_ai.usage.output_tokens.reasoning": 1408,
      "gen_ai.usage.total_tokens": 1591,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "8f4d47bb5db90680",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8d8cc9cea0353f72",
    "trace_id": "2160b90478ca42db9229a9ed689ec587",
    "parent_span_id": "8f4d47bb5db90680",
    "op": "gen_ai.responses",
    "description": "responses gpt-5-nano",
    "start_timestamp": 1779175901.018704,
    "timestamp": 1779175909.517665,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140709523499904",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What is the population of that city?\"}, {\"role\": \"assistant\", \"content\": \"Paris has a population of approximately 2.2 million people in the city proper.\"}, {\"role\": \"user\", \"content\": \"What about the metropolitan area?\"}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "If you mean the Paris urban area (the “aire urbaine” of Paris), it has roughly 12 million inhabitants. If you meant the wider Île-de-France region, that’s about 12–13 million. The city itself is ~2.2 million. If you want a precise figure for a specific year or definition, tell me which one you have in mind.",
      "gen_ai.usage.input_tokens": 81,
      "gen_ai.usage.output_tokens": 1522,
      "gen_ai.usage.output_tokens.reasoning": 1408,
      "gen_ai.usage.total_tokens": 1603,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Multi-Turn LLM Test",
      "sentry.segment.id": "8f4d47bb5db90680",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Vision LLM Test (sync, streaming, chat)❗︎ 1 12018ms
checkChatSpanAttributes
96441496gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
96441496gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage(Not supported by this framework)
checkInputMessagesSchema
checkBinaryRedaction
96441496gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
96441496gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "f7426beaa6044d8084f93bc6ade8a4b0",
    "span_id": "838542af9caf161c",
    "parent_span_id": "96441496970d6c00",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:35.068639Z",
    "timestamp": "2026-05-19T07:31:35.069718Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22005
    },
    "data": {
      "thread.id": "140373809441664",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "f7426beaa6044d8084f93bc6ade8a4b0",
    "span_id": "9c919081279453fd",
    "parent_span_id": "96441496970d6c00",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:35.069798Z",
    "timestamp": "2026-05-19T07:31:35.070607Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22005
    },
    "data": {
      "thread.id": "140373809441664",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "f7426beaa6044d8084f93bc6ade8a4b0",
    "span_id": "90b961ee502c90e3",
    "parent_span_id": "9c919081279453fd",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:35.070514Z",
    "timestamp": "2026-05-19T07:31:35.070596Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22005
    },
    "data": {
      "thread.id": "140373809441664",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "f7426beaa6044d8084f93bc6ade8a4b0",
    "span_id": "92bbff537416aaaa",
    "parent_span_id": "96441496970d6c00",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:35.070639Z",
    "timestamp": "2026-05-19T07:31:35.070651Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22005
    },
    "data": {
      "thread.id": "140373809441664",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "f7426beaa6044d8084f93bc6ade8a4b0",
    "span_id": "8e47712724fbf153",
    "parent_span_id": "96441496970d6c00",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:35.071602Z",
    "timestamp": "2026-05-19T07:31:35.513074Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140373809441664",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 25,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-sync-streaming-chat.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "857d354f1707bcd0",
    "trace_id": "f7426beaa6044d8084f93bc6ade8a4b0",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:31:35.064588Z",
    "timestamp": "2026-05-19T07:31:35.546626Z",
    "data": {
      "thread.id": "140373809441664",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "96441496970d6c00",
    "trace_id": "f7426beaa6044d8084f93bc6ade8a4b0",
    "parent_span_id": "857d354f1707bcd0",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175895.065369,
    "timestamp": 1779175895.546591,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140373809441664",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"image_url\", \"image_url\": {\"url\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}}]}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.time_to_first_token": 0.47616566800002147,
      "gen_ai.response.text": "Red",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 8538,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "857d354f1707bcd0",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Vision LLM Test (sync, streaming, responses)❗︎ 1 12444ms
checkChatSpanAttributes
8bc36348gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8bc36348gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage(Not supported by this framework)
checkInputMessagesSchema
checkBinaryRedaction
8bc36348gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
8bc36348gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "6371907cef1c44ddb3d070dee5b7b934",
    "span_id": "ae6925da24ab39db",
    "parent_span_id": "8bc3634833a48d73",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:36.426857Z",
    "timestamp": "2026-05-19T07:31:36.428988Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22018
    },
    "data": {
      "thread.id": "140347660880768",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "6371907cef1c44ddb3d070dee5b7b934",
    "span_id": "ba55c99e129eb587",
    "parent_span_id": "8bc3634833a48d73",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:36.429073Z",
    "timestamp": "2026-05-19T07:31:36.429600Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22018
    },
    "data": {
      "thread.id": "140347660880768",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "6371907cef1c44ddb3d070dee5b7b934",
    "span_id": "9f65163074711431",
    "parent_span_id": "ba55c99e129eb587",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:36.429387Z",
    "timestamp": "2026-05-19T07:31:36.429589Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22018
    },
    "data": {
      "thread.id": "140347660880768",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "6371907cef1c44ddb3d070dee5b7b934",
    "span_id": "92c3e8866d655bd8",
    "parent_span_id": "8bc3634833a48d73",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:36.429638Z",
    "timestamp": "2026-05-19T07:31:36.429652Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22018
    },
    "data": {
      "thread.id": "140347660880768",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "6371907cef1c44ddb3d070dee5b7b934",
    "span_id": "97b8d0ecb159b979",
    "parent_span_id": "8bc3634833a48d73",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:36.430865Z",
    "timestamp": "2026-05-19T07:31:36.584668Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140347660880768",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 25,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-sync-streaming-responses.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "9432e19ad03c4675",
    "trace_id": "6371907cef1c44ddb3d070dee5b7b934",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:31:36.419047Z",
    "timestamp": "2026-05-19T07:31:37.272873Z",
    "data": {
      "thread.id": "140347660880768",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "8bc3634833a48d73",
    "trace_id": "6371907cef1c44ddb3d070dee5b7b934",
    "parent_span_id": "9432e19ad03c4675",
    "op": "gen_ai.responses",
    "description": "responses gpt-4o-mini",
    "start_timestamp": 1779175896.419859,
    "timestamp": 1779175897.272811,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140347660880768",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"input_text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"input_image\", \"image_url\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}]}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 2,
      "gen_ai.usage.total_tokens": 8539,
      "gen_ai.response.time_to_first_token": 0.6367322359999434,
      "gen_ai.response.text": "Red",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "9432e19ad03c4675",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Vision LLM Test (sync, blocking, chat)❗︎ 1 12102ms
checkChatSpanAttributes
bba01518gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bba01518gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage(Not supported by this framework)
checkInputMessagesSchema
checkBinaryRedaction
bba01518gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
bba01518gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "377cdda60b3345e48eb77075ac0c6ade",
    "span_id": "8bdbf302686957eb",
    "parent_span_id": "bba01518c4888625",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:36.570921Z",
    "timestamp": "2026-05-19T07:31:36.571934Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22020
    },
    "data": {
      "thread.id": "140177205865344",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "377cdda60b3345e48eb77075ac0c6ade",
    "span_id": "957eff4c62af6693",
    "parent_span_id": "bba01518c4888625",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:36.572005Z",
    "timestamp": "2026-05-19T07:31:36.572785Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22020
    },
    "data": {
      "thread.id": "140177205865344",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "377cdda60b3345e48eb77075ac0c6ade",
    "span_id": "af2df2ecac6b7d32",
    "parent_span_id": "957eff4c62af6693",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:36.572691Z",
    "timestamp": "2026-05-19T07:31:36.572776Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22020
    },
    "data": {
      "thread.id": "140177205865344",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "377cdda60b3345e48eb77075ac0c6ade",
    "span_id": "ab856c70dfba0e85",
    "parent_span_id": "bba01518c4888625",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:36.572817Z",
    "timestamp": "2026-05-19T07:31:36.572829Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22020
    },
    "data": {
      "thread.id": "140177205865344",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "377cdda60b3345e48eb77075ac0c6ade",
    "span_id": "947bccc344ed6906",
    "parent_span_id": "bba01518c4888625",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:36.573729Z",
    "timestamp": "2026-05-19T07:31:37.091989Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140177205865344",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 25,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-sync-blocking-chat.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "b433f95608badf4d",
    "trace_id": "377cdda60b3345e48eb77075ac0c6ade",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:31:36.567137Z",
    "timestamp": "2026-05-19T07:31:37.101843Z",
    "data": {
      "thread.id": "140177205865344",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "bba01518c4888625",
    "trace_id": "377cdda60b3345e48eb77075ac0c6ade",
    "parent_span_id": "b433f95608badf4d",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175896.567791,
    "timestamp": 1779175897.101792,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140177205865344",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"image_url\", \"image_url\": {\"url\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}}]}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.text": "{\"content\": \"Red\", \"refusal\": \"None\", \"role\": \"assistant\", \"annotations\": [], \"audio\": \"None\", \"function_call\": \"None\", \"tool_calls\": \"None\"}",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 8538,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "b433f95608badf4d",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Vision LLM Test (sync, blocking, responses)❗︎ 1 13053ms
checkChatSpanAttributes
8411353bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8411353bgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage(Not supported by this framework)
checkInputMessagesSchema
checkBinaryRedaction
8411353bgen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
8411353bgen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "08de458064004f3ab0368d4067768560",
    "span_id": "abf835c894a925bc",
    "parent_span_id": "8411353bfc162114",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:37.130160Z",
    "timestamp": "2026-05-19T07:31:37.131251Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22026
    },
    "data": {
      "thread.id": "140090278656896",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "08de458064004f3ab0368d4067768560",
    "span_id": "b6a20b97acde11ee",
    "parent_span_id": "8411353bfc162114",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:37.131333Z",
    "timestamp": "2026-05-19T07:31:37.132139Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22026
    },
    "data": {
      "thread.id": "140090278656896",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "08de458064004f3ab0368d4067768560",
    "span_id": "b40f83c432281442",
    "parent_span_id": "b6a20b97acde11ee",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:37.132043Z",
    "timestamp": "2026-05-19T07:31:37.132129Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22026
    },
    "data": {
      "thread.id": "140090278656896",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "08de458064004f3ab0368d4067768560",
    "span_id": "af4ca56a6f2a8c15",
    "parent_span_id": "8411353bfc162114",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:37.132172Z",
    "timestamp": "2026-05-19T07:31:37.132184Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22026
    },
    "data": {
      "thread.id": "140090278656896",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "08de458064004f3ab0368d4067768560",
    "span_id": "a5f52419604d4d76",
    "parent_span_id": "8411353bfc162114",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:37.133167Z",
    "timestamp": "2026-05-19T07:31:38.595765Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140090278656896",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 25,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-sync-blocking-responses.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "b914eb9aa219d356",
    "trace_id": "08de458064004f3ab0368d4067768560",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:31:37.124316Z",
    "timestamp": "2026-05-19T07:31:38.654142Z",
    "data": {
      "thread.id": "140090278656896",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "8411353bfc162114",
    "trace_id": "08de458064004f3ab0368d4067768560",
    "parent_span_id": "b914eb9aa219d356",
    "op": "gen_ai.responses",
    "description": "responses gpt-4o-mini",
    "start_timestamp": 1779175897.125074,
    "timestamp": 1779175898.654092,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140090278656896",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"input_text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"input_image\", \"image_url\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}]}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.text": "Red",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 2,
      "gen_ai.usage.total_tokens": 8539,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "b914eb9aa219d356",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Vision LLM Test (async, streaming, chat)❗︎ 1 12535ms
checkChatSpanAttributes
ac2c24c2gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ac2c24c2gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage(Not supported by this framework)
checkInputMessagesSchema
checkBinaryRedaction
ac2c24c2gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
ac2c24c2gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "d128c8f660e647ccaaa0d3c41b6cbeb4",
    "span_id": "ae3cab13788bb6bb",
    "parent_span_id": "ac2c24c276fa2380",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:37.832024Z",
    "timestamp": "2026-05-19T07:31:37.833209Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22033
    },
    "data": {
      "thread.id": "139692536612544",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "d128c8f660e647ccaaa0d3c41b6cbeb4",
    "span_id": "8cc8694e797d88c4",
    "parent_span_id": "ac2c24c276fa2380",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:37.833287Z",
    "timestamp": "2026-05-19T07:31:37.834075Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22033
    },
    "data": {
      "thread.id": "139692536612544",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "d128c8f660e647ccaaa0d3c41b6cbeb4",
    "span_id": "9d9c47a1e09419b5",
    "parent_span_id": "8cc8694e797d88c4",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:37.834029Z",
    "timestamp": "2026-05-19T07:31:37.834064Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22033
    },
    "data": {
      "thread.id": "139692536612544",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "d128c8f660e647ccaaa0d3c41b6cbeb4",
    "span_id": "a0f63a7df74fd7b1",
    "parent_span_id": "ac2c24c276fa2380",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:37.834110Z",
    "timestamp": "2026-05-19T07:31:37.834122Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22033
    },
    "data": {
      "thread.id": "139692536612544",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "d128c8f660e647ccaaa0d3c41b6cbeb4",
    "span_id": "b170a0c7c07d6174",
    "parent_span_id": "ac2c24c276fa2380",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:37.835469Z",
    "timestamp": "2026-05-19T07:31:38.843795Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139692614671232",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 26,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-async-streaming-chat.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "87114dcf4809379c",
    "trace_id": "d128c8f660e647ccaaa0d3c41b6cbeb4",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:31:37.827013Z",
    "timestamp": "2026-05-19T07:31:38.879686Z",
    "data": {
      "thread.id": "139692614671232",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "ac2c24c276fa2380",
    "trace_id": "d128c8f660e647ccaaa0d3c41b6cbeb4",
    "parent_span_id": "87114dcf4809379c",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175897.827992,
    "timestamp": 1779175898.878587,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "139692614671232",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"image_url\", \"image_url\": {\"url\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}}]}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.time_to_first_token": 1.0462454999999409,
      "gen_ai.response.text": "Red",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 8538,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "87114dcf4809379c",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Vision LLM Test (async, streaming, responses)❗︎ 1 13457ms
checkChatSpanAttributes
a96e68eagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a96e68eagen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage(Not supported by this framework)
checkInputMessagesSchema
checkBinaryRedaction
a96e68eagen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
a96e68eagen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "fdf93b73bd1045c0b8a8440921ef07a1",
    "span_id": "bdc0f9870d65a1d0",
    "parent_span_id": "a96e68ea20f0b336",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:38.575154Z",
    "timestamp": "2026-05-19T07:31:38.576271Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22040
    },
    "data": {
      "thread.id": "140625416550080",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "fdf93b73bd1045c0b8a8440921ef07a1",
    "span_id": "a8d2adddf6d16051",
    "parent_span_id": "a96e68ea20f0b336",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:38.576346Z",
    "timestamp": "2026-05-19T07:31:38.577141Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22040
    },
    "data": {
      "thread.id": "140625416550080",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "fdf93b73bd1045c0b8a8440921ef07a1",
    "span_id": "8d301d518dadf003",
    "parent_span_id": "a8d2adddf6d16051",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:38.577046Z",
    "timestamp": "2026-05-19T07:31:38.577132Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22040
    },
    "data": {
      "thread.id": "140625416550080",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "fdf93b73bd1045c0b8a8440921ef07a1",
    "span_id": "9eb110646455865b",
    "parent_span_id": "a96e68ea20f0b336",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:38.577173Z",
    "timestamp": "2026-05-19T07:31:38.577185Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22040
    },
    "data": {
      "thread.id": "140625416550080",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "fdf93b73bd1045c0b8a8440921ef07a1",
    "span_id": "a5faecbc9e285deb",
    "parent_span_id": "a96e68ea20f0b336",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:38.578326Z",
    "timestamp": "2026-05-19T07:31:38.747097Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140625568361344",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 26,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-async-streaming-responses.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "aa9e4183b7f2c3b2",
    "trace_id": "fdf93b73bd1045c0b8a8440921ef07a1",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:31:38.568793Z",
    "timestamp": "2026-05-19T07:31:40.471703Z",
    "data": {
      "thread.id": "140625568361344",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "a96e68ea20f0b336",
    "trace_id": "fdf93b73bd1045c0b8a8440921ef07a1",
    "parent_span_id": "aa9e4183b7f2c3b2",
    "op": "gen_ai.responses",
    "description": "responses gpt-4o-mini",
    "start_timestamp": 1779175898.569731,
    "timestamp": 1779175900.470845,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140625568361344",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"input_text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"input_image\", \"image_url\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}]}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 2,
      "gen_ai.usage.total_tokens": 8539,
      "gen_ai.response.time_to_first_token": 1.7624821279999878,
      "gen_ai.response.text": "Red",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "aa9e4183b7f2c3b2",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Vision LLM Test (async, blocking, chat)❗︎ 1 11999ms
checkChatSpanAttributes
be9ca5f9gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
be9ca5f9gen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage(Not supported by this framework)
checkInputMessagesSchema
checkBinaryRedaction
be9ca5f9gen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
be9ca5f9gen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "759e79c85f384cbfb303da04c21b5df7",
    "span_id": "912515ee84d018bf",
    "parent_span_id": "be9ca5f99ff59167",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:38.824032Z",
    "timestamp": "2026-05-19T07:31:38.825171Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22044
    },
    "data": {
      "thread.id": "140218263918272",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "759e79c85f384cbfb303da04c21b5df7",
    "span_id": "ae9d6453e7b2a131",
    "parent_span_id": "be9ca5f99ff59167",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:38.825248Z",
    "timestamp": "2026-05-19T07:31:38.826106Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22044
    },
    "data": {
      "thread.id": "140218263918272",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "759e79c85f384cbfb303da04c21b5df7",
    "span_id": "88fb697cf1916644",
    "parent_span_id": "ae9d6453e7b2a131",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:38.826014Z",
    "timestamp": "2026-05-19T07:31:38.826096Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22044
    },
    "data": {
      "thread.id": "140218263918272",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "759e79c85f384cbfb303da04c21b5df7",
    "span_id": "a51ed1ec44b9d068",
    "parent_span_id": "be9ca5f99ff59167",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:38.826143Z",
    "timestamp": "2026-05-19T07:31:38.826157Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22044
    },
    "data": {
      "thread.id": "140218263918272",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "759e79c85f384cbfb303da04c21b5df7",
    "span_id": "93fc4ba4d6b4b1db",
    "parent_span_id": "be9ca5f99ff59167",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:38.827555Z",
    "timestamp": "2026-05-19T07:31:39.331791Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140218341940096",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 26,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-async-blocking-chat.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "96831362fcea7174",
    "trace_id": "759e79c85f384cbfb303da04c21b5df7",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:31:38.817336Z",
    "timestamp": "2026-05-19T07:31:39.338466Z",
    "data": {
      "thread.id": "140218341940096",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "be9ca5f99ff59167",
    "trace_id": "759e79c85f384cbfb303da04c21b5df7",
    "parent_span_id": "96831362fcea7174",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175898.818562,
    "timestamp": 1779175899.337607,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140218341940096",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"image_url\", \"image_url\": {\"url\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}}]}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.text": "{\"content\": \"Red\", \"refusal\": \"None\", \"role\": \"assistant\", \"annotations\": [], \"audio\": \"None\", \"function_call\": \"None\", \"tool_calls\": \"None\"}",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 1,
      "gen_ai.usage.total_tokens": 8538,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "96831362fcea7174",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Vision LLM Test (async, blocking, responses)❗︎ 1 12420ms
checkChatSpanAttributes
b8f07febgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b8f07febgen_ai.output.messagesMissing output messages attribute
checkValidTokenUsage(Not supported by this framework)
checkInputMessagesSchema
checkBinaryRedaction
b8f07febgen_ai.request.messagesMessages should not contain raw base64 data (should be redacted)
b8f07febgen_ai.request.messagesMessages should contain '[Blob substitute]' marker indicating binary content was redacted
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "e3400c8806de4dd9bbd3f168c1e73564",
    "span_id": "af8d0558810d4026",
    "parent_span_id": "b8f07feb3a92b09a",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:40.103923Z",
    "timestamp": "2026-05-19T07:31:40.105025Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22059
    },
    "data": {
      "thread.id": "139996472276672",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "e3400c8806de4dd9bbd3f168c1e73564",
    "span_id": "8d9e12e88cf6d1b1",
    "parent_span_id": "b8f07feb3a92b09a",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:40.105107Z",
    "timestamp": "2026-05-19T07:31:40.105836Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22059
    },
    "data": {
      "thread.id": "139996472276672",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "e3400c8806de4dd9bbd3f168c1e73564",
    "span_id": "80d8205b9a2e9cad",
    "parent_span_id": "8d9e12e88cf6d1b1",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:40.105743Z",
    "timestamp": "2026-05-19T07:31:40.105826Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22059
    },
    "data": {
      "thread.id": "139996472276672",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "e3400c8806de4dd9bbd3f168c1e73564",
    "span_id": "8fea23176cc80251",
    "parent_span_id": "b8f07feb3a92b09a",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:40.105883Z",
    "timestamp": "2026-05-19T07:31:40.105897Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22059
    },
    "data": {
      "thread.id": "139996472276672",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "e3400c8806de4dd9bbd3f168c1e73564",
    "span_id": "8593e4ded578ec42",
    "parent_span_id": "b8f07feb3a92b09a",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:40.107060Z",
    "timestamp": "2026-05-19T07:31:40.985631Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139996620581760",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 26,
      "code.namespace": "__main__",
      "code.filepath": "test-vision-llm-test-async-blocking-responses.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "bdd776056aad18a9",
    "trace_id": "e3400c8806de4dd9bbd3f168c1e73564",
    "parent_span_id": null,
    "op": "test",
    "description": "Vision LLM Test",
    "start_timestamp": "2026-05-19T07:31:40.097592Z",
    "timestamp": "2026-05-19T07:31:41.044487Z",
    "data": {
      "thread.id": "139996620581760",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b8f07feb3a92b09a",
    "trace_id": "e3400c8806de4dd9bbd3f168c1e73564",
    "parent_span_id": "bdd776056aad18a9",
    "op": "gen_ai.responses",
    "description": "responses gpt-4o-mini",
    "start_timestamp": 1779175900.098514,
    "timestamp": 1779175901.043476,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "139996620581760",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant that can analyze images. Be concise.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": [{\"type\": \"input_text\", \"text\": \"What color is this image? Reply with just the color name.\"}, {\"type\": \"input_image\", \"image_url\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC\"}]}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.text": "Red",
      "gen_ai.usage.input_tokens": 8537,
      "gen_ai.usage.output_tokens": 2,
      "gen_ai.usage.total_tokens": 8539,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Vision LLM Test",
      "sentry.segment.id": "bdd776056aad18a9",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Long Input LLM Test (sync, streaming, chat)❗︎ 13780ms
checkChatSpanAttributes
ad85fb7agen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ad85fb7agen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "8f95b36acffa4ad4959f89334a2dd3d4",
    "span_id": "aa3e5fc0352a9267",
    "parent_span_id": "ad85fb7a5c1e377d",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:40.385321Z",
    "timestamp": "2026-05-19T07:31:40.386335Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22061
    },
    "data": {
      "thread.id": "140497716149120",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "8f95b36acffa4ad4959f89334a2dd3d4",
    "span_id": "9a886d97a2c9c695",
    "parent_span_id": "ad85fb7a5c1e377d",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:40.386407Z",
    "timestamp": "2026-05-19T07:31:40.387217Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22061
    },
    "data": {
      "thread.id": "140497716149120",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "8f95b36acffa4ad4959f89334a2dd3d4",
    "span_id": "bace75f8e6839c77",
    "parent_span_id": "9a886d97a2c9c695",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:40.387118Z",
    "timestamp": "2026-05-19T07:31:40.387207Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22061
    },
    "data": {
      "thread.id": "140497716149120",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "8f95b36acffa4ad4959f89334a2dd3d4",
    "span_id": "994a774e351b094b",
    "parent_span_id": "ad85fb7a5c1e377d",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:40.387248Z",
    "timestamp": "2026-05-19T07:31:40.387260Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22061
    },
    "data": {
      "thread.id": "140497716149120",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "8f95b36acffa4ad4959f89334a2dd3d4",
    "span_id": "8f00710016a3eb64",
    "parent_span_id": "ad85fb7a5c1e377d",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:40.388312Z",
    "timestamp": "2026-05-19T07:31:42.349552Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140497716149120",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 25,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-sync-streaming-chat.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "97a5e6db49d5bae7",
    "trace_id": "8f95b36acffa4ad4959f89334a2dd3d4",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:31:40.381939Z",
    "timestamp": "2026-05-19T07:31:42.590080Z",
    "data": {
      "thread.id": "140497716149120",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "ad85fb7a5c1e377d",
    "trace_id": "8f95b36acffa4ad4959f89334a2dd3d4",
    "parent_span_id": "97a5e6db49d5bae7",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175900.382633,
    "timestamp": 1779175902.590024,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140497716149120",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.time_to_first_token": 1.9875316969998948,
      "gen_ai.response.text": "A repetitive test message is being sent multiple times to generate a lengthy input.",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.input_tokens.cached": 5376,
      "gen_ai.usage.output_tokens": 15,
      "gen_ai.usage.total_tokens": 5444,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "97a5e6db49d5bae7",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Long Input LLM Test (sync, streaming, responses)❗︎ 13226ms
checkChatSpanAttributes
84cad7bbgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
84cad7bbgen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "681ef6541bb54e19aaeada4e3c225b32",
    "span_id": "84c564b527da15db",
    "parent_span_id": "84cad7bbda3bca0b",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:40.873276Z",
    "timestamp": "2026-05-19T07:31:40.874325Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22066
    },
    "data": {
      "thread.id": "140673165560704",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "681ef6541bb54e19aaeada4e3c225b32",
    "span_id": "914babf4eaec0b50",
    "parent_span_id": "84cad7bbda3bca0b",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:40.874390Z",
    "timestamp": "2026-05-19T07:31:40.875114Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22066
    },
    "data": {
      "thread.id": "140673165560704",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "681ef6541bb54e19aaeada4e3c225b32",
    "span_id": "bb8cac9ffd206576",
    "parent_span_id": "914babf4eaec0b50",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:40.875026Z",
    "timestamp": "2026-05-19T07:31:40.875105Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22066
    },
    "data": {
      "thread.id": "140673165560704",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "681ef6541bb54e19aaeada4e3c225b32",
    "span_id": "8c5a4e0c53f60146",
    "parent_span_id": "84cad7bbda3bca0b",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:40.875139Z",
    "timestamp": "2026-05-19T07:31:40.875149Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22066
    },
    "data": {
      "thread.id": "140673165560704",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "681ef6541bb54e19aaeada4e3c225b32",
    "span_id": "9bb02dd7f5d68899",
    "parent_span_id": "84cad7bbda3bca0b",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:40.876250Z",
    "timestamp": "2026-05-19T07:31:41.017911Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140673165560704",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 25,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-sync-streaming-responses.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "9ecd859879f5586c",
    "trace_id": "681ef6541bb54e19aaeada4e3c225b32",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:31:40.868158Z",
    "timestamp": "2026-05-19T07:31:42.373097Z",
    "data": {
      "thread.id": "140673165560704",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "84cad7bbda3bca0b",
    "trace_id": "681ef6541bb54e19aaeada4e3c225b32",
    "parent_span_id": "9ecd859879f5586c",
    "op": "gen_ai.responses",
    "description": "responses gpt-4o-mini",
    "start_timestamp": 1779175900.868935,
    "timestamp": 1779175902.373034,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140673165560704",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.input_tokens.cached": 5248,
      "gen_ai.usage.output_tokens": 17,
      "gen_ai.usage.total_tokens": 5446,
      "gen_ai.response.time_to_first_token": 1.0399199449999514,
      "gen_ai.response.text": "The repeated test message emphasizes its use to generate a lengthy input for testing purposes.",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "9ecd859879f5586c",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Long Input LLM Test (sync, blocking, chat)❗︎ 13051ms
checkChatSpanAttributes
8b2663dcgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8b2663dcgen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "b94111fda2cd47bf808f11ae35d8719a",
    "span_id": "b99e694760616097",
    "parent_span_id": "8b2663dcb2723d6e",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:42.066073Z",
    "timestamp": "2026-05-19T07:31:42.067487Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22078
    },
    "data": {
      "thread.id": "140283632774016",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "b94111fda2cd47bf808f11ae35d8719a",
    "span_id": "8e05479fc4efbc1d",
    "parent_span_id": "8b2663dcb2723d6e",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:42.067567Z",
    "timestamp": "2026-05-19T07:31:42.068577Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22078
    },
    "data": {
      "thread.id": "140283632774016",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "b94111fda2cd47bf808f11ae35d8719a",
    "span_id": "bdd7f1e160885535",
    "parent_span_id": "8e05479fc4efbc1d",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:42.068466Z",
    "timestamp": "2026-05-19T07:31:42.068565Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22078
    },
    "data": {
      "thread.id": "140283632774016",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "b94111fda2cd47bf808f11ae35d8719a",
    "span_id": "8f5aeab0d70efdd9",
    "parent_span_id": "8b2663dcb2723d6e",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:42.068619Z",
    "timestamp": "2026-05-19T07:31:42.068635Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22078
    },
    "data": {
      "thread.id": "140283632774016",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "b94111fda2cd47bf808f11ae35d8719a",
    "span_id": "931e2b070ca815ee",
    "parent_span_id": "8b2663dcb2723d6e",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:42.070392Z",
    "timestamp": "2026-05-19T07:31:43.516303Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140283632774016",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 25,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-sync-blocking-chat.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "a50f4ca529f9a7c0",
    "trace_id": "b94111fda2cd47bf808f11ae35d8719a",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:31:42.060975Z",
    "timestamp": "2026-05-19T07:31:43.526843Z",
    "data": {
      "thread.id": "140283632774016",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "8b2663dcb2723d6e",
    "trace_id": "b94111fda2cd47bf808f11ae35d8719a",
    "parent_span_id": "a50f4ca529f9a7c0",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175902.061886,
    "timestamp": 1779175903.526789,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140283632774016",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.text": "{\"content\": \"This text consists of a repetitive test message designed to generate a lengthy input.\", \"refusal\": \"None\", \"role\": \"assistant\", \"annotations\": [], \"audio\": \"None\", \"function_call\": \"None\", \"tool_calls\": \"None\"}",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.input_tokens.cached": 5376,
      "gen_ai.usage.output_tokens": 15,
      "gen_ai.usage.total_tokens": 5444,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "a50f4ca529f9a7c0",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Long Input LLM Test (sync, blocking, responses)❗︎ 13045ms
checkChatSpanAttributes
aeebf858gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
aeebf858gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "15c608f6d69d435bb0733011efb89bcd",
    "span_id": "9f8b6b9665e46aa7",
    "parent_span_id": "aeebf8585f43742c",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:42.616484Z",
    "timestamp": "2026-05-19T07:31:42.619564Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22084
    },
    "data": {
      "thread.id": "139737481497472",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "15c608f6d69d435bb0733011efb89bcd",
    "span_id": "a9c369a299433a23",
    "parent_span_id": "aeebf8585f43742c",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:42.619683Z",
    "timestamp": "2026-05-19T07:31:42.619821Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22084
    },
    "data": {
      "thread.id": "139737481497472",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "15c608f6d69d435bb0733011efb89bcd",
    "span_id": "9aaae1a37dccd6d0",
    "parent_span_id": "a9c369a299433a23",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:42.619781Z",
    "timestamp": "2026-05-19T07:31:42.619814Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22084
    },
    "data": {
      "thread.id": "139737481497472",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "15c608f6d69d435bb0733011efb89bcd",
    "span_id": "b7aced653c27ed6e",
    "parent_span_id": "aeebf8585f43742c",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:42.619849Z",
    "timestamp": "2026-05-19T07:31:42.619859Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22084
    },
    "data": {
      "thread.id": "139737481497472",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "15c608f6d69d435bb0733011efb89bcd",
    "span_id": "a013bacf722a77a5",
    "parent_span_id": "aeebf8585f43742c",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:42.621321Z",
    "timestamp": "2026-05-19T07:31:44.032771Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139737481497472",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 25,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-sync-blocking-responses.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "89471aa70d46df96",
    "trace_id": "15c608f6d69d435bb0733011efb89bcd",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:31:42.609796Z",
    "timestamp": "2026-05-19T07:31:44.127226Z",
    "data": {
      "thread.id": "139737481497472",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "aeebf8585f43742c",
    "trace_id": "15c608f6d69d435bb0733011efb89bcd",
    "parent_span_id": "89471aa70d46df96",
    "op": "gen_ai.responses",
    "description": "responses gpt-4o-mini",
    "start_timestamp": 1779175902.610671,
    "timestamp": 1779175904.127175,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "139737481497472",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.text": "The text repeats a test message multiple times to generate a long input.",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.output_tokens": 15,
      "gen_ai.usage.total_tokens": 5444,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "89471aa70d46df96",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Long Input LLM Test (async, streaming, chat)❗︎ 13113ms
checkChatSpanAttributes
8c9b9e3bgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8c9b9e3bgen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "5153d8c3463c4a70bfcdc8170efdbae4",
    "span_id": "bf757991f8003ea4",
    "parent_span_id": "8c9b9e3b97c01e47",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:42.882677Z",
    "timestamp": "2026-05-19T07:31:42.883756Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22087
    },
    "data": {
      "thread.id": "139915912271552",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "5153d8c3463c4a70bfcdc8170efdbae4",
    "span_id": "ba57f02d8f901d36",
    "parent_span_id": "8c9b9e3b97c01e47",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:42.883814Z",
    "timestamp": "2026-05-19T07:31:42.884565Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22087
    },
    "data": {
      "thread.id": "139915912271552",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "5153d8c3463c4a70bfcdc8170efdbae4",
    "span_id": "b49235e402cbba6f",
    "parent_span_id": "ba57f02d8f901d36",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:42.884479Z",
    "timestamp": "2026-05-19T07:31:42.884557Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22087
    },
    "data": {
      "thread.id": "139915912271552",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "5153d8c3463c4a70bfcdc8170efdbae4",
    "span_id": "9ede5ae78e945a2a",
    "parent_span_id": "8c9b9e3b97c01e47",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:42.884590Z",
    "timestamp": "2026-05-19T07:31:42.884599Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22087
    },
    "data": {
      "thread.id": "139915912271552",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "5153d8c3463c4a70bfcdc8170efdbae4",
    "span_id": "b885af390dc3912d",
    "parent_span_id": "8c9b9e3b97c01e47",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:42.885976Z",
    "timestamp": "2026-05-19T07:31:44.130185Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139915991096192",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 26,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-async-streaming-chat.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "86ea13845e7939b4",
    "trace_id": "5153d8c3463c4a70bfcdc8170efdbae4",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:31:42.878710Z",
    "timestamp": "2026-05-19T07:31:44.406724Z",
    "data": {
      "thread.id": "139915991096192",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "8c9b9e3b97c01e47",
    "trace_id": "5153d8c3463c4a70bfcdc8170efdbae4",
    "parent_span_id": "86ea13845e7939b4",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175902.879694,
    "timestamp": 1779175904.405382,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "139915991096192",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.time_to_first_token": 1.2603523490000725,
      "gen_ai.response.text": "This message is a repeated test intended to generate a lengthy input.",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.input_tokens.cached": 5376,
      "gen_ai.usage.output_tokens": 13,
      "gen_ai.usage.total_tokens": 5442,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "86ea13845e7939b4",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Long Input LLM Test (async, streaming, responses)❗︎ 14739ms
checkChatSpanAttributes
bcc51f1egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bcc51f1egen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "fac8ab2674d2449895b385a5e2b759af",
    "span_id": "845eae2d4f7a5c5e",
    "parent_span_id": "bcc51f1e2a3f7d38",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:44.111940Z",
    "timestamp": "2026-05-19T07:31:44.113210Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22100
    },
    "data": {
      "thread.id": "140719883142848",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "fac8ab2674d2449895b385a5e2b759af",
    "span_id": "a95947125e827b29",
    "parent_span_id": "bcc51f1e2a3f7d38",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:44.113295Z",
    "timestamp": "2026-05-19T07:31:44.114393Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22100
    },
    "data": {
      "thread.id": "140719883142848",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "fac8ab2674d2449895b385a5e2b759af",
    "span_id": "a12075d6e59f5ac1",
    "parent_span_id": "a95947125e827b29",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:44.114266Z",
    "timestamp": "2026-05-19T07:31:44.114381Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22100
    },
    "data": {
      "thread.id": "140719883142848",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "fac8ab2674d2449895b385a5e2b759af",
    "span_id": "8d3585d69f817ddd",
    "parent_span_id": "bcc51f1e2a3f7d38",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:44.114437Z",
    "timestamp": "2026-05-19T07:31:44.114455Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22100
    },
    "data": {
      "thread.id": "140719883142848",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "fac8ab2674d2449895b385a5e2b759af",
    "span_id": "97f26d8bc1a7af1f",
    "parent_span_id": "bcc51f1e2a3f7d38",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:44.116083Z",
    "timestamp": "2026-05-19T07:31:44.276576Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140719961295744",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 26,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-async-streaming-responses.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "93781f969661c777",
    "trace_id": "fac8ab2674d2449895b385a5e2b759af",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:31:44.102733Z",
    "timestamp": "2026-05-19T07:31:46.870362Z",
    "data": {
      "thread.id": "140719961295744",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "bcc51f1e2a3f7d38",
    "trace_id": "fac8ab2674d2449895b385a5e2b759af",
    "parent_span_id": "93781f969661c777",
    "op": "gen_ai.responses",
    "description": "responses gpt-4o-mini",
    "start_timestamp": 1779175904.103943,
    "timestamp": 1779175906.864145,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140719961295744",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.output_tokens": 15,
      "gen_ai.usage.total_tokens": 5444,
      "gen_ai.response.time_to_first_token": 1.9494608940000262,
      "gen_ai.response.text": "The text is a repetitive test message aimed at creating a long input.",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "93781f969661c777",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Long Input LLM Test (async, blocking, chat)❗︎ 13371ms
checkChatSpanAttributes
a800c098gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a800c098gen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "41d454a8242a4918aebce09f02bc525d",
    "span_id": "840474ac4ac7d256",
    "parent_span_id": "a800c098a018f3d6",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:44.102788Z",
    "timestamp": "2026-05-19T07:31:44.104005Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22098
    },
    "data": {
      "thread.id": "139794439325376",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "41d454a8242a4918aebce09f02bc525d",
    "span_id": "957343d5ccf9644a",
    "parent_span_id": "a800c098a018f3d6",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:44.104090Z",
    "timestamp": "2026-05-19T07:31:44.104850Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22098
    },
    "data": {
      "thread.id": "139794439325376",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "41d454a8242a4918aebce09f02bc525d",
    "span_id": "b7e64b1ba90292be",
    "parent_span_id": "957343d5ccf9644a",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:44.104756Z",
    "timestamp": "2026-05-19T07:31:44.104841Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22098
    },
    "data": {
      "thread.id": "139794439325376",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "41d454a8242a4918aebce09f02bc525d",
    "span_id": "a9b29f6717352f3c",
    "parent_span_id": "a800c098a018f3d6",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:44.104908Z",
    "timestamp": "2026-05-19T07:31:44.104922Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22098
    },
    "data": {
      "thread.id": "139794439325376",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "41d454a8242a4918aebce09f02bc525d",
    "span_id": "9043eafb42484b65",
    "parent_span_id": "a800c098a018f3d6",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:44.106248Z",
    "timestamp": "2026-05-19T07:31:45.893944Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139794517642112",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 26,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-async-blocking-chat.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "a0621ce5386f552a",
    "trace_id": "41d454a8242a4918aebce09f02bc525d",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:31:44.098808Z",
    "timestamp": "2026-05-19T07:31:45.917246Z",
    "data": {
      "thread.id": "139794517642112",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "a800c098a018f3d6",
    "trace_id": "41d454a8242a4918aebce09f02bc525d",
    "parent_span_id": "a0621ce5386f552a",
    "op": "gen_ai.chat",
    "description": "chat gpt-4o-mini",
    "start_timestamp": 1779175904.099774,
    "timestamp": 1779175905.915312,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "139794517642112",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.text": "{\"content\": \"The message is a repeated phrase stating, \\\"This is a test message that will be repeated many times to create a very long input.\\\"\", \"refusal\": \"None\", \"role\": \"assistant\", \"annotations\": [], \"audio\": \"None\", \"function_call\": \"None\", \"tool_calls\": \"None\"}",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.input_tokens.cached": 5376,
      "gen_ai.usage.output_tokens": 27,
      "gen_ai.usage.total_tokens": 5456,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "a0621ce5386f552a",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Long Input LLM Test (async, blocking, responses)❗︎ 14008ms
checkChatSpanAttributes
b7e505abgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b7e505abgen_ai.output.messagesMissing output messages attribute
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(1 span) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (7)
[
  {
    "trace_id": "ccea4d5ae4534c15982a22678aed2355",
    "span_id": "91f69d9e37f3639b",
    "parent_span_id": "b7e505abf4bc8293",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:45.191439Z",
    "timestamp": "2026-05-19T07:31:45.192590Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22115
    },
    "data": {
      "thread.id": "139980565571264",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "ccea4d5ae4534c15982a22678aed2355",
    "span_id": "b697a9dd3d63404f",
    "parent_span_id": "b7e505abf4bc8293",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:45.192674Z",
    "timestamp": "2026-05-19T07:31:45.193488Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22115
    },
    "data": {
      "thread.id": "139980565571264",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "ccea4d5ae4534c15982a22678aed2355",
    "span_id": "97ce991a2f4ec09d",
    "parent_span_id": "b697a9dd3d63404f",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:45.193377Z",
    "timestamp": "2026-05-19T07:31:45.193475Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22115
    },
    "data": {
      "thread.id": "139980565571264",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "ccea4d5ae4534c15982a22678aed2355",
    "span_id": "9ab6a5bbe3726ecc",
    "parent_span_id": "b7e505abf4bc8293",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:45.193530Z",
    "timestamp": "2026-05-19T07:31:45.193546Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22115
    },
    "data": {
      "thread.id": "139980565571264",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "ccea4d5ae4534c15982a22678aed2355",
    "span_id": "9c3848e5425c7ea0",
    "parent_span_id": "b7e505abf4bc8293",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:45.195183Z",
    "timestamp": "2026-05-19T07:31:46.734543Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139980644371328",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 26,
      "code.namespace": "__main__",
      "code.filepath": "test-long-input-llm-test-async-blocking-responses.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "969d323f5a1e4af2",
    "trace_id": "ccea4d5ae4534c15982a22678aed2355",
    "parent_span_id": null,
    "op": "test",
    "description": "Long Input LLM Test",
    "start_timestamp": "2026-05-19T07:31:45.185530Z",
    "timestamp": "2026-05-19T07:31:47.006454Z",
    "data": {
      "thread.id": "139980644371328",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b7e505abf4bc8293",
    "trace_id": "ccea4d5ae4534c15982a22678aed2355",
    "parent_span_id": "969d323f5a1e4af2",
    "op": "gen_ai.responses",
    "description": "responses gpt-4o-mini",
    "start_timestamp": 1779175905.186581,
    "timestamp": 1779175906.999229,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "139980644371328",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-4o-mini",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant. Respond briefly.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. \"}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-4o-mini-2024-07-18",
      "gen_ai.response.text": "This message is a repeated test designed to generate a very long input.",
      "gen_ai.usage.input_tokens": 5429,
      "gen_ai.usage.output_tokens": 15,
      "gen_ai.usage.total_tokens": 5444,
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Long Input LLM Test",
      "sentry.segment.id": "969d323f5a1e4af2",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Conversation ID LLM Test (sync, streaming, chat)❗︎ 110198ms
checkAISpanCount(4)
checkChatSpanAttributes
87b988dagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
87b988dagen_ai.output.messagesMissing output messages attribute
a11625e3gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a11625e3gen_ai.output.messagesMissing output messages attribute
9313864fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9313864fgen_ai.output.messagesMissing output messages attribute
bca8cd4dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bca8cd4dgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (13)
[
  {
    "trace_id": "3f80ae1d184c4779ab0805a312b63f67",
    "span_id": "98884aaf02b41fd5",
    "parent_span_id": "87b988da6de73745",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:45.808369Z",
    "timestamp": "2026-05-19T07:31:45.815003Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22123
    },
    "data": {
      "thread.id": "140328810752896",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "3f80ae1d184c4779ab0805a312b63f67",
    "span_id": "b473156786b8831b",
    "parent_span_id": "87b988da6de73745",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:45.815124Z",
    "timestamp": "2026-05-19T07:31:45.817023Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22123
    },
    "data": {
      "thread.id": "140328810752896",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "3f80ae1d184c4779ab0805a312b63f67",
    "span_id": "b62911538df433ce",
    "parent_span_id": "b473156786b8831b",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:45.815236Z",
    "timestamp": "2026-05-19T07:31:45.816996Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22123
    },
    "data": {
      "thread.id": "140328810752896",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "3f80ae1d184c4779ab0805a312b63f67",
    "span_id": "a5dc002d452edaed",
    "parent_span_id": "87b988da6de73745",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:45.817091Z",
    "timestamp": "2026-05-19T07:31:45.817116Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22123
    },
    "data": {
      "thread.id": "140328810752896",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "3f80ae1d184c4779ab0805a312b63f67",
    "span_id": "95e1813c72c3e989",
    "parent_span_id": "87b988da6de73745",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:45.818571Z",
    "timestamp": "2026-05-19T07:31:47.307226Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140328810752896",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 26,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming-chat.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "3f80ae1d184c4779ab0805a312b63f67",
    "span_id": "bd8e8460244557eb",
    "parent_span_id": "a11625e34676777b",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:47.405547Z",
    "timestamp": "2026-05-19T07:31:51.279717Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140328810752896",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 53,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming-chat.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "3f80ae1d184c4779ab0805a312b63f67",
    "span_id": "904c7fb3540220d5",
    "parent_span_id": "9313864fc238622f",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:51.549315Z",
    "timestamp": "2026-05-19T07:31:52.522667Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140328810752896",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 80,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming-chat.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "3f80ae1d184c4779ab0805a312b63f67",
    "span_id": "b7f2989440770a04",
    "parent_span_id": "bca8cd4d412dea47",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:52.584776Z",
    "timestamp": "2026-05-19T07:31:54.022087Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140328810752896",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 115,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming-chat.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "afccfe676779dd61",
    "trace_id": "3f80ae1d184c4779ab0805a312b63f67",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:31:45.800808Z",
    "timestamp": "2026-05-19T07:31:54.200469Z",
    "data": {
      "thread.id": "140328810752896",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "87b988da6de73745",
    "trace_id": "3f80ae1d184c4779ab0805a312b63f67",
    "parent_span_id": "afccfe676779dd61",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175905.801824,
    "timestamp": 1779175907.400467,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140328810752896",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.time_to_first_token": 1.57808593499999,
      "gen_ai.response.text": "Paris.",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 203,
      "gen_ai.usage.output_tokens.reasoning": 192,
      "gen_ai.usage.total_tokens": 226,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "afccfe676779dd61",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a11625e34676777b",
    "trace_id": "3f80ae1d184c4779ab0805a312b63f67",
    "parent_span_id": "afccfe676779dd61",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175907.400589,
    "timestamp": 1779175911.544795,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140328810752896",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.time_to_first_token": 3.8830828550001115,
      "gen_ai.response.text": "4. In base-10 arithmetic, 2 + 2 = 4. If you’d like, I can show a quick visual (like a number line or objects) to illustrate it.",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 370,
      "gen_ai.usage.output_tokens.reasoning": 320,
      "gen_ai.usage.total_tokens": 394,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "afccfe676779dd61",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9313864fc238622f",
    "trace_id": "3f80ae1d184c4779ab0805a312b63f67",
    "parent_span_id": "afccfe676779dd61",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175911.544944,
    "timestamp": 1779175912.575825,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140328810752896",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.time_to_first_token": 0.9783880689999478,
      "gen_ai.response.text": "The capital of Germany is Berlin.",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 144,
      "gen_ai.usage.output_tokens.reasoning": 128,
      "gen_ai.usage.total_tokens": 188,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "afccfe676779dd61",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "bca8cd4d412dea47",
    "trace_id": "3f80ae1d184c4779ab0805a312b63f67",
    "parent_span_id": "afccfe676779dd61",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175912.57728,
    "timestamp": 1779175914.200413,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140328810752896",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}, {\"role\": \"assistant\", \"content\": \"2 + 2 equals 4.\"}, {\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.time_to_first_token": 1.4466895960000556,
      "gen_ai.response.text": "3 + 3 equals 6. You can see it as two groups of three: 3 + 3 = 6. If you prefer, count on from 3: 3, 4, 5, 6. Want more practice?",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 254,
      "gen_ai.usage.output_tokens.reasoning": 192,
      "gen_ai.usage.total_tokens": 304,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "afccfe676779dd61",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Conversation ID LLM Test (sync, streaming, responses)❗︎ 111584ms
checkAISpanCount(4)
checkChatSpanAttributes
916a194egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
916a194egen_ai.output.messagesMissing output messages attribute
af9048aagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
af9048aagen_ai.output.messagesMissing output messages attribute
916c97e6gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
916c97e6gen_ai.output.messagesMissing output messages attribute
acd84eacgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
acd84eacgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (13)
[
  {
    "trace_id": "4ce8974e2b154c21bfb5d177e9fee004",
    "span_id": "b8c8e83ed4d33e6c",
    "parent_span_id": "916a194eca0f94fa",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:46.196277Z",
    "timestamp": "2026-05-19T07:31:46.197721Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22130
    },
    "data": {
      "thread.id": "140434377304960",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "4ce8974e2b154c21bfb5d177e9fee004",
    "span_id": "9500a4d5bfe182b4",
    "parent_span_id": "916a194eca0f94fa",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:46.197799Z",
    "timestamp": "2026-05-19T07:31:46.198774Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22130
    },
    "data": {
      "thread.id": "140434377304960",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "4ce8974e2b154c21bfb5d177e9fee004",
    "span_id": "8f5b8183fdbdae1a",
    "parent_span_id": "9500a4d5bfe182b4",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:46.198647Z",
    "timestamp": "2026-05-19T07:31:46.198760Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22130
    },
    "data": {
      "thread.id": "140434377304960",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "4ce8974e2b154c21bfb5d177e9fee004",
    "span_id": "a00f17c9228baaa6",
    "parent_span_id": "916a194eca0f94fa",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:46.198816Z",
    "timestamp": "2026-05-19T07:31:46.198830Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22130
    },
    "data": {
      "thread.id": "140434377304960",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "4ce8974e2b154c21bfb5d177e9fee004",
    "span_id": "af95e9e953a5dfdd",
    "parent_span_id": "916a194eca0f94fa",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:46.200224Z",
    "timestamp": "2026-05-19T07:31:46.393612Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140434377304960",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 26,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming-responses.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "4ce8974e2b154c21bfb5d177e9fee004",
    "span_id": "aed742224590caf9",
    "parent_span_id": "af9048aae1f12716",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:47.980960Z",
    "timestamp": "2026-05-19T07:31:48.181829Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140434377304960",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 49,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming-responses.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "4ce8974e2b154c21bfb5d177e9fee004",
    "span_id": "9808e44c5b8ea160",
    "parent_span_id": "916c97e651afad59",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:50.499460Z",
    "timestamp": "2026-05-19T07:31:50.679244Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140434377304960",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 72,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming-responses.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "4ce8974e2b154c21bfb5d177e9fee004",
    "span_id": "8aa386633b73aa47",
    "parent_span_id": "acd84eacde6afdca",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:52.123614Z",
    "timestamp": "2026-05-19T07:31:52.324433Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140434377304960",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 103,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-streaming-responses.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "ace8ca1fed19e0a6",
    "trace_id": "4ce8974e2b154c21bfb5d177e9fee004",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:31:46.189350Z",
    "timestamp": "2026-05-19T07:31:55.553509Z",
    "data": {
      "thread.id": "140434377304960",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "916a194eca0f94fa",
    "trace_id": "4ce8974e2b154c21bfb5d177e9fee004",
    "parent_span_id": "ace8ca1fed19e0a6",
    "op": "gen_ai.responses",
    "description": "responses gpt-5-nano",
    "start_timestamp": 1779175906.19025,
    "timestamp": 1779175907.978991,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140434377304960",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 124,
      "gen_ai.usage.output_tokens.reasoning": 64,
      "gen_ai.usage.total_tokens": 147,
      "gen_ai.response.time_to_first_token": 1.4978415499999755,
      "gen_ai.response.text": "Paris.",
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "ace8ca1fed19e0a6",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "af9048aae1f12716",
    "trace_id": "4ce8974e2b154c21bfb5d177e9fee004",
    "parent_span_id": "ace8ca1fed19e0a6",
    "op": "gen_ai.responses",
    "description": "responses gpt-5-nano",
    "start_timestamp": 1779175907.97911,
    "timestamp": 1779175910.495749,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140434377304960",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 351,
      "gen_ai.usage.output_tokens.reasoning": 320,
      "gen_ai.usage.total_tokens": 375,
      "gen_ai.response.time_to_first_token": 2.1609463649999725,
      "gen_ai.response.text": "4. If you like a quick explanation: adding two items to another two items gives four items in total.",
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "ace8ca1fed19e0a6",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "916c97e651afad59",
    "trace_id": "4ce8974e2b154c21bfb5d177e9fee004",
    "parent_span_id": "ace8ca1fed19e0a6",
    "op": "gen_ai.responses",
    "description": "responses gpt-5-nano",
    "start_timestamp": 1779175910.495856,
    "timestamp": 1779175912.121179,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140434377304960",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 195,
      "gen_ai.usage.output_tokens.reasoning": 128,
      "gen_ai.usage.total_tokens": 239,
      "gen_ai.response.time_to_first_token": 1.3680380719999903,
      "gen_ai.response.text": "The capital of Germany is Berlin.",
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "ace8ca1fed19e0a6",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "acd84eacde6afdca",
    "trace_id": "4ce8974e2b154c21bfb5d177e9fee004",
    "parent_span_id": "ace8ca1fed19e0a6",
    "op": "gen_ai.responses",
    "description": "responses gpt-5-nano",
    "start_timestamp": 1779175912.121291,
    "timestamp": 1779175915.553447,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140434377304960",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}, {\"role\": \"assistant\", \"content\": \"2 + 2 equals 4.\"}, {\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 314,
      "gen_ai.usage.output_tokens.reasoning": 256,
      "gen_ai.usage.total_tokens": 364,
      "gen_ai.response.time_to_first_token": 3.023405153999988,
      "gen_ai.response.text": "3 + 3 = 6. You can think of two groups of three items adding up to six. Want a few more practice problems?",
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "ace8ca1fed19e0a6",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Conversation ID LLM Test (sync, blocking, chat)❗︎ 110041ms
checkAISpanCount(4)
checkChatSpanAttributes
a76e3434gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a76e3434gen_ai.output.messagesMissing output messages attribute
92a54474gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
92a54474gen_ai.output.messagesMissing output messages attribute
ba144e99gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ba144e99gen_ai.output.messagesMissing output messages attribute
8d18fcaagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8d18fcaagen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (13)
[
  {
    "trace_id": "14bc03c3847a40378b627bc4c7171de9",
    "span_id": "b4b8c6b8d3d5a143",
    "parent_span_id": "a76e3434a9ca6c36",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:46.436180Z",
    "timestamp": "2026-05-19T07:31:46.437216Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22134
    },
    "data": {
      "thread.id": "140635557342080",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "14bc03c3847a40378b627bc4c7171de9",
    "span_id": "9a8e23b590f8ba05",
    "parent_span_id": "a76e3434a9ca6c36",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:46.437297Z",
    "timestamp": "2026-05-19T07:31:46.438076Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22134
    },
    "data": {
      "thread.id": "140635557342080",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "14bc03c3847a40378b627bc4c7171de9",
    "span_id": "8916155248cd36b3",
    "parent_span_id": "9a8e23b590f8ba05",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:46.437979Z",
    "timestamp": "2026-05-19T07:31:46.438065Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22134
    },
    "data": {
      "thread.id": "140635557342080",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "14bc03c3847a40378b627bc4c7171de9",
    "span_id": "8f3e7c55f9cdb407",
    "parent_span_id": "a76e3434a9ca6c36",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:46.438109Z",
    "timestamp": "2026-05-19T07:31:46.438121Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22134
    },
    "data": {
      "thread.id": "140635557342080",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "14bc03c3847a40378b627bc4c7171de9",
    "span_id": "9f33adf40bafcb48",
    "parent_span_id": "a76e3434a9ca6c36",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:46.439054Z",
    "timestamp": "2026-05-19T07:31:48.018042Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140635557342080",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 26,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking-chat.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "14bc03c3847a40378b627bc4c7171de9",
    "span_id": "8587d12c70418e07",
    "parent_span_id": "92a5447403cd2471",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:48.046714Z",
    "timestamp": "2026-05-19T07:31:50.720201Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140635557342080",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 45,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking-chat.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "14bc03c3847a40378b627bc4c7171de9",
    "span_id": "b834c18fd7d19dff",
    "parent_span_id": "ba144e992ceae357",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:50.725688Z",
    "timestamp": "2026-05-19T07:31:52.372933Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140635557342080",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 64,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking-chat.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "14bc03c3847a40378b627bc4c7171de9",
    "span_id": "a5caecfceec737a8",
    "parent_span_id": "8d18fcaa4c66f4b6",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:52.379202Z",
    "timestamp": "2026-05-19T07:31:54.680287Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140635557342080",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 91,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking-chat.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "b7a267aa873632bb",
    "trace_id": "14bc03c3847a40378b627bc4c7171de9",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:31:46.432890Z",
    "timestamp": "2026-05-19T07:31:54.681089Z",
    "data": {
      "thread.id": "140635557342080",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "a76e3434a9ca6c36",
    "trace_id": "14bc03c3847a40378b627bc4c7171de9",
    "parent_span_id": "b7a267aa873632bb",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175906.433629,
    "timestamp": 1779175908.044393,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140635557342080",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "{\"content\": \"Paris.\", \"refusal\": \"None\", \"role\": \"assistant\", \"annotations\": [], \"audio\": \"None\", \"function_call\": \"None\", \"tool_calls\": \"None\"}",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 203,
      "gen_ai.usage.output_tokens.reasoning": 192,
      "gen_ai.usage.total_tokens": 226,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "b7a267aa873632bb",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "92a5447403cd2471",
    "trace_id": "14bc03c3847a40378b627bc4c7171de9",
    "parent_span_id": "b7a267aa873632bb",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175908.044536,
    "timestamp": 1779175910.721042,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140635557342080",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "{\"content\": \"4\\n\\nReason: 2 + 2 equals 4. You can verify by counting two plus two items, or on a number line: start at 0, move 2 to 2, then 2 more to 4.\", \"refusal\": \"None\", \"role\": \"assistant\", \"annotations\": [], \"audio\": \"None\", \"function_call\": \"None\", \"tool_calls\": \"None\"}",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 442,
      "gen_ai.usage.output_tokens.reasoning": 384,
      "gen_ai.usage.total_tokens": 466,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "b7a267aa873632bb",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "ba144e992ceae357",
    "trace_id": "14bc03c3847a40378b627bc4c7171de9",
    "parent_span_id": "b7a267aa873632bb",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175910.721147,
    "timestamp": 1779175912.373636,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140635557342080",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "{\"content\": \"Germany's capital is Berlin. Would you like more facts about Berlin or Germany?\", \"refusal\": \"None\", \"role\": \"assistant\", \"annotations\": [], \"audio\": \"None\", \"function_call\": \"None\", \"tool_calls\": \"None\"}",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 281,
      "gen_ai.usage.output_tokens.reasoning": 256,
      "gen_ai.usage.total_tokens": 325,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "b7a267aa873632bb",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8d18fcaa4c66f4b6",
    "trace_id": "14bc03c3847a40378b627bc4c7171de9",
    "parent_span_id": "b7a267aa873632bb",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175912.373729,
    "timestamp": 1779175914.681039,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140635557342080",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}, {\"role\": \"assistant\", \"content\": \"2 + 2 equals 4.\"}, {\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "{\"content\": \"3 + 3 equals 6.\\n\\nIf you'd like, I can show a quick visual (like a number line) or explain it with objects to help it stick.\", \"refusal\": \"None\", \"role\": \"assistant\", \"annotations\": [], \"audio\": \"None\", \"function_call\": \"None\", \"tool_calls\": \"None\"}",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 363,
      "gen_ai.usage.output_tokens.reasoning": 320,
      "gen_ai.usage.total_tokens": 413,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "b7a267aa873632bb",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Conversation ID LLM Test (sync, blocking, responses)❗︎ 113474ms
checkAISpanCount(4)
checkChatSpanAttributes
894ebc7egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
894ebc7egen_ai.output.messagesMissing output messages attribute
a19155e2gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a19155e2gen_ai.output.messagesMissing output messages attribute
8df52ec2gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
8df52ec2gen_ai.output.messagesMissing output messages attribute
a855d09egen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a855d09egen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (13)
[
  {
    "trace_id": "6327ec880ece4066bf08e2afe9ca8ffc",
    "span_id": "9facbb552c669efd",
    "parent_span_id": "894ebc7efbea7ea4",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:48.073047Z",
    "timestamp": "2026-05-19T07:31:48.074664Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22153
    },
    "data": {
      "thread.id": "140628263316352",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "6327ec880ece4066bf08e2afe9ca8ffc",
    "span_id": "8f0798facfd3fd9f",
    "parent_span_id": "894ebc7efbea7ea4",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:48.074758Z",
    "timestamp": "2026-05-19T07:31:48.076004Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22153
    },
    "data": {
      "thread.id": "140628263316352",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "6327ec880ece4066bf08e2afe9ca8ffc",
    "span_id": "95e3db24715ca991",
    "parent_span_id": "8f0798facfd3fd9f",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:48.075742Z",
    "timestamp": "2026-05-19T07:31:48.075987Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22153
    },
    "data": {
      "thread.id": "140628263316352",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "6327ec880ece4066bf08e2afe9ca8ffc",
    "span_id": "8f1e07ddcdb59e36",
    "parent_span_id": "894ebc7efbea7ea4",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:48.076051Z",
    "timestamp": "2026-05-19T07:31:48.076070Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22153
    },
    "data": {
      "thread.id": "140628263316352",
      "thread.name": "MainThread"
    }
  },
  {
    "trace_id": "6327ec880ece4066bf08e2afe9ca8ffc",
    "span_id": "85e3a8b705eb6e85",
    "parent_span_id": "894ebc7efbea7ea4",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:48.077440Z",
    "timestamp": "2026-05-19T07:31:49.573836Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140628263316352",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 26,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking-responses.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "6327ec880ece4066bf08e2afe9ca8ffc",
    "span_id": "9dae14f47f156c10",
    "parent_span_id": "a19155e263fb44bb",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:49.715814Z",
    "timestamp": "2026-05-19T07:31:53.032769Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140628263316352",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 41,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking-responses.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "6327ec880ece4066bf08e2afe9ca8ffc",
    "span_id": "b2d507196ab90306",
    "parent_span_id": "8df52ec29eb79bd4",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:53.035674Z",
    "timestamp": "2026-05-19T07:31:55.681365Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140628263316352",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 56,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking-responses.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "6327ec880ece4066bf08e2afe9ca8ffc",
    "span_id": "8029475bc4d9fd7c",
    "parent_span_id": "a855d09e60e8511a",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:55.687459Z",
    "timestamp": "2026-05-19T07:31:58.789971Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140628263316352",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 79,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-sync-blocking-responses.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "8d615054969eb101",
    "trace_id": "6327ec880ece4066bf08e2afe9ca8ffc",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:31:48.064122Z",
    "timestamp": "2026-05-19T07:31:58.791056Z",
    "data": {
      "thread.id": "140628263316352",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "894ebc7efbea7ea4",
    "trace_id": "6327ec880ece4066bf08e2afe9ca8ffc",
    "parent_span_id": "8d615054969eb101",
    "op": "gen_ai.responses",
    "description": "responses gpt-5-nano",
    "start_timestamp": 1779175908.065018,
    "timestamp": 1779175909.714164,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140628263316352",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "Paris.",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 99,
      "gen_ai.usage.output_tokens.reasoning": 64,
      "gen_ai.usage.total_tokens": 122,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "8d615054969eb101",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a19155e263fb44bb",
    "trace_id": "6327ec880ece4066bf08e2afe9ca8ffc",
    "parent_span_id": "8d615054969eb101",
    "op": "gen_ai.responses",
    "description": "responses gpt-5-nano",
    "start_timestamp": 1779175909.714284,
    "timestamp": 1779175913.033756,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140628263316352",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "4\n\nTwo plus two equals four. If you’d like, I can show a quick different way to see it (e.g., with objects or a number line).",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 284,
      "gen_ai.usage.output_tokens.reasoning": 192,
      "gen_ai.usage.total_tokens": 308,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "8d615054969eb101",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "8df52ec29eb79bd4",
    "trace_id": "6327ec880ece4066bf08e2afe9ca8ffc",
    "parent_span_id": "8d615054969eb101",
    "op": "gen_ai.responses",
    "description": "responses gpt-5-nano",
    "start_timestamp": 1779175913.033861,
    "timestamp": 1779175915.682306,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140628263316352",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "The capital of Germany is Berlin.",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 357,
      "gen_ai.usage.output_tokens.reasoning": 320,
      "gen_ai.usage.total_tokens": 401,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "8d615054969eb101",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a855d09e60e8511a",
    "trace_id": "6327ec880ece4066bf08e2afe9ca8ffc",
    "parent_span_id": "8d615054969eb101",
    "op": "gen_ai.responses",
    "description": "responses gpt-5-nano",
    "start_timestamp": 1779175915.682405,
    "timestamp": 1779175918.790996,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140628263316352",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}, {\"role\": \"assistant\", \"content\": \"2 + 2 equals 4.\"}, {\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "6\n\nExplanation: 3 + 3 means adding two groups of three, which sums to six. Want more practice problems?",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 373,
      "gen_ai.usage.output_tokens.reasoning": 320,
      "gen_ai.usage.total_tokens": 423,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "8d615054969eb101",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Conversation ID LLM Test (async, streaming, chat)❗︎ 19079ms
checkAISpanCount(4)
checkChatSpanAttributes
b3921455gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b3921455gen_ai.output.messagesMissing output messages attribute
a372a7b4gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
a372a7b4gen_ai.output.messagesMissing output messages attribute
877ff75fgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
877ff75fgen_ai.output.messagesMissing output messages attribute
97a58270gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
97a58270gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (13)
[
  {
    "trace_id": "2233898f3c4e4d21afdef2d7cd5eb46d",
    "span_id": "9296aa1be4fb405a",
    "parent_span_id": "b3921455c0197016",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:48.131452Z",
    "timestamp": "2026-05-19T07:31:48.133966Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22157
    },
    "data": {
      "thread.id": "140429025900224",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "2233898f3c4e4d21afdef2d7cd5eb46d",
    "span_id": "b33b77b00a959732",
    "parent_span_id": "b3921455c0197016",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:48.134054Z",
    "timestamp": "2026-05-19T07:31:48.134253Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22157
    },
    "data": {
      "thread.id": "140429025900224",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "2233898f3c4e4d21afdef2d7cd5eb46d",
    "span_id": "895331f8799f78ef",
    "parent_span_id": "b33b77b00a959732",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:48.134151Z",
    "timestamp": "2026-05-19T07:31:48.134241Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22157
    },
    "data": {
      "thread.id": "140429025900224",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "2233898f3c4e4d21afdef2d7cd5eb46d",
    "span_id": "bf304877d5bfddb5",
    "parent_span_id": "b3921455c0197016",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:48.134296Z",
    "timestamp": "2026-05-19T07:31:48.134313Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22157
    },
    "data": {
      "thread.id": "140429025900224",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "2233898f3c4e4d21afdef2d7cd5eb46d",
    "span_id": "95db489a21653045",
    "parent_span_id": "b3921455c0197016",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:48.136008Z",
    "timestamp": "2026-05-19T07:31:49.793757Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140429103672192",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 27,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-chat.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "2233898f3c4e4d21afdef2d7cd5eb46d",
    "span_id": "bdb0dd9bb08edc04",
    "parent_span_id": "a372a7b45277c689",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:49.834419Z",
    "timestamp": "2026-05-19T07:31:51.285820Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140429103672192",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 54,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-chat.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "2233898f3c4e4d21afdef2d7cd5eb46d",
    "span_id": "8e7b080ea7ef2b47",
    "parent_span_id": "877ff75f828433e3",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:51.426265Z",
    "timestamp": "2026-05-19T07:31:52.928573Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140429103672192",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 81,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-chat.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "2233898f3c4e4d21afdef2d7cd5eb46d",
    "span_id": "9ac270767103ead2",
    "parent_span_id": "97a582704fc79e32",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:53.042521Z",
    "timestamp": "2026-05-19T07:31:54.752967Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140429103672192",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 116,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-chat.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "be80c46875109563",
    "trace_id": "2233898f3c4e4d21afdef2d7cd5eb46d",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:31:48.124378Z",
    "timestamp": "2026-05-19T07:31:54.892794Z",
    "data": {
      "thread.id": "140429103672192",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b3921455c0197016",
    "trace_id": "2233898f3c4e4d21afdef2d7cd5eb46d",
    "parent_span_id": "be80c46875109563",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175908.126709,
    "timestamp": 1779175909.83224,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140429103672192",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.time_to_first_token": 1.675396538999962,
      "gen_ai.response.text": "Paris.",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 203,
      "gen_ai.usage.output_tokens.reasoning": 192,
      "gen_ai.usage.total_tokens": 226,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "be80c46875109563",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "a372a7b45277c689",
    "trace_id": "2233898f3c4e4d21afdef2d7cd5eb46d",
    "parent_span_id": "be80c46875109563",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175909.832359,
    "timestamp": 1779175911.423577,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140429103672192",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.time_to_first_token": 1.4569356480000124,
      "gen_ai.response.text": "4. If you have two of something and add two more, you end up with four. Want a quick practice with different numbers?",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 228,
      "gen_ai.usage.output_tokens.reasoning": 192,
      "gen_ai.usage.total_tokens": 252,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "be80c46875109563",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "877ff75f828433e3",
    "trace_id": "2233898f3c4e4d21afdef2d7cd5eb46d",
    "parent_span_id": "be80c46875109563",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175911.423687,
    "timestamp": 1779175913.039749,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140429103672192",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.time_to_first_token": 1.5058512639999435,
      "gen_ai.response.text": "Berlin. The capital of Germany (since reunification in 1990).",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 280,
      "gen_ai.usage.output_tokens.reasoning": 256,
      "gen_ai.usage.total_tokens": 324,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "be80c46875109563",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "97a582704fc79e32",
    "trace_id": "2233898f3c4e4d21afdef2d7cd5eb46d",
    "parent_span_id": "be80c46875109563",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175913.039859,
    "timestamp": 1779175914.891339,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140429103672192",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}, {\"role\": \"assistant\", \"content\": \"2 + 2 equals 4.\"}, {\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.time_to_first_token": 1.7137033469999778,
      "gen_ai.response.text": "3 + 3 = 6. Counting two groups of three gives six. Want to try another one?",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 223,
      "gen_ai.usage.output_tokens.reasoning": 192,
      "gen_ai.usage.total_tokens": 273,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "be80c46875109563",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Conversation ID LLM Test (async, streaming, responses)❗︎ 111600ms
checkAISpanCount(4)
checkChatSpanAttributes
b40eaa72gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b40eaa72gen_ai.output.messagesMissing output messages attribute
b4965b8dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b4965b8dgen_ai.output.messagesMissing output messages attribute
ae0b5de2gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ae0b5de2gen_ai.output.messagesMissing output messages attribute
bc74b356gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bc74b356gen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (13)
[
  {
    "trace_id": "ecb49388d9104a9bb5bf8b4990b166d9",
    "span_id": "a81e07f12624b2b5",
    "parent_span_id": "b40eaa72722eaae6",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:48.450164Z",
    "timestamp": "2026-05-19T07:31:48.452923Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22176
    },
    "data": {
      "thread.id": "140506700969664",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "ecb49388d9104a9bb5bf8b4990b166d9",
    "span_id": "871c4166483db28c",
    "parent_span_id": "b40eaa72722eaae6",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:48.453015Z",
    "timestamp": "2026-05-19T07:31:48.453167Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22176
    },
    "data": {
      "thread.id": "140506700969664",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "ecb49388d9104a9bb5bf8b4990b166d9",
    "span_id": "8499fcb1d62d8208",
    "parent_span_id": "871c4166483db28c",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:48.453116Z",
    "timestamp": "2026-05-19T07:31:48.453155Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22176
    },
    "data": {
      "thread.id": "140506700969664",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "ecb49388d9104a9bb5bf8b4990b166d9",
    "span_id": "933f03c8cb7d2b0f",
    "parent_span_id": "b40eaa72722eaae6",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:48.453207Z",
    "timestamp": "2026-05-19T07:31:48.453227Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22176
    },
    "data": {
      "thread.id": "140506700969664",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "ecb49388d9104a9bb5bf8b4990b166d9",
    "span_id": "8036838fffcb4ba3",
    "parent_span_id": "b40eaa72722eaae6",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:48.455051Z",
    "timestamp": "2026-05-19T07:31:48.785062Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140506861595520",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 27,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-responses.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "ecb49388d9104a9bb5bf8b4990b166d9",
    "span_id": "9b6282707a247ee2",
    "parent_span_id": "b4965b8ddba02a5a",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:50.459923Z",
    "timestamp": "2026-05-19T07:31:50.675131Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140506861595520",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 50,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-responses.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "ecb49388d9104a9bb5bf8b4990b166d9",
    "span_id": "8756b456fc594021",
    "parent_span_id": "ae0b5de21fbc86fd",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:52.866865Z",
    "timestamp": "2026-05-19T07:31:53.057185Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140506861595520",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 73,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-responses.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "ecb49388d9104a9bb5bf8b4990b166d9",
    "span_id": "8edba1c749482fed",
    "parent_span_id": "bc74b356c915245b",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:54.517657Z",
    "timestamp": "2026-05-19T07:31:54.693258Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140506861595520",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 104,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-streaming-responses.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "818facdcc2e60205",
    "trace_id": "ecb49388d9104a9bb5bf8b4990b166d9",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:31:48.440402Z",
    "timestamp": "2026-05-19T07:31:57.202248Z",
    "data": {
      "thread.id": "140506861595520",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b40eaa72722eaae6",
    "trace_id": "ecb49388d9104a9bb5bf8b4990b166d9",
    "parent_span_id": "818facdcc2e60205",
    "op": "gen_ai.responses",
    "description": "responses gpt-5-nano",
    "start_timestamp": 1779175908.441716,
    "timestamp": 1779175910.458041,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140506861595520",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 215,
      "gen_ai.usage.output_tokens.reasoning": 192,
      "gen_ai.usage.total_tokens": 238,
      "gen_ai.response.time_to_first_token": 1.760197754999922,
      "gen_ai.response.text": "Paris.",
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "818facdcc2e60205",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "b4965b8ddba02a5a",
    "trace_id": "ecb49388d9104a9bb5bf8b4990b166d9",
    "parent_span_id": "818facdcc2e60205",
    "op": "gen_ai.responses",
    "description": "responses gpt-5-nano",
    "start_timestamp": 1779175910.458155,
    "timestamp": 1779175912.864441,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140506861595520",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 323,
      "gen_ai.usage.output_tokens.reasoning": 256,
      "gen_ai.usage.total_tokens": 347,
      "gen_ai.response.time_to_first_token": 1.9316080199999988,
      "gen_ai.response.text": "4\n\nExplanation: If you have two apples and you add two more, you have four apples in total. Want a quick practice or a different base (like binary)?",
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "818facdcc2e60205",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "ae0b5de21fbc86fd",
    "trace_id": "ecb49388d9104a9bb5bf8b4990b166d9",
    "parent_span_id": "818facdcc2e60205",
    "op": "gen_ai.responses",
    "description": "responses gpt-5-nano",
    "start_timestamp": 1779175912.864549,
    "timestamp": 1779175914.515367,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140506861595520",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 214,
      "gen_ai.usage.output_tokens.reasoning": 128,
      "gen_ai.usage.total_tokens": 258,
      "gen_ai.response.time_to_first_token": 1.356728968000084,
      "gen_ai.response.text": "The capital of Germany is Berlin. It is also the country’s largest city and a major cultural and political center.",
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "818facdcc2e60205",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "bc74b356c915245b",
    "trace_id": "ecb49388d9104a9bb5bf8b4990b166d9",
    "parent_span_id": "818facdcc2e60205",
    "op": "gen_ai.responses",
    "description": "responses gpt-5-nano",
    "start_timestamp": 1779175914.515474,
    "timestamp": 1779175917.191514,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140506861595520",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": true,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}, {\"role\": \"assistant\", \"content\": \"2 + 2 equals 4.\"}, {\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 315,
      "gen_ai.usage.output_tokens.reasoning": 256,
      "gen_ai.usage.total_tokens": 365,
      "gen_ai.response.time_to_first_token": 2.2392858929999875,
      "gen_ai.response.text": "3 + 3 equals 6. (Another way: 3 + 3 = 2 × 3 = 6.)",
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "818facdcc2e60205",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Conversation ID LLM Test (async, blocking, chat)❗︎ 110284ms
checkAISpanCount(4)
checkChatSpanAttributes
80c91c7dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
80c91c7dgen_ai.output.messagesMissing output messages attribute
84d7373cgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
84d7373cgen_ai.output.messagesMissing output messages attribute
bfed4f5dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
bfed4f5dgen_ai.output.messagesMissing output messages attribute
af71b92dgen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
af71b92dgen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (13)
[
  {
    "trace_id": "752238dd542f41a08fd05ebf9ee204f7",
    "span_id": "8028269d5c73f80e",
    "parent_span_id": "80c91c7d5fc48658",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:48.594441Z",
    "timestamp": "2026-05-19T07:31:48.596479Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22179
    },
    "data": {
      "thread.id": "139825679550144",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "752238dd542f41a08fd05ebf9ee204f7",
    "span_id": "a3283e9eafc990bb",
    "parent_span_id": "80c91c7d5fc48658",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:48.596567Z",
    "timestamp": "2026-05-19T07:31:48.597570Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22179
    },
    "data": {
      "thread.id": "139825679550144",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "752238dd542f41a08fd05ebf9ee204f7",
    "span_id": "a0affcbe1ec0cd3b",
    "parent_span_id": "a3283e9eafc990bb",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:48.597448Z",
    "timestamp": "2026-05-19T07:31:48.597535Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22179
    },
    "data": {
      "thread.id": "139825679550144",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "752238dd542f41a08fd05ebf9ee204f7",
    "span_id": "8d5641494bf521db",
    "parent_span_id": "80c91c7d5fc48658",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:48.597616Z",
    "timestamp": "2026-05-19T07:31:48.597634Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22179
    },
    "data": {
      "thread.id": "139825679550144",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "752238dd542f41a08fd05ebf9ee204f7",
    "span_id": "907348e808364680",
    "parent_span_id": "80c91c7d5fc48658",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:48.599472Z",
    "timestamp": "2026-05-19T07:31:49.808144Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139825758780288",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 27,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-chat.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "752238dd542f41a08fd05ebf9ee204f7",
    "span_id": "bc4468614b611e91",
    "parent_span_id": "84d7373ca71c75d0",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:49.826352Z",
    "timestamp": "2026-05-19T07:31:52.776832Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139825758780288",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 46,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-chat.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "752238dd542f41a08fd05ebf9ee204f7",
    "span_id": "ab5b8eb9db90b553",
    "parent_span_id": "bfed4f5d9cc84618",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:52.782352Z",
    "timestamp": "2026-05-19T07:31:54.030285Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139825758780288",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 65,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-chat.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "752238dd542f41a08fd05ebf9ee204f7",
    "span_id": "87cde3396f1e20b7",
    "parent_span_id": "af71b92dcc0f2171",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/chat/completions",
    "start_timestamp": "2026-05-19T07:31:54.037355Z",
    "timestamp": "2026-05-19T07:31:55.789858Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "139825758780288",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/chat/completions",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 92,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-chat.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "9a0f5ae1e6636e9a",
    "trace_id": "752238dd542f41a08fd05ebf9ee204f7",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:31:48.590076Z",
    "timestamp": "2026-05-19T07:31:55.797367Z",
    "data": {
      "thread.id": "139825758780288",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "80c91c7d5fc48658",
    "trace_id": "752238dd542f41a08fd05ebf9ee204f7",
    "parent_span_id": "9a0f5ae1e6636e9a",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175908.591171,
    "timestamp": 1779175909.823339,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "139825758780288",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "{\"content\": \"Paris.\", \"refusal\": \"None\", \"role\": \"assistant\", \"annotations\": [], \"audio\": \"None\", \"function_call\": \"None\", \"tool_calls\": \"None\"}",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 75,
      "gen_ai.usage.output_tokens.reasoning": 64,
      "gen_ai.usage.total_tokens": 98,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "9a0f5ae1e6636e9a",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "84d7373ca71c75d0",
    "trace_id": "752238dd542f41a08fd05ebf9ee204f7",
    "parent_span_id": "9a0f5ae1e6636e9a",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175909.823593,
    "timestamp": 1779175912.777656,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "139825758780288",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "{\"content\": \"4. In base-10 arithmetic, 2 + 2 = 4. Want a quick explanation or a related problem?\", \"refusal\": \"None\", \"role\": \"assistant\", \"annotations\": [], \"audio\": \"None\", \"function_call\": \"None\", \"tool_calls\": \"None\"}",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 355,
      "gen_ai.usage.output_tokens.reasoning": 320,
      "gen_ai.usage.total_tokens": 379,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "9a0f5ae1e6636e9a",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "bfed4f5d9cc84618",
    "trace_id": "752238dd542f41a08fd05ebf9ee204f7",
    "parent_span_id": "9a0f5ae1e6636e9a",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175912.777758,
    "timestamp": 1779175914.030998,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "139825758780288",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "{\"content\": \"The capital of Germany is Berlin.\", \"refusal\": \"None\", \"role\": \"assistant\", \"annotations\": [], \"audio\": \"None\", \"function_call\": \"None\", \"tool_calls\": \"None\"}",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 144,
      "gen_ai.usage.output_tokens.reasoning": 128,
      "gen_ai.usage.total_tokens": 188,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "9a0f5ae1e6636e9a",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "af71b92dcc0f2171",
    "trace_id": "752238dd542f41a08fd05ebf9ee204f7",
    "parent_span_id": "9a0f5ae1e6636e9a",
    "op": "gen_ai.chat",
    "description": "chat gpt-5-nano",
    "start_timestamp": 1779175914.031093,
    "timestamp": 1779175915.790579,
    "data": {
      "sentry.op": "gen_ai.chat",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "139825758780288",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}, {\"role\": \"assistant\", \"content\": \"2 + 2 equals 4.\"}, {\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.operation.name": "chat",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "{\"content\": \"6. \\n(3 + 3 is the same as doubling 3, which equals 6.) Want more practice or a quick set of similar problems?\", \"refusal\": \"None\", \"role\": \"assistant\", \"annotations\": [], \"audio\": \"None\", \"function_call\": \"None\", \"tool_calls\": \"None\"}",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 233,
      "gen_ai.usage.output_tokens.reasoning": 192,
      "gen_ai.usage.total_tokens": 283,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "9a0f5ae1e6636e9a",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]
python/openai :: Conversation ID LLM Test (async, blocking, responses)❗︎ 112385ms
checkAISpanCount(4)
checkChatSpanAttributes
b6a36342gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
b6a36342gen_ai.output.messagesMissing output messages attribute
ae764c21gen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
ae764c21gen_ai.output.messagesMissing output messages attribute
9c1454cagen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
9c1454cagen_ai.output.messagesMissing output messages attribute
af0ce8cegen_ai.response.textDeprecated attribute "gen_ai.response.text" is not allowed; use "gen_ai.output.messages" instead
af0ce8cegen_ai.output.messagesMissing output messages attribute
checkConversationIds([conv-a, conv-b])
checkValidTokenUsage
checkInputMessagesSchema
checkResponseModel
Deprecated Attributes
gen_ai.request.messages(4 spans) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.response.text(4 spans) gen_ai.output.messages
Attribute "gen_ai.response.text" is deprecated. Use "gen_ai.output.messages" instead.
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
{}Captured Spans (13)
[
  {
    "trace_id": "c26fdcc9af1545b8acc0ff03c0d942a2",
    "span_id": "b4e2c1e4a6f6dbe8",
    "parent_span_id": "b6a36342e5459b52",
    "same_process_as_parent": true,
    "op": "subprocess",
    "description": "uname -p",
    "start_timestamp": "2026-05-19T07:31:49.229789Z",
    "timestamp": "2026-05-19T07:31:49.233984Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22196
    },
    "data": {
      "thread.id": "140250540525248",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "c26fdcc9af1545b8acc0ff03c0d942a2",
    "span_id": "8bf8b7ca2b03ec9b",
    "parent_span_id": "b6a36342e5459b52",
    "same_process_as_parent": true,
    "op": "subprocess.communicate",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:49.234077Z",
    "timestamp": "2026-05-19T07:31:49.234325Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22196
    },
    "data": {
      "thread.id": "140250540525248",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "c26fdcc9af1545b8acc0ff03c0d942a2",
    "span_id": "9d217ce3d63ca25b",
    "parent_span_id": "8bf8b7ca2b03ec9b",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:49.234181Z",
    "timestamp": "2026-05-19T07:31:49.234301Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22196
    },
    "data": {
      "thread.id": "140250540525248",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "c26fdcc9af1545b8acc0ff03c0d942a2",
    "span_id": "bd692ad6fca74dcd",
    "parent_span_id": "b6a36342e5459b52",
    "same_process_as_parent": true,
    "op": "subprocess.wait",
    "description": null,
    "start_timestamp": "2026-05-19T07:31:49.234370Z",
    "timestamp": "2026-05-19T07:31:49.234388Z",
    "origin": "auto.subprocess.stdlib.subprocess",
    "tags": {
      "subprocess.pid": 22196
    },
    "data": {
      "thread.id": "140250540525248",
      "thread.name": "asyncio_0"
    }
  },
  {
    "trace_id": "c26fdcc9af1545b8acc0ff03c0d942a2",
    "span_id": "a6b1e5dc74f087b7",
    "parent_span_id": "b6a36342e5459b52",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:49.236157Z",
    "timestamp": "2026-05-19T07:31:50.692422Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140250618755968",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 27,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-responses.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "c26fdcc9af1545b8acc0ff03c0d942a2",
    "span_id": "b476de676cdcac2d",
    "parent_span_id": "ae764c2116a0eec3",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:50.801230Z",
    "timestamp": "2026-05-19T07:31:54.256548Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140250618755968",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 42,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-responses.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "c26fdcc9af1545b8acc0ff03c0d942a2",
    "span_id": "9c65688f9d73da39",
    "parent_span_id": "9c1454ca8fdcea48",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:54.262828Z",
    "timestamp": "2026-05-19T07:31:55.738239Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140250618755968",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 57,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-responses.py",
      "code.function": "main"
    }
  },
  {
    "trace_id": "c26fdcc9af1545b8acc0ff03c0d942a2",
    "span_id": "b51f283a351aacbd",
    "parent_span_id": "af0ce8cee982ae6b",
    "same_process_as_parent": true,
    "op": "http.client",
    "description": "POST https://api.openai.com/v1/responses",
    "start_timestamp": "2026-05-19T07:31:55.747299Z",
    "timestamp": "2026-05-19T07:31:59.439346Z",
    "origin": "auto.http.httpx",
    "status": "ok",
    "tags": {
      "http.status_code": "200",
      "status": "ok"
    },
    "data": {
      "thread.id": "140250618755968",
      "thread.name": "MainThread",
      "http.method": "POST",
      "url": "https://api.openai.com/v1/responses",
      "http.query": "",
      "http.fragment": "",
      "http.response.status_code": 200,
      "reason": "OK",
      "code.lineno": 80,
      "code.namespace": "__main__",
      "code.filepath": "test-conversation-id-llm-test-async-blocking-responses.py",
      "code.function": "main"
    }
  },
  {
    "span_id": "be816d4e782909a0",
    "trace_id": "c26fdcc9af1545b8acc0ff03c0d942a2",
    "parent_span_id": null,
    "op": "test",
    "description": "Conversation ID LLM Test",
    "start_timestamp": "2026-05-19T07:31:49.220780Z",
    "timestamp": "2026-05-19T07:31:59.445951Z",
    "data": {
      "thread.id": "140250618755968",
      "thread.name": "MainThread"
    }
  },
  {
    "span_id": "b6a36342e5459b52",
    "trace_id": "c26fdcc9af1545b8acc0ff03c0d942a2",
    "parent_span_id": "be816d4e782909a0",
    "op": "gen_ai.responses",
    "description": "responses gpt-5-nano",
    "start_timestamp": 1779175909.2221,
    "timestamp": 1779175910.799235,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140250618755968",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "Paris.",
      "gen_ai.usage.input_tokens": 23,
      "gen_ai.usage.output_tokens": 124,
      "gen_ai.usage.output_tokens.reasoning": 64,
      "gen_ai.usage.total_tokens": 147,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "be816d4e782909a0",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "ae764c2116a0eec3",
    "trace_id": "c26fdcc9af1545b8acc0ff03c0d942a2",
    "parent_span_id": "be816d4e782909a0",
    "op": "gen_ai.responses",
    "description": "responses gpt-5-nano",
    "start_timestamp": 1779175910.799367,
    "timestamp": 1779175914.257673,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140250618755968",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "4\n\nIf you want a quick check: count two things and count two more, you have four items total. Want a couple more examples?",
      "gen_ai.usage.input_tokens": 24,
      "gen_ai.usage.output_tokens": 554,
      "gen_ai.usage.output_tokens.reasoning": 512,
      "gen_ai.usage.total_tokens": 578,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "be816d4e782909a0",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "9c1454ca8fdcea48",
    "trace_id": "c26fdcc9af1545b8acc0ff03c0d942a2",
    "parent_span_id": "be816d4e782909a0",
    "op": "gen_ai.responses",
    "description": "responses gpt-5-nano",
    "start_timestamp": 1779175914.257781,
    "timestamp": 1779175915.739155,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140250618755968",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a helpful assistant.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is the capital of France?\"}, {\"role\": \"assistant\", \"content\": \"The capital of France is Paris.\"}, {\"role\": \"user\", \"content\": \"What about Germany?\"}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "Berlin.",
      "gen_ai.usage.input_tokens": 44,
      "gen_ai.usage.output_tokens": 165,
      "gen_ai.usage.output_tokens.reasoning": 128,
      "gen_ai.usage.total_tokens": 209,
      "gen_ai.conversation.id": "conv-a",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "be816d4e782909a0",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  },
  {
    "span_id": "af0ce8cee982ae6b",
    "trace_id": "c26fdcc9af1545b8acc0ff03c0d942a2",
    "parent_span_id": "be816d4e782909a0",
    "op": "gen_ai.responses",
    "description": "responses gpt-5-nano",
    "start_timestamp": 1779175915.739256,
    "timestamp": 1779175919.443459,
    "data": {
      "sentry.op": "gen_ai.responses",
      "sentry.origin": "auto.ai.openai",
      "thread.id": "140250618755968",
      "thread.name": "MainThread",
      "gen_ai.system": "openai",
      "gen_ai.response.streaming": false,
      "gen_ai.request.model": "gpt-5-nano",
      "gen_ai.system_instructions": "[{\"type\": \"text\", \"content\": \"You are a math tutor.\"}]",
      "gen_ai.request.messages": "[{\"role\": \"user\", \"content\": \"What is 2 + 2?\"}, {\"role\": \"assistant\", \"content\": \"2 + 2 equals 4.\"}, {\"role\": \"user\", \"content\": \"What about 3 + 3?\"}]",
      "gen_ai.operation.name": "responses",
      "gen_ai.response.model": "gpt-5-nano-2025-08-07",
      "gen_ai.response.text": "3 + 3 = 6.\n\nIf you’d like, I can show a quick explanation or give you more practice problems.",
      "gen_ai.usage.input_tokens": 50,
      "gen_ai.usage.output_tokens": 462,
      "gen_ai.usage.output_tokens.reasoning": 384,
      "gen_ai.usage.total_tokens": 512,
      "gen_ai.conversation.id": "conv-b",
      "sentry.release": "d7e581bcf00d5d60f231a96dfa8218479b7618af",
      "sentry.environment": "production",
      "sentry.segment.name": "Conversation ID LLM Test",
      "sentry.segment.id": "be816d4e782909a0",
      "sentry.sdk.name": "sentry.python",
      "sentry.sdk.version": "2.60.0"
    },
    "status": "ok",
    "is_segment": false
  }
]

Warnings (10 tests)

Passed tests with warning-level check failures.

⚠︎browser/google-genai :: Basic Embeddings Test (blocking)⚠︎ 1
checkResponseModel
88b9271bgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
⚠︎browser/langchain :: Basic Embeddings Test (blocking)⚠︎ 1
checkResponseModel
903cc90dgen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
⚠︎cloudflare/google-genai :: Basic Embeddings Test (blocking)⚠︎ 1
checkResponseModel
8c185af4gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
⚠︎cloudflare/langchain :: Basic Embeddings Test (blocking)⚠︎ 1
checkResponseModel
a6d8ade6gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
⚠︎nextjs/google-genai :: Basic Embeddings Test (blocking)⚠︎ 1
checkResponseModel
dd902aaegen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
⚠︎nextjs/langchain :: Basic Embeddings Test (blocking)⚠︎ 1
checkResponseModel
f0c61af2gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
⚠︎node/google-genai :: Basic Embeddings Test (blocking)⚠︎ 1
checkResponseModel
0f7e36b5gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
⚠︎node/langchain :: Basic Embeddings Test (blocking)⚠︎ 1
checkResponseModel
6cd06200gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
⚠︎python/google-genai :: Basic Embeddings Test (sync, blocking)⚠︎ 1
checkResponseModel
ae420041gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)
⚠︎python/google-genai :: Basic Embeddings Test (async, blocking)⚠︎ 1
checkResponseModel
b997cde0gen_ai.response.modelgen_ai.response.model is missing (optional but recommended)

Attribute Audit (233 tests)

Audit of gen_ai.* attributes found on captured spans.

⚠︎cloudflare/vercel :: Basic Agent Test (streaming, function, openai)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎cloudflare/vercel :: Basic Agent Test (streaming, function, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎cloudflare/vercel :: Basic Agent Test (streaming, class, openai)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.function_id(2 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
⚠︎cloudflare/vercel :: Basic Agent Test (streaming, class, anthropic)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.function_id(2 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
⚠︎cloudflare/vercel :: Basic Agent Test (blocking, function, openai)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎cloudflare/vercel :: Basic Agent Test (blocking, function, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎cloudflare/vercel :: Basic Agent Test (blocking, class, openai)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.function_id(2 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
⚠︎cloudflare/vercel :: Basic Agent Test (blocking, class, anthropic)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.function_id(2 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
⚠︎cloudflare/vercel :: Tool Call Agent Test (streaming, function, openai)4 deprecated, 1 unknown
Deprecated Attributes
gen_ai.request.available_tools(3 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(2 spans) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(2 spans) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.tool.call.id(2 spans)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎cloudflare/vercel :: Tool Call Agent Test (streaming, function, anthropic)4 deprecated, 1 unknown
Deprecated Attributes
gen_ai.request.available_tools(3 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(2 spans) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(2 spans) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.tool.call.id(2 spans)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎cloudflare/vercel :: Tool Call Agent Test (streaming, class, openai)4 deprecated, 2 unknown
Deprecated Attributes
gen_ai.request.available_tools(3 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(2 spans) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(2 spans) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.function_id(4 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
gen_ai.tool.call.id(2 spans)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎cloudflare/vercel :: Tool Call Agent Test (streaming, class, anthropic)4 deprecated, 2 unknown
Deprecated Attributes
gen_ai.request.available_tools(3 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(2 spans) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(2 spans) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.function_id(4 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
gen_ai.tool.call.id(2 spans)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎cloudflare/vercel :: Tool Call Agent Test (blocking, function, openai)4 deprecated, 1 unknown
Deprecated Attributes
gen_ai.request.available_tools(3 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(2 spans) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(2 spans) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.tool.call.id(2 spans)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎cloudflare/vercel :: Tool Call Agent Test (blocking, function, anthropic)4 deprecated, 1 unknown
Deprecated Attributes
gen_ai.request.available_tools(3 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(2 spans) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(2 spans) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.tool.call.id(2 spans)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎cloudflare/vercel :: Tool Call Agent Test (blocking, class, openai)4 deprecated, 2 unknown
Deprecated Attributes
gen_ai.request.available_tools(3 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(2 spans) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(2 spans) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.function_id(4 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
gen_ai.tool.call.id(2 spans)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎cloudflare/vercel :: Tool Call Agent Test (blocking, class, anthropic)4 deprecated, 2 unknown
Deprecated Attributes
gen_ai.request.available_tools(3 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(2 spans) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(2 spans) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.function_id(4 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
gen_ai.tool.call.id(2 spans)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎cloudflare/vercel :: Tool Error Agent Test (streaming, function, openai)3 deprecated, 1 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
Unknown Attributes
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎cloudflare/vercel :: Tool Error Agent Test (streaming, function, anthropic)3 deprecated, 1 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
Unknown Attributes
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎cloudflare/vercel :: Tool Error Agent Test (streaming, class, openai)3 deprecated, 2 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
Unknown Attributes
gen_ai.function_id(3 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎cloudflare/vercel :: Tool Error Agent Test (streaming, class, anthropic)3 deprecated, 2 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
Unknown Attributes
gen_ai.function_id(3 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎cloudflare/vercel :: Tool Error Agent Test (blocking, function, openai)3 deprecated, 1 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
Unknown Attributes
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎cloudflare/vercel :: Tool Error Agent Test (blocking, function, anthropic)3 deprecated, 1 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
Unknown Attributes
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎cloudflare/vercel :: Tool Error Agent Test (blocking, class, openai)3 deprecated, 2 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
Unknown Attributes
gen_ai.function_id(3 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎cloudflare/vercel :: Tool Error Agent Test (blocking, class, anthropic)3 deprecated, 2 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
Unknown Attributes
gen_ai.function_id(3 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎cloudflare/vercel :: Vision Agent Test (streaming, function, openai)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎cloudflare/vercel :: Vision Agent Test (streaming, function, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎cloudflare/vercel :: Vision Agent Test (streaming, class, openai)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.function_id(2 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
⚠︎cloudflare/vercel :: Vision Agent Test (streaming, class, anthropic)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.function_id(2 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
⚠︎cloudflare/vercel :: Vision Agent Test (blocking, function, openai)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎cloudflare/vercel :: Vision Agent Test (blocking, function, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎cloudflare/vercel :: Vision Agent Test (blocking, class, openai)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.function_id(2 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
⚠︎cloudflare/vercel :: Vision Agent Test (blocking, class, anthropic)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.function_id(2 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
⚠︎cloudflare/vercel :: Long Input Agent Test (streaming, function, openai)4 deprecated, 1 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(1 span) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎cloudflare/vercel :: Long Input Agent Test (streaming, function, anthropic)4 deprecated, 1 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(1 span) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎cloudflare/vercel :: Long Input Agent Test (streaming, class, openai)4 deprecated, 2 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(1 span) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.function_id(3 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎cloudflare/vercel :: Long Input Agent Test (streaming, class, anthropic)4 deprecated, 2 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(1 span) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.function_id(3 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎cloudflare/vercel :: Long Input Agent Test (blocking, function, openai)4 deprecated, 1 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(1 span) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎cloudflare/vercel :: Long Input Agent Test (blocking, function, anthropic)4 deprecated, 1 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(1 span) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎cloudflare/vercel :: Long Input Agent Test (blocking, class, openai)4 deprecated, 2 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(1 span) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.function_id(3 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎cloudflare/vercel :: Long Input Agent Test (blocking, class, anthropic)4 deprecated, 2 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(1 span) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.function_id(3 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎cloudflare/vercel :: Conversation ID Agent Test (streaming, function, openai)1 deprecated
Deprecated Attributes
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎cloudflare/vercel :: Conversation ID Agent Test (streaming, function, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎cloudflare/vercel :: Conversation ID Agent Test (streaming, class, openai)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.function_id(8 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
⚠︎cloudflare/vercel :: Conversation ID Agent Test (streaming, class, anthropic)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.function_id(8 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
⚠︎cloudflare/vercel :: Conversation ID Agent Test (blocking, function, openai)1 deprecated
Deprecated Attributes
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎cloudflare/vercel :: Conversation ID Agent Test (blocking, function, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎cloudflare/vercel :: Conversation ID Agent Test (blocking, class, openai)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.function_id(8 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
⚠︎cloudflare/vercel :: Conversation ID Agent Test (blocking, class, anthropic)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.function_id(8 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
⚠︎nextjs/vercel :: Basic Agent Test (streaming, function, openai)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎nextjs/vercel :: Basic Agent Test (streaming, function, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎nextjs/vercel :: Basic Agent Test (streaming, class, openai)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.function_id(2 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
⚠︎nextjs/vercel :: Basic Agent Test (streaming, class, anthropic)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.function_id(2 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
⚠︎nextjs/vercel :: Basic Agent Test (blocking, function, openai)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎nextjs/vercel :: Basic Agent Test (blocking, function, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎nextjs/vercel :: Basic Agent Test (blocking, class, openai)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.function_id(2 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
⚠︎nextjs/vercel :: Basic Agent Test (blocking, class, anthropic)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.function_id(2 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
⚠︎nextjs/vercel :: Tool Call Agent Test (streaming, function, openai)4 deprecated, 1 unknown
Deprecated Attributes
gen_ai.request.available_tools(3 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(2 spans) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(2 spans) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.tool.call.id(2 spans)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎nextjs/vercel :: Tool Call Agent Test (streaming, function, anthropic)4 deprecated, 1 unknown
Deprecated Attributes
gen_ai.request.available_tools(3 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(2 spans) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(2 spans) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.tool.call.id(2 spans)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎nextjs/vercel :: Tool Call Agent Test (streaming, class, openai)4 deprecated, 2 unknown
Deprecated Attributes
gen_ai.request.available_tools(3 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(2 spans) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(2 spans) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.function_id(4 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
gen_ai.tool.call.id(2 spans)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎nextjs/vercel :: Tool Call Agent Test (streaming, class, anthropic)4 deprecated, 2 unknown
Deprecated Attributes
gen_ai.request.available_tools(3 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(2 spans) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(2 spans) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.function_id(4 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
gen_ai.tool.call.id(2 spans)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎nextjs/vercel :: Tool Call Agent Test (blocking, function, openai)4 deprecated, 1 unknown
Deprecated Attributes
gen_ai.request.available_tools(3 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(2 spans) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(2 spans) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.tool.call.id(2 spans)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎nextjs/vercel :: Tool Call Agent Test (blocking, function, anthropic)4 deprecated, 1 unknown
Deprecated Attributes
gen_ai.request.available_tools(3 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(2 spans) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(2 spans) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.tool.call.id(2 spans)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎nextjs/vercel :: Tool Call Agent Test (blocking, class, openai)4 deprecated, 2 unknown
Deprecated Attributes
gen_ai.request.available_tools(3 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(2 spans) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(2 spans) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.function_id(4 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
gen_ai.tool.call.id(2 spans)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎nextjs/vercel :: Tool Call Agent Test (blocking, class, anthropic)4 deprecated, 2 unknown
Deprecated Attributes
gen_ai.request.available_tools(3 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(2 spans) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(2 spans) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.function_id(4 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
gen_ai.tool.call.id(2 spans)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎nextjs/vercel :: Tool Error Agent Test (streaming, function, openai)3 deprecated, 1 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
Unknown Attributes
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎nextjs/vercel :: Tool Error Agent Test (streaming, function, anthropic)3 deprecated, 1 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
Unknown Attributes
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎nextjs/vercel :: Tool Error Agent Test (streaming, class, openai)3 deprecated, 2 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
Unknown Attributes
gen_ai.function_id(3 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎nextjs/vercel :: Tool Error Agent Test (streaming, class, anthropic)3 deprecated, 2 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
Unknown Attributes
gen_ai.function_id(3 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎nextjs/vercel :: Tool Error Agent Test (blocking, function, openai)3 deprecated, 1 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
Unknown Attributes
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎nextjs/vercel :: Tool Error Agent Test (blocking, function, anthropic)3 deprecated, 1 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
Unknown Attributes
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎nextjs/vercel :: Tool Error Agent Test (blocking, class, openai)3 deprecated, 2 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
Unknown Attributes
gen_ai.function_id(3 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎nextjs/vercel :: Tool Error Agent Test (blocking, class, anthropic)3 deprecated, 2 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
Unknown Attributes
gen_ai.function_id(3 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎nextjs/vercel :: Vision Agent Test (streaming, function, openai)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎nextjs/vercel :: Vision Agent Test (streaming, function, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎nextjs/vercel :: Vision Agent Test (streaming, class, openai)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.function_id(2 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
⚠︎nextjs/vercel :: Vision Agent Test (streaming, class, anthropic)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.function_id(2 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
⚠︎nextjs/vercel :: Vision Agent Test (blocking, function, openai)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎nextjs/vercel :: Vision Agent Test (blocking, function, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎nextjs/vercel :: Vision Agent Test (blocking, class, openai)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.function_id(2 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
⚠︎nextjs/vercel :: Vision Agent Test (blocking, class, anthropic)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.function_id(2 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
⚠︎nextjs/vercel :: Long Input Agent Test (streaming, function, openai)4 deprecated, 1 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(1 span) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎nextjs/vercel :: Long Input Agent Test (streaming, function, anthropic)4 deprecated, 1 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(1 span) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎nextjs/vercel :: Long Input Agent Test (streaming, class, openai)4 deprecated, 2 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(1 span) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.function_id(3 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎nextjs/vercel :: Long Input Agent Test (streaming, class, anthropic)4 deprecated, 2 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(1 span) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.function_id(3 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎nextjs/vercel :: Long Input Agent Test (blocking, function, openai)4 deprecated, 1 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(1 span) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎nextjs/vercel :: Long Input Agent Test (blocking, function, anthropic)4 deprecated, 1 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(1 span) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎nextjs/vercel :: Long Input Agent Test (blocking, class, openai)4 deprecated, 2 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(1 span) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.function_id(3 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎nextjs/vercel :: Long Input Agent Test (blocking, class, anthropic)4 deprecated, 2 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(1 span) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.function_id(3 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎nextjs/vercel :: Conversation ID Agent Test (streaming, function, openai)1 deprecated
Deprecated Attributes
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎nextjs/vercel :: Conversation ID Agent Test (streaming, function, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎nextjs/vercel :: Conversation ID Agent Test (streaming, class, openai)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.function_id(8 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
⚠︎nextjs/vercel :: Conversation ID Agent Test (streaming, class, anthropic)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.function_id(8 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
⚠︎nextjs/vercel :: Conversation ID Agent Test (blocking, function, openai)1 deprecated
Deprecated Attributes
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎nextjs/vercel :: Conversation ID Agent Test (blocking, function, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎nextjs/vercel :: Conversation ID Agent Test (blocking, class, openai)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.function_id(8 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
⚠︎nextjs/vercel :: Conversation ID Agent Test (blocking, class, anthropic)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.function_id(8 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
⚠︎node/vercel :: Basic Agent Test (streaming, function, openai)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎node/vercel :: Basic Agent Test (streaming, function, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎node/vercel :: Basic Agent Test (streaming, class, openai)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.function_id(2 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
⚠︎node/vercel :: Basic Agent Test (streaming, class, anthropic)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.function_id(2 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
⚠︎node/vercel :: Basic Agent Test (blocking, function, openai)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎node/vercel :: Basic Agent Test (blocking, function, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎node/vercel :: Basic Agent Test (blocking, class, openai)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.function_id(2 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
⚠︎node/vercel :: Basic Agent Test (blocking, class, anthropic)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.function_id(2 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
⚠︎node/vercel :: Tool Call Agent Test (streaming, function, openai)4 deprecated, 1 unknown
Deprecated Attributes
gen_ai.request.available_tools(3 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(2 spans) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(2 spans) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.tool.call.id(2 spans)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎node/vercel :: Tool Call Agent Test (streaming, function, anthropic)4 deprecated, 1 unknown
Deprecated Attributes
gen_ai.request.available_tools(3 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(2 spans) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(2 spans) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.tool.call.id(2 spans)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎node/vercel :: Tool Call Agent Test (streaming, class, openai)4 deprecated, 2 unknown
Deprecated Attributes
gen_ai.request.available_tools(3 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(2 spans) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(2 spans) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.function_id(4 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
gen_ai.tool.call.id(2 spans)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎node/vercel :: Tool Call Agent Test (streaming, class, anthropic)4 deprecated, 2 unknown
Deprecated Attributes
gen_ai.request.available_tools(3 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(2 spans) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(2 spans) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.function_id(4 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
gen_ai.tool.call.id(2 spans)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎node/vercel :: Tool Call Agent Test (blocking, function, openai)4 deprecated, 1 unknown
Deprecated Attributes
gen_ai.request.available_tools(3 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(2 spans) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(2 spans) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.tool.call.id(2 spans)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎node/vercel :: Tool Call Agent Test (blocking, function, anthropic)4 deprecated, 1 unknown
Deprecated Attributes
gen_ai.request.available_tools(3 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(2 spans) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(2 spans) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.tool.call.id(2 spans)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎node/vercel :: Tool Call Agent Test (blocking, class, openai)4 deprecated, 2 unknown
Deprecated Attributes
gen_ai.request.available_tools(3 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(2 spans) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(2 spans) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.function_id(4 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
gen_ai.tool.call.id(2 spans)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎node/vercel :: Tool Call Agent Test (blocking, class, anthropic)4 deprecated, 2 unknown
Deprecated Attributes
gen_ai.request.available_tools(3 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(3 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(2 spans) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(2 spans) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.function_id(4 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
gen_ai.tool.call.id(2 spans)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎node/vercel :: Tool Error Agent Test (streaming, function, openai)3 deprecated, 1 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
Unknown Attributes
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎node/vercel :: Tool Error Agent Test (streaming, function, anthropic)3 deprecated, 1 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
Unknown Attributes
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎node/vercel :: Tool Error Agent Test (streaming, class, openai)3 deprecated, 2 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
Unknown Attributes
gen_ai.function_id(3 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎node/vercel :: Tool Error Agent Test (streaming, class, anthropic)3 deprecated, 2 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
Unknown Attributes
gen_ai.function_id(3 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎node/vercel :: Tool Error Agent Test (blocking, function, openai)3 deprecated, 1 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
Unknown Attributes
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎node/vercel :: Tool Error Agent Test (blocking, function, anthropic)3 deprecated, 1 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
Unknown Attributes
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎node/vercel :: Tool Error Agent Test (blocking, class, openai)3 deprecated, 2 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
Unknown Attributes
gen_ai.function_id(3 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎node/vercel :: Tool Error Agent Test (blocking, class, anthropic)3 deprecated, 2 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
Unknown Attributes
gen_ai.function_id(3 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎node/vercel :: Vision Agent Test (streaming, function, openai)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎node/vercel :: Vision Agent Test (streaming, function, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎node/vercel :: Vision Agent Test (streaming, class, openai)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.function_id(2 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
⚠︎node/vercel :: Vision Agent Test (streaming, class, anthropic)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.function_id(2 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
⚠︎node/vercel :: Vision Agent Test (blocking, function, openai)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎node/vercel :: Vision Agent Test (blocking, function, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎node/vercel :: Vision Agent Test (blocking, class, openai)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.function_id(2 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
⚠︎node/vercel :: Vision Agent Test (blocking, class, anthropic)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.function_id(2 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
⚠︎node/vercel :: Long Input Agent Test (streaming, function, openai)4 deprecated, 1 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(1 span) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎node/vercel :: Long Input Agent Test (streaming, function, anthropic)4 deprecated, 1 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(1 span) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎node/vercel :: Long Input Agent Test (streaming, class, openai)4 deprecated, 2 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(1 span) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.function_id(3 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎node/vercel :: Long Input Agent Test (streaming, class, anthropic)4 deprecated, 2 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(1 span) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.function_id(3 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎node/vercel :: Long Input Agent Test (blocking, function, openai)4 deprecated, 1 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(1 span) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎node/vercel :: Long Input Agent Test (blocking, function, anthropic)4 deprecated, 1 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(1 span) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎node/vercel :: Long Input Agent Test (blocking, class, openai)4 deprecated, 2 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(1 span) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.function_id(3 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎node/vercel :: Long Input Agent Test (blocking, class, anthropic)4 deprecated, 2 unknown
Deprecated Attributes
gen_ai.request.available_tools(2 spans) gen_ai.tool.definitions
Attribute "gen_ai.request.available_tools" is deprecated. Use "gen_ai.tool.definitions" instead.
gen_ai.system(2 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
gen_ai.tool.input(1 span) gen_ai.tool.call.arguments
Attribute "gen_ai.tool.input" is deprecated. Use "gen_ai.tool.call.arguments" instead.
gen_ai.tool.output(1 span) gen_ai.tool.call.result
Attribute "gen_ai.tool.output" is deprecated. Use "gen_ai.tool.call.result" instead.
Unknown Attributes
gen_ai.function_id(3 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
gen_ai.tool.call.id(1 span)
Attribute "gen_ai.tool.call.id" is not defined in sentry-conventions
⚠︎node/vercel :: Conversation ID Agent Test (streaming, function, openai)1 deprecated
Deprecated Attributes
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎node/vercel :: Conversation ID Agent Test (streaming, function, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎node/vercel :: Conversation ID Agent Test (streaming, class, openai)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.function_id(8 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
⚠︎node/vercel :: Conversation ID Agent Test (streaming, class, anthropic)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.function_id(8 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
⚠︎node/vercel :: Conversation ID Agent Test (blocking, function, openai)1 deprecated
Deprecated Attributes
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎node/vercel :: Conversation ID Agent Test (blocking, function, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎node/vercel :: Conversation ID Agent Test (blocking, class, openai)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.function_id(8 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
⚠︎node/vercel :: Conversation ID Agent Test (blocking, class, anthropic)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(4 spans) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.function_id(8 spans)
Attribute "gen_ai.function_id" is not defined in sentry-conventions
⚠︎browser/google-genai :: Basic Embeddings Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎browser/langchain :: Basic Embeddings Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎browser/openai :: Basic Embeddings Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎cloudflare/google-genai :: Basic Embeddings Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎cloudflare/langchain :: Basic Embeddings Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎cloudflare/openai :: Basic Embeddings Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎nextjs/google-genai :: Basic Embeddings Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎nextjs/langchain :: Basic Embeddings Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎nextjs/openai :: Basic Embeddings Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎node/google-genai :: Basic Embeddings Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎node/langchain :: Basic Embeddings Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎node/openai :: Basic Embeddings Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎python/google-genai :: Basic Embeddings Test (sync, blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎python/google-genai :: Basic Embeddings Test (async, blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎python/litellm :: Basic Embeddings Test (sync, blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎python/openai :: Basic Embeddings Test (sync, blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎python/openai :: Basic Embeddings Test (async, blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎browser/anthropic :: Basic Error LLM Test (streaming)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎browser/anthropic :: Basic Error LLM Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎browser/google-genai :: Basic Error LLM Test (streaming)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎browser/google-genai :: Basic Error LLM Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎browser/langchain :: Basic Error LLM Test (streaming, openai)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎browser/langchain :: Basic Error LLM Test (streaming, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎browser/langchain :: Basic Error LLM Test (blocking, openai)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎browser/langchain :: Basic Error LLM Test (blocking, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎browser/openai :: Basic Error LLM Test (streaming, chat)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(1 span)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
⚠︎browser/openai :: Basic Error LLM Test (streaming, responses)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(1 span)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
⚠︎browser/openai :: Basic Error LLM Test (blocking, chat)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎browser/openai :: Basic Error LLM Test (blocking, responses)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎cloudflare/anthropic :: Basic Error LLM Test (streaming)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎cloudflare/anthropic :: Basic Error LLM Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎cloudflare/google-genai :: Basic Error LLM Test (streaming)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎cloudflare/google-genai :: Basic Error LLM Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎cloudflare/langchain :: Basic Error LLM Test (streaming, openai)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎cloudflare/langchain :: Basic Error LLM Test (streaming, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎cloudflare/langchain :: Basic Error LLM Test (blocking, openai)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎cloudflare/langchain :: Basic Error LLM Test (blocking, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎cloudflare/openai :: Basic Error LLM Test (streaming, chat)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(1 span)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
⚠︎cloudflare/openai :: Basic Error LLM Test (streaming, responses)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(1 span)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
⚠︎cloudflare/openai :: Basic Error LLM Test (blocking, chat)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎cloudflare/openai :: Basic Error LLM Test (blocking, responses)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎nextjs/anthropic :: Basic Error LLM Test (streaming)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎nextjs/anthropic :: Basic Error LLM Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎nextjs/google-genai :: Basic Error LLM Test (streaming)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎nextjs/google-genai :: Basic Error LLM Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎nextjs/langchain :: Basic Error LLM Test (streaming, openai)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎nextjs/langchain :: Basic Error LLM Test (streaming, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎nextjs/langchain :: Basic Error LLM Test (blocking, openai)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎nextjs/langchain :: Basic Error LLM Test (blocking, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎nextjs/openai :: Basic Error LLM Test (streaming, chat)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(1 span)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
⚠︎nextjs/openai :: Basic Error LLM Test (streaming, responses)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(1 span)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
⚠︎nextjs/openai :: Basic Error LLM Test (blocking, chat)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎nextjs/openai :: Basic Error LLM Test (blocking, responses)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎node/anthropic :: Basic Error LLM Test (streaming)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎node/anthropic :: Basic Error LLM Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎node/google-genai :: Basic Error LLM Test (streaming)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎node/google-genai :: Basic Error LLM Test (blocking)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎node/langchain :: Basic Error LLM Test (streaming, openai)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎node/langchain :: Basic Error LLM Test (streaming, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎node/langchain :: Basic Error LLM Test (blocking, openai)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎node/langchain :: Basic Error LLM Test (blocking, anthropic)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎node/openai :: Basic Error LLM Test (streaming, chat)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(1 span)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
⚠︎node/openai :: Basic Error LLM Test (streaming, responses)1 deprecated, 1 unknown
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
Unknown Attributes
gen_ai.request.stream(1 span)
Attribute "gen_ai.request.stream" is not defined in sentry-conventions
⚠︎node/openai :: Basic Error LLM Test (blocking, chat)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎node/openai :: Basic Error LLM Test (blocking, responses)1 deprecated
Deprecated Attributes
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎python/anthropic :: Basic Error LLM Test (sync, streaming)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎python/anthropic :: Basic Error LLM Test (sync, blocking)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎python/anthropic :: Basic Error LLM Test (async, streaming)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎python/anthropic :: Basic Error LLM Test (async, blocking)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎python/google-genai :: Basic Error LLM Test (sync, streaming)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎python/google-genai :: Basic Error LLM Test (sync, blocking)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎python/google-genai :: Basic Error LLM Test (async, streaming)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎python/google-genai :: Basic Error LLM Test (async, blocking)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎python/langchain :: Basic Error LLM Test (sync, streaming, openai)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎python/langchain :: Basic Error LLM Test (sync, streaming, anthropic)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎python/langchain :: Basic Error LLM Test (sync, blocking, openai)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎python/langchain :: Basic Error LLM Test (sync, blocking, anthropic)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎python/langchain :: Basic Error LLM Test (async, streaming, openai)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎python/langchain :: Basic Error LLM Test (async, streaming, anthropic)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎python/langchain :: Basic Error LLM Test (async, blocking, openai)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎python/langchain :: Basic Error LLM Test (async, blocking, anthropic)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎python/openai :: Basic Error LLM Test (sync, streaming, chat)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎python/openai :: Basic Error LLM Test (sync, streaming, responses)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎python/openai :: Basic Error LLM Test (sync, blocking, chat)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎python/openai :: Basic Error LLM Test (sync, blocking, responses)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎python/openai :: Basic Error LLM Test (async, streaming, chat)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎python/openai :: Basic Error LLM Test (async, streaming, responses)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎python/openai :: Basic Error LLM Test (async, blocking, chat)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.
⚠︎python/openai :: Basic Error LLM Test (async, blocking, responses)2 deprecated
Deprecated Attributes
gen_ai.request.messages(1 span) gen_ai.input.messages
Attribute "gen_ai.request.messages" is deprecated. Use "gen_ai.input.messages" instead.
gen_ai.system(1 span) gen_ai.provider.name
Attribute "gen_ai.system" is deprecated. Use "gen_ai.provider.name" instead.